In Linux, Linux Hosting administrators can have a number of system resource commands to use for various purposes. These commands are pretty useful in a number of situations. Below listed are certain resource commands used in Linux.
‘ps’:
- Used to view the processes that you are running.
Syntax: ps [options]
$ ps –u username : Displays the process of the specified user
$ps –aux : Displays all processes including user and system process
$ps –aux |grep “user1” : Displays all the process of user1
‘top’ :
- To view the CPU usage of all processes.
Syntax: $ top

