Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

UNIX command for interface uptime

0 views
Skip to first unread message

clint

unread,
May 24, 2005, 1:45:49 PM5/24/05
to
hi

please help me, i am looking for a UNIX command which
gives me the uptime of interfaces.
many thanx!

clint

Message has been deleted

Doug Freyburger

unread,
May 26, 2005, 7:11:53 PM5/26/05
to
Michael Vilain wrote:
> Well, if you mean network interfaces, I'm not aware that this is tracked
> at all by most Unix kernels. Typically, when the OS comes up on Unix,
> so does the network interface.
>
> netstat -i shows the traffic seen on the various interfaces on Solaris
> and MacOS X.
>
> ifconfig -a shows the network interfaces and their configuration.
>
> uptime shows the load average and uptime of the running Unix OS.

Worse, you can use ifconfig to turn off an interface (bringing
it down), then use ifconfig to turn on an interface (bringing
it up) and the interface will remember all of its old packet
counts on ever Unix I've tried. I am convinced it is not
tracked by any kernel I've tried.

0 new messages