Operating System - Linux
1822143 Members
3889 Online
109640 Solutions
New Discussion юеВ

Any RedHat linux command equivalent to HP's ndd command

 
SOLVED
Go to solution
Patrick Chim
Trusted Contributor

Any RedHat linux command equivalent to HP's ndd command

Hi all,

Does anyone know is there any command in Redhat linux has the same function as HP's ndd command as I want to have some network tuning on Linux.

Many thanks,
Patrick
5 REPLIES 5
Sundar_7
Honored Contributor

Re: Any RedHat linux command equivalent to HP's ndd command

Might be nettune available..

Check it out

Sundar
Learn What to do ,How to do and more importantly When to do ?
Kodjo Agbenu
Honored Contributor
Solution

Re: Any RedHat linux command equivalent to HP's ndd command

Hello Patrick,

In Linux, using /proc filesystem is the "official" method for advanced tuning.

Tunable networking parameters are located under /proc/sys/net.

2 ways to use this :

-> You can write something like this :

echo "900" >/proc/sys/net/ipv4/tcp_keepalive_time

-> You can use the /sbin/sysctl command to do the same thing. Check the syntax of /etc/sysctl.conf, then add your parameters accordingly, and finally call "sysctl -p /etc/sysctl.conf" to apply changes.


Remark : it is not recommended to change parameters on live systems, except if you know the exact meaning of the parameters being changed.

Therefore, the best method is to set these parameters during the system boot process.

Using RedHat Linux, this has already been done for you. The script involved is /etc/rc.d/rc.sysinit, which calls sysctl with /etc/sysctl.conf.

Last thing (but not least) : there is a GTK-frontend (Powertweak) that you can use for browsing the parameters and writing them in /etc/sysctl.conf : in graphical environment, just type /sbin/sysctlconfig.

Good luck.

Kodjo
Learn and explain...
Patrick Chim
Trusted Contributor

Re: Any RedHat linux command equivalent to HP's ndd command

Hi Kodjo,

Your answer is helpful to me. But I want to know whether the unit of 900 is equal to second or not !

Thanks,
Patrick
Kodjo Agbenu
Honored Contributor

Re: Any RedHat linux command equivalent to HP's ndd command

Hi Patrick,

Sorry for this late answer.

Actually "900" stands for "900 seconds".

To have a detailed list of tunables, if you have kernel sources installed in your system check in /usr/src/linux/Documentation/networking/ip-sysctl.txt.

Otherwise :

http://www.linuxhq.com/kernel/v2.4/doc/networking/ip-sysctl.txt.html

Good luck.

Kodjo
Learn and explain...
Patrick Chim
Trusted Contributor

Re: Any RedHat linux command equivalent to HP's ndd command

Hi Kodjo,

The URL is good for me ! Thanks for your great help !

Regards,
Patrick