Home » Linux Listing different information

Linux Listing different information

by Online Tutorials Library

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

Security1

Look at the above snapshot, it displays process ID and user name as mentioned in the argument.

Example:

ps -eo pid,user,ppid,args

Security2

Look at the above snapshot, it displays process ID, user name, parent PID and args.

You may also like