- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ndd command syntax
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2006 06:34 AM
05-31-2006 06:34 AM
What is the command to see all tuned tcp/ip parameters on the box ?
For example:-
[BigGuy:/home/sksonkar]$ ndd -get /dev/tcp tcp_conn_request_max
4096
The above command shows one value at a time.
Just wondering is there a command syntax which helps to view all the tcp/ip tuned parameters at one time.
Thanks,
Shiv
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2006 06:40 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2006 06:48 AM
05-31-2006 06:48 AM
Re: ndd command syntax
ndd -h supported
regards;
mustafa
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2006 06:53 AM
05-31-2006 06:53 AM
Re: ndd command syntax
You could do something like this:
ndd -get /dev/tcp ?|grep -v "^?" > /tmp/nddargs
while read ARG NULL
do
echo "${ARG} = \c";ndd -get /dev/tcp ${ARG}
done < /tmp/nddargs | more
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2006 06:54 AM
05-31-2006 06:54 AM
Re: ndd command syntax
There isn't an option to show the values of all the parameters at one time, but it would be a clever little hack to script it from the output of 'ndd -h'.
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2006 08:46 AM
05-31-2006 08:46 AM
Re: ndd command syntax
Do i need to put below in a shell script and execute ?
----
ndd -get /dev/tcp ?|grep -v "^?" > /tmp/nddargs
while read ARG NULL
do
echo "${ARG} = \c";ndd -get /dev/tcp ${ARG}
done < /tmp/nddargs | more
-----
Thanks,
Shiv
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-31-2006 08:55 AM
05-31-2006 08:55 AM
Re: ndd command syntax
Well, yes, it would be convenient to build this into a reusable script. A slightly better version is this:
# cat /tmp/ndd
#/usr/bin/sh
typeset FILE=/var/tmp/$$
ndd -get /dev/tcp ? | grep -v "^?" | cut -f1 -d"(" > ${FILE}
while read ARG NULL
do
echo "${ARG} = \c";
ndd -get /dev/tcp ${ARG}
done < ${FILE}
rm ${FILE}
exit 0
...call the script '/tmp/ndd' and do:
# /tmp/ndd | more
Regards!
...JRF...