top - display Linux processes

To list all running linux processes
$ top

To show processes by specific user
$ top -u <username>

To display the running process in color
$ top 
press z

To display the absolute path of the running process
$ top 
press c

To set desired interval time to refresh top command
$ top 
press d
set from default time 3.0 to any value in seconds
ex. Change delay from 3.0 to 5.0

To kill a running process without closing the top window
$ top 
press k
find the process to be killed and enter the pid value and enter

To display all running processes by CPU utilization
$ top 
press SHIFT+ P

To change the priority of the process
$ top
press r
give the pid of process where we need to change the priority
then give priority value

To list the load information of your CPU cores
$ top
press 1

To display the list of idle/sleeping processes
$ top
press i

To print specific number of refresh outputs of top command
$ top -n <value>
$ top -n 5
$ top -n 3
 


regards,
T.Dhanasekar