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
AIX Encrypted File System
Viewed 6111 times since Tue, Jul 17, 2018
AIX - How to monitor memory usage
Viewed 5879 times since Fri, Jun 8, 2018
AIX 6/7 Script to create a file with commands to remove missing and failed paths
Viewed 4155 times since Tue, Jun 14, 2022
AIX rootvg Mirroring
Viewed 4911 times since Mon, May 21, 2018
AIX hangs on boot? How to debug boot process on AIX systems
Viewed 11766 times since Thu, Feb 21, 2019
AIX Full memory dump configure
Viewed 3553 times since Mon, Jul 16, 2018
The new VIOS performance advisor tool part util
Viewed 3530 times since Tue, Jun 4, 2019
Create memory resident filesystems (RAM disk) on AIX
Viewed 2895 times since Thu, Feb 21, 2019
How To Mirror Your Root Disk On AIX (a.k.a. rootvg)
Viewed 6026 times since Mon, May 21, 2018
AIX POWERHA/HACMP: Basic commands
Viewed 5666 times since Sat, Jun 2, 2018