AIX, System Admin↑ The chrctcp command

The chrctcp command in not documented in AIX, but you can still use it to do nice things, especially when you are scripting. Some examples are:

To enable xntpd in /etc/rc.tcpip, and to start xntpd:

# chrctcp -S -a xntpd

To disable xntpd in /etc/rc.tcpip, and to stop xntpd:

# chrctcp -S -d xntpd

To enable xntpd in /etc/rc.tcpip, but not start xntpd:

# chrctcp -a xntpd

To disable xntpd in /etc/rc.tcpip, but to not stop xntpd:

# chrctcp -d xntpd

So, instead of manually editing /etc/rc.tcpip, you can use chrctcp to enable (uncomment), disable (comment) some services, and start and stop them in a single command.

0 (0)
Article Rating (No Votes)
Rate this article
Attachments
There are no attachments for this article.
Comments
There are no comments for this article. Be the first to post a comment.
Full Name
Email Address
Security Code Security Code
Related Articles RSS Feed
Part 1, Memory overview and tuning memory parameters AIX7
Viewed 5790 times since Wed, Jun 19, 2019
Awesome Command to show top 15 processes using memory on AIX
Viewed 25145 times since Thu, Nov 29, 2018
IBM AIX commands you should not leave home without
Viewed 8334 times since Mon, Jun 11, 2018
How to mirror the rootvg in AIX?
Viewed 6274 times since Mon, May 21, 2018
Topics: PowerHA / HACMP, Storage Adding a new volume group to an active PowerHA resource group
Viewed 3796 times since Mon, Jun 3, 2019
AIX↑ AIX www links
Viewed 4639 times since Sat, Apr 20, 2019
AIX, Networking Etherchannel failover testing
Viewed 4131 times since Fri, Apr 19, 2019
AIX, Networking↑ Adding and deleting a static network route using the command line
Viewed 4043 times since Fri, Apr 19, 2019
Control Your Logs AIX
Viewed 20666 times since Wed, May 30, 2018
AIX FC Performance improvements for IBM AIX FC and FCoE device driver stacks
Viewed 7557 times since Fri, Jan 31, 2020