//View Tip #528
» Get an ordered list of subdirectory sizes
» List 10 biggest files in a directory
» Randomize lines in a file
» Sort the lines of a file by length
Similar Tips
» Count files by type» Get an ordered list of subdirectory sizes
» List 10 biggest files in a directory
» Randomize lines in a file
» Sort the lines of a file by length
Latest tips by RSS
Click here to subscribe
Follow Shell-Fu on Twitter
Click here to follow
Follow Shell-Fu on identi.ca
Click here to follow
Display the top ten running processes - sorted by memory usage
ps aux | sort -nk +4 | tail
ps returns all running processes which are then sorted by the 4th field in numerical order and the top 10 are sent to STDOUT.
ps aux | sort -nk +4 | tail
ps returns all running processes which are then sorted by the 4th field in numerical order and the top 10 are sent to STDOUT.
Comments
Add your comment
Comments are currently disabled
No Comments

