H I O X INDIA
LINUX Commands
 HOME  ||  Scripts  ||  Purchase  ||  Tutorials  ||  Images  ||  Tools  ||  Templates 
  :-)  Send Page   :-)   Feedback   :-)   Register   :-)   Links   :-)   Support   :-)
Español Français 中文 Deutsch
 Forums   Hosting   Internet Stats   Easy Calculation   FUN Games 

LINUX / UNIX cmd
Introduction
Commands in A
Commands in B
Commands in C
Commands in D
Commands in E
Commands in F
Commands in G
Commands in H
Commands in I
Commands in J
Commands in K
Commands in L
Commands in M
Commands in N
Commands in P
Commands in R
Commands in S
Commands in T
Commands in U
Commands in W
Commands in Y
More about Linux
Feedback




chkconfig Linux Commands


Topic

What is Linux chkconfig Command?




Explanation

chkconfig COMMAND:
     chkconfig command is used to change, update and query runlevel information for system services. chkconfig is an admin command.

SYNTAX:
  The Syntax is
     chkconfig [options]

OPTIONS:
     
--add service Create a start or kill symbolic link in every runlevel for the specified service according to default behavior specified in the service's initialization script.
--list Print whether the specified service is on or off in each level. If no service is specified, print runlevel information for all services managed by chkconfig.
--level numbers Specify by number the runlevels to change. Provide numbers as a numeric string: e.g., 016 for levels 0, 1 and 6. Use this to override specified defaults.
--del service Remove entries for specified service from all runlevels.




EXAMPLE:
     
  1. chkconfig --list

    The above configuration command list the runlevels and the service status(i.e, on or off).

  2. chkconfig tomcat5 off

    The above command is used to set the status for tomcat5 service. Now tomcat5 service status is off.

  3. chkconfig --list tomcat5
    Output:
    tomcat5 0:off 1:off 2:off 3:off 4:off 5:off 6:off
    

    The above command displays the status of tomcat5 service(i.e, on or off).






        Find LINUX Commands... Hope you enjoy this tutorial. We welcome your Valuable feedbacks or suggestions on this LINUX / UNIX cmd reference. This is a copyright content.


privacy policy     license     sitemap
© 2004-2009 HIOX INDIA - hioxindia.com

Other Links