Link to home
Start Free TrialLog in
Avatar of ortize
ortize

asked on

Total number of Processes

How can I find the total number of processes a user has on a system? Current system is running Sun Solaris v2.6.

Thanks.
ASKER CERTIFIED SOLUTION
Avatar of tfewster
tfewster
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi ortize - I should also have said that that command may not give you the whole picture;
- If the user is logged in via telnet, there will be an extra telnetd process, owned by root, that doesn't show up in the list;
- If the user has used "su -" to become another user, processes for the "new" user won't appear in the list.

You may also like to try using "top" or "ps -e -o user,pid,pcpu,vsz,time,comm |sort -r +2" to see which processes are using most CPU time

Regards, Tim