My original question was:
----------------------------
Hello, Sun managers,
We have a client-server software here, how can I count the bandwith,
transactions/second, overhead and package rate, etc. between server and
client?
Are there any standard unix commands to do this?
I know we can attach a monitor to a cisco router and use Lan analizer to
watch network traffic. But we don't have those facilities here.
Thanks a lot!
----------------------------
Answers are:
>From Adam Prato <adamp@ovid.com>:
---------------------------
if you need some simple analysis of your lan, you have two options:
- There is a program called 'tcpdump 3.0'. Look on gatekeeper.dec.com or
do an archie or web search for it. This is a text based tcpdumper. You
could write a perl script to take its output to generate some statistics.
- The other alternative is to purchase a lanalyzer. We currently use
novells lanalyzer, and it costs about $2000. It is quite low end, and
only usefulto do simple diagnostics.
The best choice would be to look toward Network General's Distributed
Sniffer System.
Adam
---------------------------
>From fredav@donuts0.bellcore.com:
----------------------------
Judy - There is a "traffic" command - "/bin/sunview1/traffic"
which may help you. This is an oldie, from sunview days.
I have the SunOS SPARC executable if you need it.
I am not very familiar with this, but did use it a few times
several years ago, hopefully you'll yet a response from
someone with more experience.
---Fred Davidson, x8516
----------------------------
>From Stuart Urquhart <sgu@esp.bellcore.com>:
----------------------------
You could play around with netstat. It should give you packet
counts in and out at least.
There are also a couple of public domain tools, etherman (a
network traffic analyser) and packetman (a packet sniffer) which might be
of some help. You can pick those up from :-
http://www.cs.curtin.edu.au/~netman/
This is a slow ftp site, so it might take a while to down load.
(You'll also need the hershey fonts available here)
Stuart Urquhart
-----------------------------
>From Petros Michalis <michalis@dpg.rnb.com>:
-----------------------------
2 solutions:
1) nfsstat comes with Solaris/SunOS and will give you some information
2) SunNet Manager will get all the info you want (highly reccomended)
plus much more for a price (There are 3 versions, Site, Domain &
Enterprise
with management of up to 100, 10,000 and up nodes.)
Regards,
Petros
----------------------------
>From sun2 <moshe.meirzada@telrad.co.il>:
----------------------------
You can use "netstat -i" before and after the application execution
and calculate the number of input & output packets according the results.
Also "nfsstat" might help to see number of nfs calls as client and server
for both sides.
Good luck
Meirzadeh Moshe | Phone: (972)-8-273387
Email: Moshe.Meirzada@elex.co.il | Fax : (972)-8-273264
Telrad Telecom LTD - Lod, Israel 71100 | Res : (972)-8-492248
----------------------------
>From Sebesteny Viktor <sviktor@inf.sote.hu>:
----------------------------
We use SunNet Manager 2.2.2 from SunSoft. This program map your network
via
SNMP agents and show everything about the network. Easy to use.
Viktor Sebesteny
SotNET Admin
----------------------------
>From "Mark S. Anderson" <anderson@neon.mitre.org>:
----------------------------
You may be able to use the output of etherfind(8C).
Mark Anderson
----------------------------------------------------------
The MITRE Corporation manderso@mitre.org
7525 Colshire Drive, MS Z420 voice: (703) 883-6439
McLean, VA 22102 FAX: (703) 883-1951
----------------------------
>From Randy Grimshaw <rgrimsha@mailbox.syr.edu>:
----------------------------
Are you aware of the snoop command?
<><Randall
----------------------------
>From sun-managers-relay@ra.mcs.anl.gov:
----------------------------
why not try nfsstat, iostat, vmstat and netstat check man pages for
relevant options....
john
----------------------------
HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH
Judy Z. Huang http://www-ec.njit.edu/~zxh2341
email:zh@cc.bellcore.com Tel:(908)699-3551 Beeper:(908)633-3181
Bellcore, 6 Corporate Place, Piscatway, NJ 08854-4199
HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:52 CDT