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
There are no attachments for this article.
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 3, Monitoring your network packets and tuning the network
Viewed 5659 times since Mon, Jun 4, 2018
Check connection (rsh or nimsh) between NIM server and LPAR
Viewed 8726 times since Thu, Feb 21, 2019
Installation of the Virtual I/O Server directly from the HMC
Viewed 17973 times since Tue, Jun 4, 2019
AIX rootvg Mirroring
Viewed 4055 times since Mon, May 21, 2018
Viewed 10632 times since Mon, Jun 3, 2019
Script to make mksysb backup from NIM to LPAR
Viewed 3143 times since Thu, Feb 21, 2019
AIX: Error code 0516-1339, 0516-1397 0516-792: cannot extendvg with a previous Oracle ASM disk
Viewed 3198 times since Wed, Feb 6, 2019
Burn Image to DVD in AIX
Viewed 12914 times since Thu, Sep 20, 2018
Firmware Assisted Dump sysdump
Viewed 1640 times since Mon, Jul 16, 2018
AIX HA / HACMP, System Admin↑ Mountguard
Viewed 5717 times since Mon, Jun 3, 2019