Netstat

netstat -anp | grep :80 | awk '{print $5}'| cut -d : -f 1 | sort | uniq -c | sort -n
 
netstat -anp |grep 'tcp\|udp' | awk '{print $5}' | cut -d: -f1 | sort | uniq -c| sort -n
 
netstat -anp |grep 'FIN_WAIT2' | awk '{print $5}' | cut -d: -f1 | sort | uniq -c| sort -n
 
netstat -an | grep :80 | awk '{ print $5 }' | awk -F: '{ print $1 }' | sort | uniq -c | sort -n

Discussion

Entrer votre commentaire
Si vous ne pouvez déchiffrer le code, téléchargez ce fichier .wav pour l'entendre.
 
 
astuces.txt · Dernière modification: 2009/03/09 13:14 par admin
 
Sauf mention contraire, le contenu de ce wiki est placé sous la licence suivante:CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki