August 6, 2011 · General ·

Sponsored Link
what is chkconfig

Chkconfig is a utility to update and query runlevel information for system services. Chkconfig manipulates the numerous symbolic links in /etc/init.d/, to relieve system administrators of some of the drudgery of manually editing the symbolic links.

In Debian, there are several tools with similar functionality, but users coming from other Linux distributions will find the tools in this package more familiar.

Go to Terminal and open it and type the command “chkconfig' press enter.

john@john:~$ chkconfig

The program ‘chkconfig' is currently not installed. You can install it by typing:

sudo apt-get install chkconfig

“If chkconfig is not intall you will see the above massage”

to install “chkconfig”thpe this command “sudo apt-get install chkconfig

john@john:~$ sudo apt-get install chkconfig

Reading package lists... Done

Building dependency tree

Reading state information... Done

The following packages were automatically installed and are no longer required:

linux-headers-2.6.38-8 linux-headers-2.6.38-8-generic

Use ‘apt-get autoremove' to remove them.

The following NEW packages will be installed:

chkconfig

0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.

Need to get 9,222 B of archives.

After this operation, 69.6 kB of additional disk space will be used.

Get:1 http://in.archive.ubuntu.com/ubuntu/ natty/universe chkconfig all 11.0-79.1-2 [9,222 B]

Fetched 9,222 B in 0s (9,989 B/s)

Selecting previously deselected package chkconfig.

(Reading database ... 187622 files and directories currently installed.)

Unpacking chkconfig (from .../chkconfig_11.0-79.1-2_all.deb) ...

Processing triggers for man-db ...

Setting up chkconfig (11.0-79.1-2) ...

after installing just type “chkconfig”

you can see list of service which one is off or on in your system

john@john:~$ chkconfig

acpi-support 2345

acpid off

alsa-restore off

alsa-store off

anacron off

apparmor on

apport off

atd off

avahi-daemon off

binfmt-support on

bluetooth on

bootlogd off

brltty on

clamav-freshclam on

console-setup off

cron off

cups off

dbus off

dmesg off

dns-clean on

failsafe-x off

gdm off

grub-common on

hostname off

hwclock off

hwclock-save off

irqbalance off

kerneloops on

killprocs on

module-init-tools off

network-interface off

network-interface-security off

network-manager off

networking 0

ondemand on

pcmciautils on

plymouth off

plymouth-log off

plymouth-splash off

plymouth-stop off

plymouth-upstart-bridge off

pppd-dns on

procps off

pulseaudio on

rc.local on

rcS off

rsync on

rsyslog off

saned on

sendsigs 0

setvtrgb off

speech-dispatcher on

stop-bootlogd off

stop-bootlogd-single off

sudo on

udev off

udev-fallback-graphics off

udev-finish off

udevmonitor off

udevtrigger off

ufw off

umountfs 0

umountnfs.sh 0

umountroot 0

unattended-upgrades 0

urandom 0S

winbind on

x11-common on

Allu John Sudhakar
System/Network Administrator
to see my Blogger (for Ubuntu)
http://allujohnsudhakar.blogspot.com
any help mail to me
[email protected]

Sponsored Link

2 Comments to “How to see system services are enable or disable in ubuntu 11.04(Natty Narwhal)”

  1. penkoad says:

    Hi,
    This tool is familliar for the personn who used to run redhat flavored dsitro.
    There is a tool more debian-centric :
    apt-get install sysv-rc-conf

    Let’s you configure the the service and the rnulevel in semi graphic way.

  2. cmulk says:

    Unfortunately, both chkconfig and sysv-rc-conf are a little outdated for ubuntu these days. More and more startup services have been converted to upstart jobs in the folder /etc/init. These tools do not always give accurate results for upstart jobs and may not allow you to enable and disable jobs as you would expect.

Leave a Reply

  • Recent comments