- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Finding out who's hogging the network
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2001 01:10 PM
05-16-2001 01:10 PM
Finding out who's hogging the network
HPUX11.0, N4000, GlancePlus C.03.05.00
Sometimes the Network Graph in gpm shows a huge peak on PktOut. I'm trying to pin point who or what is responsible for this. I've been using:
netstat |grep -v "tcp 0 0"|grep -v "dgram 0 0"|more
And it comes back with some interesting stats, if I assume the Recv-Q and Send-Q fields show packet transmission, but I'm not certain of this and therefore can't tell for sure what's going on.
Thanks in advance.
Luis
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2001 09:29 AM
05-17-2001 09:29 AM
Re: Finding out who's hogging the network
www.tcpdump.org
www.tcptrace.org
www.ethereal.org?
to get some of the Gnu utilities required to build bits and pieces try devresource.hp.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2001 10:33 AM
05-17-2001 10:33 AM
Re: Finding out who's hogging the network
Thanks for the reply. Normally the Packets out is below 600. "Huge pike" is when I see that value above 2000 and it's only for a couple of samples (every 15 sec) several times a day.
What is the meaning of those 2 fields in the netstat output (Recv-Q and Send-Q)?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2001 12:10 AM
05-21-2001 12:10 AM
Re: Finding out who's hogging the network
Another useful tool you would want to use for pinpointing the culprit is lsof. Use lsof to identify the processes associated with each established connection listed in the netstat table.
Hope this helps. Regards.
Steven Sim Kok Leong
Brainbench MVP for Unix Admin
http://www.brainbench.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2001 12:27 AM
05-21-2001 12:27 AM
Re: Finding out who's hogging the network
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2001 05:31 AM
05-21-2001 05:31 AM
Re: Finding out who's hogging the network
If you can trap the issue quickly e.g. within seconds or as it occurs, nettl / netfmt will get you the PID of the user space process that is doing the packet burst. Recall that it is likely that nettl won't be able keep up during this burst period, but you should be able to create a nice big nettl trace file. Example is below. Also trace packets at ns_ls_ip so you get all IP packets. This will not capture non-IP traffic.
Step 1: Begin LAN Tracing to a Raw Trace File:
# nettl -tn 0x30800000 -e ns_ls_ip -size 1024 -tracemax 99999 -f /tmp/raw0
Step 2: Reproduce the Network "Event" or Error Condition
Step 3: Stop Tracing to the Raw Trace File As Soon As Possible
# nettl -tf -e all
Step 4: Format the Raw LAN Trace So You Can Read It using netfmt.
Hope this helps,
-> Brian Hackley
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2001 05:45 AM
05-21-2001 05:45 AM
Re: Finding out who's hogging the network
5 seconds is recomended in sar utility.
Rcv-Q and send-Q are queue of packets waiting to be processed by conection( if i recall well).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2001 08:01 AM
05-21-2001 08:01 AM
Re: Finding out who's hogging the network
I tried the nettl/netfmt pair in one of our development servers and it does give me a lot of information, but how do I find the PID? It seems like the PID and UID are always [ICS] and -1, respectively.
I turned the trace on, made an rcp and turn it back off. I can see the packets and its contents but like I said the PID and UID are always the same.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2001 09:02 AM
05-21-2001 09:02 AM
Re: Finding out who's hogging the network
as for getting the pid, you would use nettl/tcpdump to get the full four-tuple of local/remote IP, local/remote port number, and then use that information in lsof to find the pid.
all inbound driver processing happens on the ICS, data queued waiting to be sent (waiting say for window) will also end-up being sent out on the ICS.
2000 packets per second, even if full 1460 byte TCP segments, is still less than 2.8 MByte/s. so, if your system is connected to 100BT networks, it isn't all that much of a "spike" relative to network capacity.
you might also do some periodic ps -ef's - if you see ftps or rcp processes, those could generate short spikes - does anyone transfer files to/from this system?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2001 10:43 AM
05-21-2001 10:43 AM
Re: Finding out who's hogging the network
Yes, there are some people that ftp to this server that's the reason why I'm looking for a method to determine who is responsible for the load.
Eventhough those peaks are relatively small, one can notice them (you actually wait for the cursor to come back when typing a command).
As you can see, I'm not very familiar with networking issues, let me analyze the information and tools people in the forum has provided ( that's why I have not assigned more than 7 points to any answer, I have not tried all the suggestions). Thanks to all that responded.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-21-2001 06:52 PM
05-21-2001 06:52 PM
Re: Finding out who's hogging the network
I used to use a software called LinkView Pro to trace the people who hogged the network.
http://www.tinwald.com/linkview_classic/index.html
Rgds,
Philip