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
Find out which port the daemon is using on AIX OS. (similar like command netstat -anp for Linux)
Viewed 11803 times since Thu, Feb 21, 2019
Understanding dump devices sysdumpdev
Viewed 4844 times since Mon, Jul 9, 2018
Script to make mksysb backup from NIM to LPAR
Viewed 3819 times since Thu, Feb 21, 2019
Backing up your VIOS configuration with viosbr.
Viewed 11971 times since Mon, May 28, 2018
AIX disk queue depth tuning for performance
Viewed 15878 times since Thu, Jan 16, 2020
Part 1, Network overview - Monitoring the hardware
Viewed 5484 times since Mon, Jun 4, 2018
AIX HOW TO CLONE A ROOTVG USING ALTERNATE DISK INSTALLATION ALTER_DISK_COPY
Viewed 17623 times since Sun, Jun 30, 2019
AIX Net How to check VLAN ID number on AIX?
Viewed 16360 times since Thu, Nov 29, 2018
Problems with NFS on an AIX Reboot? Then Go Single
Viewed 7600 times since Wed, May 30, 2018
AIX Creating EtherChannel Devices from Command Line
Viewed 3919 times since Mon, Jun 3, 2019