WoodShedd
06-12-2002, 10:45 PM
Is there a command for checking how many TCP connections and traffic?
this is for when one is logged in via SSH
this is for when one is logged in via SSH
![]() | View Full Version : Whats the command... WoodShedd 06-12-2002, 10:45 PM Is there a command for checking how many TCP connections and traffic? this is for when one is logged in via SSH allan 06-12-2002, 10:59 PM [root@ns1 allan]# netstat -ta WoodShedd 06-12-2002, 11:10 PM That works, but I was thinking more along the lines of a summary. maybe it doesn't exist FHDave 06-12-2002, 11:35 PM perharps netstat -ta | grep -c "tcp"? regards, -dave WoodShedd 06-13-2002, 12:02 AM no, that didn't do much of anything. FHDave 06-13-2002, 12:23 AM you want to know how many TCP connections, right? To know how much traffic, you can install MRTG on your server. With some tricks (search here on WHT for post made by rutrow) you can get MRTG to look for the traffic on your linux box (which basically reads the traffic from /proc/net/dev ) regards, -dave |