77
Listing different information
If you want to list different types of information to check who is logged in to your system, use eo option. Where e show all the processes and o controls the output.
Syntax:
Example:
ps -eo pid,user
Look at the above snapshot, it displays process ID and user name as mentioned in the argument.
Example:
ps -eo pid,user,ppid,args
Look at the above snapshot, it displays process ID, user name, parent PID and args.
Next TopicShow root running process