Discussion in 'Command Line' started by MustangV10, Nov 12, 2011.
I know of top -s, top -c and top -s -c. What other expressions are there for top? What do they do?
Use the command: "man top" (Without quotes), or Google: "man top" (again without quotes)
below is the list of all switches which are using with top command
l --To display or to hide load average line
t --To display or to hide task/cpu line
1 --To display or hide all other CPU's
m --to display or to hide RAM and SWAP details
s --To change the time interval for updating top results(value is in sec's)
R --To sort by PID number
u -- Press u then username to get only that user process details
P --To sort by CPU utilization
M --To sort by RAM utilization
c --To display or hide command full path
r --To renice a process, press r then the PID no then the renice value to renice a process.
k --To kill a process, press k then PID number then enter to kill a process
w --To save the modified configuration permanently.
q --To quit the top command.
h --for getting help on top command
It's also worth noticing that htop is more powerful (and good-looking) tool than regular top.
Separate names with a comma.