Popular Resource Command Variants in Linux

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

Rate this post:


1 Star2 Stars3 Stars4 Stars5 Stars (1 votes, average: 5 out of 5)
Loading ... Loading ...