Hi Rickey,

I'll let to see and test your program to monitor system network performance.
can you please send me the source ?

network low latency is biggest concern we have now in Wall Street.

Thanks,

James Yang
Email :   [EMAIL PROTECTED]



                                                                              
             rickey c weisner                                                 
             <[EMAIL PROTECTED]                                               
             com>                                                          To 
             Sent by:                   perf-discuss@opensolaris.org          
             perf-discuss-bounc                                            cc 
             [EMAIL PROTECTED]                                               
                                                                      Subject 
                                        [perf-discuss] Network Monitoring     
             05/05/08 12:15 PM                                                
                                                                              
                                                                              
                                                                              
                                                                              
                                                                              




Greetings,
I used the SE toolkit for years. I was particularly fond of
nx.se. It was not unusual for me to have to add support
for new NIcs.

So I have written my own tool using C and the kstat api.
It gives you the same output format as nx.se.

Every kstat of class net where the name = "module""instance" (ce0 for
example) is considered an interface. I look through all know names
for parameters such as nocanput, so it hopefully is more robust than
than nx.se.

I have been testing it for about 18 months. I would like to make
it available to community. Perhaps someone would like to make
it available off the opensolaris website as a tool.

In the meantime send me an email if you would like the source.

rick

PS
The readme follows:

This is a C based program containing the functionality of the
SEtoolkit tool nx.se. It uses the kstat api.

To build nx :
make clean
make all

V8 contains pre-built from 2.6 32 bit binaries.
V9 contains pre-built from 2.7 64 bit binaries.
x32 contains pre-built 32 bit x86 binaries
x64 contains pre-built 64 bit x64 binaries

Run nx "time interval".
You do not have to be root.

nx uses the kstat api. At startup in runs through the kstats.
Every kstat of class net where the name = "module""instance" (ce0 for
example) is considered an interface.

If a kstat is missing, an error is printed once, and zeroes are
printed thereafter.

Some kstats do not have a single standard name, (nocanputs for
example). In those cases I look for all the comparable names I am aware
of.

If your NIC does not work, please send me kstat -p -c net   output.


Example output:

arwen:nx 10

14:04:20 Iseg/s Oseg/s InKB/s OuKB/s Rst/s  Atf/s  Ret%  Icn/s  Ocn/s
tcp        0.0    0.0   0.00   0.00   0.00   0.00   0.0   0.00   0.00
         IDGS/s ODGS/s IERR/s
udp        0.0    0.0   0.00
14:04:20 Ipkt/s Opkt/s InKB/s OuKB/s IErr/s OErr/s Coll% NoCP/s Defr/s
lo0        0.1    0.1   0.00   0.00  0.000  0.000   0.0   0.00   0.00
e1000g0    0.5    0.1   0.05   0.01  0.000  0.000   0.0   0.00   0.00
wpi0       0.0    0.0   0.00   0.00  1.100  0.000   0.0   0.00   0.00


Iseg/s = input segments per second
Oseg/s = output segments per second
InKB/s = input kilobytes per second
OuKB/s = output kilobytes per second
Rst/s  = resets per second
Atf/s  = attaches per second
Ret%   = retransmission percentage
Icn/s  = input connections per second
Ocn/s  = output connections per second
IDGS/s = input datagrams per second
ODGS/s = output datagrams per second
IERR/s = errors per second
Ipkt/s = input packets per second
Opkt/s = output packets per second
InKB/s = input kilobytes per second
OuKB/s = output kilobytes per second
IErr/s = input errors per second
OErr/s = output errors per second
Coll%  = collision percentage
NoCP/s = nocanputs per second
Defr/s = defers per second

Send bugs/comments to
[EMAIL PROTECTED]

Thanks,
rick weisner
--

Rickey C. Weisner
Software Development and Performance Specialist
Sun Microsystems, INC
cell phone: 615-308-1147
email: [EMAIL PROTECTED]
_______________________________________________
perf-discuss mailing list
perf-discuss@opensolaris.org


---

This e-mail may contain confidential and/or privileged information. If you
are not the intended recipient (or have received this e-mail in error)
please notify the sender immediately and destroy this e-mail. Any
unauthorized copying, disclosure or distribution of the material in this
e-mail is strictly forbidden.

_______________________________________________
perf-discuss mailing list
perf-discuss@opensolaris.org

Reply via email to