Re: IP traffic accounting - how?
From: Casper H.S. Dik (Casper.Dik_at_Sun.COM)
Date: 03 Jan 2004 11:12:07 GMT
Markus Strangl <firstname.lastname@example.org> writes:
>How does one get traffic information through Solaris' ifconfig? I have seen
>that Linux ifconfig lists byte or packet count, but I can't get that from
>Solaris, it seems...
Not through "ifconfig" which configures interfaces; rather, through
"netstat -I <if>" or "kstat":
$ kstat -p :::\*bytes
-- Expressed in this posting are my opinions. They are in no way related to opinions held by my employer, Sun Microsystems. Statements on Sun products included here are not gospel and may be fiction rather than truth.