Skip to content

nestat ss command logs analysis and drawing of graphs.

Notifications You must be signed in to change notification settings

julienlau/netstat2graph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

netstat2graph tool

Draw graphs of all connections of a system of hosts based on log files obtained by running ss -natpu -4 on each host. For example give a list of hosts, the log could be gathered with the following command:

for dest in ulysse danae-bis atlas1 ulysse-bis; do ssh root@$dest "ss -natpu -4 " > logs/netstat-$dest.log ; done

NB: You may need root credentials to run netstat or ss.

It writes a csv gathering the whole platform connections. It writes an image + a dot file for each host processed. Nodes in diamond shapes represent LISTEN sockets.

Examples included in directory examples global-network atlas1-dot atlas1-network ulysse-network ulysse-bis-network danae-bis-network

About

nestat ss command logs analysis and drawing of graphs.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages