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 -
A list of the best
unix one-liners
Sorted by :
your rank
your rank
|
star power
star power
|
|
#
3
sudo apt-get install iftop
— Dusty
it's like 'top' but for network traffic
— Dusty
+ add comment
|
|
sudo tcpflow -i any -C -e port 80
#
4
watch all http traffic on the machine
— Dusty
sudo apt-get install tcpflow
— Dusty
+ add comment
|
|
sudo lsof -i TCP
#
5
see open TCP connections
— Dusty
add "-M -n -P" to stop all number->name conversion
— Dusty
+ add comment
Also see the best...
or