To see all the process run by a perticular user
#ps -u username u
Example
#ps -u rajesh u
or
To see all the files opened by user
#lsof grep username
Example
#lsof grep rajesh
To see memory used by a perticular user
#ps -u username u awk '{print $2}'
Example
ps -u krishna u awk '{print $2}'
Now you will get all the PID's run by user Krishna. So try to get memory usage by using pmap command.
How To See Total Processes Are Running, Files Opened, Memory Used By An User?
5/05/2010 09:12:00 PM Posted by Surendra Kumar AnneLabels: How-To's, Process-Mgmt
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment