Operating System - HP-UX
1834689 Members
2450 Online
110069 Solutions
New Discussion

General Network Parameters

 
SOLVED
Go to solution
cfeitosa
Frequent Advisor

General Network Parameters

Hello guys!

Please I need a help.
I need to get by command line general network parameters... In the AIX I used the command:

no -L

And I have a lot informations (file attached)

Please, how can I do the same thing in the HPUX?

Please, could someone give me a help?

Thanks!
clefeitosa
7 REPLIES 7
Redhat
Trusted Contributor

Re: General Network Parameters

In HPUX you can use "lanadmin" to get the network information
Murat SULUHAN
Honored Contributor

Re: General Network Parameters

Hi


ndd and lanadmin will help you

Best Regards
Murat
Murat Suluhan
cfeitosa
Frequent Advisor

Re: General Network Parameters

Hi!

Thanks for answer.
But I'll do a shell script... in other words, I need a command line that return the informations... and with lanadmin I have a "Menu"... isn't so good to me.

Specifically I would like informations about TCP (buffer, size, parameters...)

Thanks!
James R. Ferguson
Acclaimed Contributor
Solution

Re: General Network Parameters

Hi:

Have a look at 'ndd':

# ndd -h supported

...to see all supported parameters...

# ndd -get /dev/tcp ?

...to view only TCP parameters...

See the manpages for 'ndd(1M)' for more information.

Regards!

...JRF...
Murat SULUHAN
Honored Contributor

Re: General Network Parameters

Hi

You can use lanadmin to get information in shell scripting like below

-*-*-*-*-*-*-*-*-*-*
lanadmin -te > listing.lanadmin <
Murat Suluhan
Redhat
Trusted Contributor

Re: General Network Parameters

You can use the following in a script:-

lanadmin <lan
display
quit
EOF

Hope it will help...
cfeitosa
Frequent Advisor

Re: General Network Parameters

Thanks a lot!!