Hi Swetha,
You might check the libkstat. The netstat command of Solaris 10 is also
based on the kstat.
Here is two articles written by /Peter Boothby /on SDN(Sun Developer
Network) website:
http://developers.sun.com/solaris/articles/kstatc.html for C
http://developers.sun.com/solaris/articles/kstat_part2.html for perl
Regards,
Adam
swetha wrote:
Hi
I need to find the network statistics on solaris10 like the netstat command
does but without using utilities.Can any of u help me on this.Some of the
network staistics to be found are:
1.Average network utilization .2.input n putput Ip packets per interval3.total
input n output packets error packets3.active no of connections type of
application 3.per connection packets transmitted etc
There is no such thing as /proc/net from which we can access these statistics
on solaris10 as is done in linux.Plz help.
Thanks in advance
This message posted from opensolaris.org
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code