which user is using the most resources?

Hi all
when the command TOP issued the result will show something like the following
Code:
  PID USER     PRI  NI  SIZE  RSS SHARE STAT %CPU %MEM   TIME COMMAND
31059 nobody    11   0  7164 6948  4264 S     75.0  9.6   0:00 httpd
30710 mysql     10   0 37436  32M 15580 S    23.3  3.3   0:00 mysqld
as you can see, the user is nobody for apache & mysql for mysql server.

is there anyway to detect which user is consuming the most resources?

 

 

 

 

Top