![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Identifying and grouping OS processes and APP processes | wilsonee | SUN Solaris | 2 | 1 Week Ago 06:26 AM |
| What is meant by the words under usernames? | joeyg | Post Here to Contact Site Administrators and Moderators | 2 | 06-06-2008 08:55 AM |
| Monitoring Processes - Killing hung processes | ukndoit | UNIX for Advanced & Expert Users | 4 | 01-17-2008 12:30 AM |
| extracting usernames with at least 4 characters | c19h28O2 | Shell Programming and Scripting | 4 | 05-24-2006 01:02 AM |
| max charachters for usernames | m.szylkarski | UNIX for Dummies Questions & Answers | 1 | 02-01-2002 07:50 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Display Modes |
|
|||
|
Usernames and processes most used
I need a command that returns the usernames that have ran the 10 processes that have taken the most time to execute on a machine.
I also need a command that returns only those directories that have read/execute permissions for all the users. |
| Forum Sponsor | ||
|
|
|
||||
|
You pretty much got it.
Code:
ps -ef Code:
ps aux And in the find command, use the below syntax to provide the perm value. The octal representation is much easier to use. Also check the man page to understand the usage of the '-' sign in front of the 0005. Code:
find . -type d -perm -0005 -exec ls -ld {} \;
|