Reputation: 95
Can I find all possible processes for a Linux system (Ubuntu)? Not just currently running ones but all that would be there if all native processes were up.
Upvotes: 0
Views: 52
Reputation: 1456
System processes? In Ubuntu 15.04+, all the services that run under systemd can be found with
systemctl list-units -t service
That says nothing of services users start or services started by other services, though.
Upvotes: 0
Reputation: 1021
To check all available process that can be 'live' you can find all executables in system:
sudo find / -executable -type f
Notice that this will also report libraries. This will check along all filesystems mounted at this moment
Upvotes: 1