Operating System - HP-UX
1833777 Members
2183 Online
110063 Solutions
New Discussion

Re: Network statistic tool

 
SOLVED
Go to solution
vtpaulson
Frequent Advisor

Network statistic tool

Guys,

Is there any tool which gives network performance statistics in bytes. Most of the common tools gives the information in packets in and out. I need to find out the network bandwidth in my server..

Any kind of info is appreciated...

Thanks in advance

Paulson
3 REPLIES 3
Carsten Krege
Honored Contributor
Solution

Re: Network statistic tool

Try netperf on http://www.netperf.org.

Carsten
-------------------------------------------------------------------------------------------------
In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move. -- HhGttG
eran maor
Honored Contributor

Re: Network statistic tool

Hi

i will also use glance to view nfs stat and lan stat .

also you can use the lanadmin to see error on the network .
love computers
Carsten Krege
Honored Contributor

Re: Network statistic tool

Took some time to find it in my archive, but this is a very nice method to measure the performance of networks and I found it useful for the folks who like to stress their networks :)

# mknod /dev/zero c 3 0x000003
# ftp remote
Connected to remote
220 remote FTP server (Version 1.7.212.1 Thu May 9 21:09:19 GMT 1996) ready.
Name (remote:root): root
331 Password required for root.
Password:
230 User root logged in.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> put "| dd if=/dev/zero bs=8192 count=1000" /dev/null
200 PORT command successful.
150 Opening BINARY mode data connection for /dev/null.
1000+0 records in
1000+0 records out
226 Transfer complete.
8192000 bytes sent in 9.54 seconds (838.36 Kbytes/s)
ftp>


/dev/zero provides a stream of zeroes (call it the opposite of /dev/null). The advantage is that no disk I/O is involved and you do not have any overhead from reading data, which would introduce some uncertainties if any bottleneck might be introduced by I/O problems.

This should also work with spray(1m), but I never used this.

Carsten
-------------------------------------------------------------------------------------------------
In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move. -- HhGttG