Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

/etc/sysctl.conf

 
SOLVED
Go to solution

/etc/sysctl.conf

Can anyone tell me what the is the OpenVMS equivalent of the /etc/sysctl.conf file in Unix?
7 REPLIES 7
Wim Van den Wyngaert
Honored Contributor
Solution

Re: /etc/sysctl.conf

http://www.openbsd.org/cgi-bin/man.cgi?query=sysctl&sektion=8&arch=&apropos=0&manpath=OpenBSD+Current

I recognize some. They are in sysconfig (command sysconfig -s then sysconfig -q xxx where xxx is the part before the : of the prev command).

The file in question is sys$specific:[tcpip$etc]sysconfigtab.dat. Use this one to make permanent changes.

Which ones do you need ?

Wim
Wim

Re: /etc/sysctl.conf

Thanks Wim for the prompt reply. Can you let me know how I can find out the maximum number of local ports available?
Wim Van den Wyngaert
Honored Contributor

Re: /etc/sysctl.conf

$ anal/sys
tcpip show inetch/stat

(give treturn until output stops)

last page gives the maximum number of sockets (and peak).

This is in + out.

Wim
Wim
Wim Van den Wyngaert
Honored Contributor

Re: /etc/sysctl.conf

Also check sysgen channelcnt. It may change the limit downwards.

Wim
Wim
Wim Van den Wyngaert
Honored Contributor

Re: /etc/sysctl.conf

Re: /etc/sysctl.conf

Thank you Wim for your help. The exact command is:

For maximum:
TCPIP> sysconfig -q inet ipport_user reserved

For minimum:
TCPIP> sysconfig -q inet ipport_user reserved_min
Hoff
Honored Contributor

Re: /etc/sysctl.conf

Checking for answers that have arrived, I see you have an answer. But I'm going to post this anyway...

-

Within sysctl.conf, I see a little that's returned from $getenv, some from $getsyi, a few small pieces with IP and its sysctl widget, and some C POSIX settings. And some with no direct analog.

As a general note, please tell us what you want to do; what problem you are looking to resolve. The OpenVMS version and TCP/IP version can often help, too.

Providing us with the Unix commands and configuration files can be useful as supporting information, but can be exceedingly confusing (to us and then to you) as how OpenVMS is managed and operated can be entirely different than Unix, Linux or Mac OS X.

I took a quick look at the local sysctl.conf, and it doesn't have any direct analog on OpenVMS.

What is it that you're looking to do? Maximum available ports? With TCP/IP Services V8.3, that's around 65472 units.

For some related details on total BG ports:
http://64.223.189.234/node/1219

For some details on ephemeral ports (which is what those min and max commands look at):
http://64.223.189.234/node/530

Many sites don't allow ephemeral ports via the firewall, which tends to cause problems for folks looking to use ftp. (I'm not a big fan of ftp; it's old and insecure and incompatible with many firewalls. Use sftp. Much easier. And more secure.)