how to get link_status in solaris 10?

ndd -get $interface link_status used to show link status of an interface. but it is no longer available in solaris 10. anyone know the alternative?
[154 byte] By [torachan] at [2008-2-20]
# 1

'ndd' is very interface dependent. Some interfaces support it (sometimes in different ways), and some don't at all (and this has nothing to do with Solaris 10).

So, what interface are you referring to?

Also, you may simply be able to use 'kstat' instead.

kstat -n '<interface>' will give stats in most cases, including link status.

--

Darren

Darren_Dunham at 2007-7-7 > top of java,General,Sun Networking Services and Protocols...
# 2
thanks kstat -n is good enough.cheers
torachan at 2007-7-7 > top of java,General,Sun Networking Services and Protocols...