- top command examples
top command displays the top processes in the system ( by default sorted
by cpu usage ). To sort top output by any column, Press O (upper-case O) ,
which will display all the possible columns that you can sort by as shown
below.
Current Sort Field:
P for window 1:Def
Select sort field via field letter, type any other
key to return
a: PID = Process Id v: nDRT = Dirty Pages count
d: UID = User Id y: WCHAN = Sleeping in Function
e:
USER = User Name z: Flags = Task Flags
........
To displays only the processes that belong to a particular user use -u
option. The following will show only the top processes that belongs to oracle
user.
$ top -u oracle
0 comments:
Post a Comment