A list of the best unix one-liners

- ps auxH | awk '{ print $11, $12, $13 }' | sort | uniq -c | sort -nr | head - iftop - sudo tcpflow -i any -C -e port 80 - sudo lsof -i TCP - iostat -dmx 5 - sudo lsof -i TCP -M -n -P | cut -d ' ' -f 1 | uniq -c | sort -nr -

+ Create a new list
A list of the best

unix one-liners

Saving your ranking...
Sorted by : your rank your rank | star power star power
2
#
Drag me!

ps auxH | awk '{ print $11, $12, $13 }' | sort | uniq -c | sort -nr | head

Community ranking
#
2
Star Power
programs with largest process (and thread!) count Dusty
+ add comment
Add
3
#
Drag me!
Community ranking
#
3
Star Power
sudo apt-get install iftop Dusty
it's like 'top' but for network traffic Dusty
+ add comment
Add
4
#
Drag me!

sudo tcpflow -i any -C -e port 80

Community ranking
#
4
Star Power
watch all http traffic on the machine Dusty
sudo apt-get install tcpflow Dusty
+ add comment
Add
5
#
Drag me!

sudo lsof -i TCP

Community ranking
#
5
Star Power
see open TCP connections Dusty
add "-M -n -P" to stop all number->name conversion Dusty
+ add comment
Add
6
#
Drag me!

iostat -dmx 5

Community ranking
#
6
Star Power
shows how busy your disk is Dusty
+ add comment
Add
7
#
Drag me!

sudo lsof -i TCP -M -n -P | cut -d ' ' -f 1 | uniq -c | sort -nr

Community ranking
#
7
Star Power
list of processes with most open connections Dusty
+ add comment
Add
x
Did you know: Starring an item will move it up in your ranking and give it more star power?
x
Did you know: You can drag and drop items to re-order them?
x
Did you know: You can switch between your saved ranking and the community's ranking?