Friday, August 5, 2011

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

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

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

Allu John Sudhakar
System/Network Administrator
to see my Blogger (for Ubuntu)http://allujohnsudhakar.blogspot.com
any help mail to me aj_sudhakar@yahoo.co.in

2 comments:

  1. बहुत सुन्दर विवरण दिया है सुधाकर जी आपने, धन्यवाद.
    उबंटू 10.10 में रेमिंगटन की बोर्ड सपोर्ट एम17एन को संस्थापित करने के बाद भी प्राप्त नहीं हो पा रहा है इस संबंध में कोई जानकारी हो तो कत्रपया बतावें.

    ReplyDelete
  2. You made my day, i was really stuck with a problem and you resolved it!Network Administrator Job Responsibilities

    ReplyDelete