Operating System - HP-UX
1833711 Members
2120 Online
110063 Solutions
New Discussion

Finding speed of my network card using DLPI

 
Prakash Achuthan
Occasional Advisor

Finding speed of my network card using DLPI

Hi,

How do I find the the speed of my interface card using DLPI from within my C++ code.

Basically, I want to get the same info that I get when I do "lanadmin -sx lan0"

Speed = 100000000
Current Speed = 100 Full-Duplex Auto-Negotiation-ON

I tried tracing the lanadmin call using "tusc"

$tusc lanadmin -sx lan0

Pl have a look at the attached tusc output.

Thanks,
Prakash
1 REPLY 1
harry d brown jr
Honored Contributor

Re: Finding speed of my network card using DLPI

Have you looked at this:

http://docs.hp.com/hpux/pdf/B2355-90669.pdf


live free or die
harry
Live Free or Die