Chkconfig manual page






















 · For RHEL based linux, a handy utility is. sudo chkconfig. which can be used to set services to start on boot etc. For example, stopping apache from starting at boot: sudo chkconfig httpd off. Debian / Ubuntu doesn't have this. Instead you . DESCRIPTION. chkconfig is used to manipulate the runlevel links at boot time (see init.d (7)). It can be thought of as a frontend to insserv (8). Chkconfig can run in six different modes: terse list mode, set mode, edit mode, list mode, add mode and delete mode. The last three modes were added for compatiblity reasons. To display the current settings for a selected service only, use chkconfig --list followed by the name of the service: chkconfig --list service_name. For example, to display the current settings for the sshd service, type: ~]# chkconfig --list sshd sshd 0:off 1:off 2:on 3:on 4:on 5:on 6:off. You can also use this command to display the status.


chkconfig: update and query run level info for system services: dstat: displays real-time system stats: fdisk: disk partioning utility: mount: mounts a filesystem: manual page for particular command/tool: systemcl: may be used to introspect and control the state of the "systemd" system and service manager. FreeBSD 8. [], and 1 [].0 for AMDbased systems Linux and above for xbased systems Solaris 9, 10 and 11 (See the DISTRIBUTION section of this manual page for information on how to obtain the latest lsof revision.) An open file may be a regular file, a directory, a block special file, a character special file, an executing. CHECK MODE. This mode can be used to check the state of a service. chkconfig exits with a return code of '0' if the service is enabled in all of the specified runlevels, otherwise the exit status is '1'. If chkconfig is called with only a service name the current runlevel of the system is used for checking.


chkconfig (8) [redhat man page] chkconfig provides a simple command-line tool for maintaining the /etc/rc [].d directory hierarchy by relieving system administrators of the task of directly manipulating the numerous symbolic links in those directories. This implementation of chkconfig was inspired by the chkconfig command present in the IRIX. Linux/Unix commands are case-sensitive. The terminal can be used to accomplish all Administrative tasks. This includes package installation, file manipulation, and user management. Linux terminal is user-interactive. The terminal outputs the results of commands which are specified by the user itself. chkconfig (8) [centos man page] chkconfig provides a simple command-line tool for maintaining the /etc/rc [].d directory hierarchy by relieving system administrators of the task of directly manipulating the numerous symbolic links in those directories. This implementation of chkconfig was inspired by the chkconfig command present in the IRIX.

0コメント

  • 1000 / 1000