Fórum Ubuntu CZ/SK
Ubuntu pro osobní počítače => Obecná podpora => Téma založeno: polo23 23 Ledna 2010, 17:53:42
-
Ahoj,
chtel bych se zaptat jestli je v Linuxu nejaky prikaz na zobrazeni bezicich daemonu. Ja znam jen netstat ktery zobrazi sitova spojeni (tzn procesy a daemony kteri pouzivaji sitove spojeni - daemony kteri sit nevyuzivaji vsak nezobrazi). Pak znam prikaz ps ktery vsak zobrazi procesy coz vsak neni to same co daemon (jeden daemon muze byt tvoren nekolika procesy). Vim ze u systemu z rodiny Red Hat je prikaz chkconfig ktery zobrazi daemony. U Ubuntu (Debianu) vsak nic takoveho neznam.
-
gula@gula-laptop:~$ chkconfig
The program 'chkconfig' is currently not installed. You can install it by typing:
sudo apt-get install chkconfig
chkconfig: command not found
gula@gula-laptop:~$ sudo apt-get install chkconfig
[sudo] password for gula:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
chkconfig
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 9,808B of archives.
After this operation, 69.6kB of additional disk space will be used.
Get:1 http://sk.archive.ubuntu.com karmic/universe chkconfig 11.0-79.1-1ubuntu1 [9,808B]
Fetched 9,808B in 0s (56.8kB/s)
Selecting previously deselected package chkconfig.
(Reading database ... 193131 files and directories currently installed.)
Unpacking chkconfig (from .../chkconfig_11.0-79.1-1ubuntu1_all.deb) ...
Processing triggers for man-db ...
Setting up chkconfig (11.0-79.1-1ubuntu1) ...
gula@gula-laptop:~$ chkconfig
acpi-support 2345
acpid off
alsa-utils off
anacron off
apparmor on
apport off
atd off
avahi-daemon off
binfmt-support on
bluetooth on
bootlogd off
brltty on
console-setup on
cron off
cryptdisks 0
cryptdisks-early 0
cryptdisks-enable off
cryptdisks-udev off
cups on
dbus off
dmesg off
dns-clean on
failsafe-x off
fancontrol on
gdm off
grub-common on
hal off
hddtemp on
hwclock off
hwclock-save off
kerneloops on
keyboard-setup on
killprocs on
laptop-mode on
lm-sensors on
module-init-tools off
network-manager off
networking 0
ondemand on
pcmciautils on
pppd-dns on
procps off
pulseaudio on
rc.local on
rcS off
rsync on
rsyslog off
rsyslog-kmsg off
saned on
screen-cleanup on
sendsigs 0
sl-modem-daemon on
speech-dispatcher on
stop-bootlogd off
stop-bootlogd-single off
udev off
udev-finish off
udevmonitor off
udevtrigger off
ufw off
uml-utilities on
umountfs 0
umountnfs.sh 0
umountroot 0
unattended-upgrades 0
urandom 0S
usplash off
winbind on
wpa-ifupdown 0
x11-common on
yiff-server on
gula@gula-laptop:~$
-
initctl list
service --status-all
-
polo@Lenny:~$ initctl list
bash: initctl: command not found
polo@Lenny:~$ service --status-all
bash: service: command not found
Jinak to s tim chkconfig funguje diky