You are not logged in.
Pages: 1
Hey,
When typing 'ps ax' I can see tons and tons of processes.
I have no idea what all those processes do, or where "they came from" (meaning, how they got initialized).
Is there some place where the default processes arch starts is listed and explained?
If not - do you have any idea where I can learn about all those processes?
thanks
fiod
my 'ps ax':
PID TTY STAT TIME COMMAND
1 ? Ss 0:00 init [3]
2 ? S< 0:00 [kthreadd]
3 ? S< 0:00 [migration/0]
4 ? S< 0:00 [ksoftirqd/0]
5 ? S< 0:00 [watchdog/0]
6 ? S< 0:00 [migration/1]
7 ? S< 0:00 [ksoftirqd/1]
8 ? S< 0:00 [watchdog/1]
9 ? S< 0:00 [events/0]
10 ? S< 0:00 [events/1]
11 ? S< 0:00 [khelper]
12 ? S< 0:00 [kblockd/0]
13 ? S< 0:00 [kblockd/1]
14 ? S< 0:00 [kacpid]
15 ? S< 0:00 [kacpi_notify]
16 ? S< 0:00 [kseriod]
17 ? S 0:00 [pdflush]
18 ? S 0:00 [pdflush]
19 ? S< 0:00 [kswapd0]
20 ? S< 0:00 [aio/0]
21 ? S< 0:00 [aio/1]
22 ? S< 0:00 [rpciod/0]
23 ? S< 0:00 [rpciod/1]
693 ? S< 0:00 [ksuspend_usbd]
767 ? S< 0:00 [khubd]
823 ? S< 0:00 [ata/0]
829 ? S< 0:00 [ata/1]
837 ? S< 0:00 [ata_aux]
1029 ? S< 0:00 [scsi_eh_0]
1031 ? S< 0:00 [scsi_eh_1]
1200 ? S< 0:00 [kjournald]
1269 ? S<s 0:00 /sbin/udevd --daemon
1309 ? S< 0:00 [kondemand/0]
1310 ? S< 0:00 [kondemand/1]
3667 ? S< 0:00 [kpsmoused]
3806 ? S< 0:00 [kmmcd]
4040 ? S< 0:00 [pccardd]
4192 ? S< 0:00 [khpsbpkt]
5397 ? Ss 0:00 /sbin/mount.ntfs-3g /dev/sda2 /mnt/windows -o rw,noexec,nosuid,nodev,users
5977 ? Ss 0:00 /usr/sbin/syslog-ng
5999 ? S 0:00 /usr/sbin/crond
6014 ? Ss 0:00 /usr/bin/dbus-daemon --system
6023 ? Ss 0:00 /usr/sbin/acpid
6026 ? Ss 0:00 /usr/sbin/hald
6027 ? S 0:00 hald-runner
6045 ? S 0:00 hald-addon-input: Listening on /dev/input/event3 /dev/input/event2 /dev/input/event1 /dev/input/event6 /dev/input/event4 /dev/input/event5
6049 ? S 0:00 /usr/lib/hal/hald-addon-cpufreq
6050 ? S 0:00 hald-addon-acpi: listening on acpid socket /var/run/acpid.socket
6057 ? S 0:00 hald-addon-storage: polling /dev/sr0 (every 2 sec)
6092 ? Ss 0:00 /opt/kde/bin/kdm
6097 tty7 Rs+ 0:36 /usr/bin/X -br -nolisten tcp :0 vt7 -auth /var/run/xauth/A:0-mDMjnk
6098 ? S 0:00 -:0
6126 ? S 0:00 [rt73]
6127 ? S 0:00 [rt73]
6189 tty1 Ss+ 0:00 /sbin/agetty -8 38400 vc/1 linux
6190 tty2 Ss+ 0:00 /sbin/agetty -8 38400 vc/2 linux
6192 tty3 Ss+ 0:00 /sbin/agetty -8 38400 vc/3 linux
6196 tty4 Ss+ 0:00 /sbin/agetty -8 38400 vc/4 linux
6199 tty5 Ss+ 0:00 /sbin/agetty -8 38400 vc/5 linux
6201 tty6 Ss+ 0:00 /sbin/agetty -8 38400 vc/6 linux
6226 ? Ss 0:00 /bin/sh /opt/kde/bin/startkde
6250 ? Ss 0:00 /usr/bin/gpg-agent --daemon
6253 ? Ss 0:00 /usr/bin/ssh-agent -s
6271 ? S 0:00 start_kdeinit --new-startup +kcminit_startup
6272 ? Ss 0:00 kdeinit Running...
6275 ? S 0:00 dcopserver [kdeinit] --nosid
6277 ? S 0:00 klauncher [kdeinit] --new-startup
6279 ? S 0:00 kded [kdeinit] --new-startup
6284 ? S 0:00 kwrapper ksmserver
6286 ? S 0:00 ksmserver [kdeinit]
6287 ? S 0:00 kwin [kdeinit] -session 10e1df2d74000120491383300000093790000_
6289 ? S 0:01 kdesktop [kdeinit]
6291 ? S 0:01 kicker [kdeinit]
6292 ? S 0:00 kio_file [kdeinit] file /tmp/ksocket-fio/klauncherJsGHfc.slave
6300 ? S 0:00 kxkb [kdeinit]
6307 ? S 0:00 /opt/kde/bin/artsd -F 10 -S 4096 -a alsa -s 1 -m artsmessage -c drkonqi -l 3 -f
6310 ? S 0:00 kaccess [kdeinit]
6317 ? Sl 0:05 amarokapp -session 10e1df2d74000120863201700000062780016_1209118496_583960
6323 ? Rl 0:21 skype -session 10e1df2d74000120764243200000064560023_1209118496_583536
6340 ? R 0:01 konsole [kdeinit] -session 10e1df2d740001209106948000000640300
6361 ? S 0:01 konsole [kdeinit] -session 10e1df2d740001209106994000000640300
6370 ? Sl 0:03 /usr/bin/perl -w /home/fio/.kde/Autostart/checkgmail
6377 ? S 0:00 keytouchd
6385 ? Ss 0:00 syndaemon -t -d
6393 ? S 0:00 kpowersave [kdeinit]
6395 ? S 0:00 klipper [kdeinit]
6397 ? S 0:00 kalarmd --autostart
6399 ? S 0:00 /usr/lib/GConf/gconfd-2 4
6400 ? S 0:00 knotify [kdeinit]
6401 pts/0 Ss 0:00 /bin/bash
6402 pts/1 Ss 0:00 /bin/bash
6620 ? S 0:00 dbus-launch --autolaunch e6ab4f37078b82177987e20046cc4d89 --binary-syntax --close-stderr
6621 ? Ss 0:00 /usr/bin/dbus-daemon --fork --print-pid 7 --print-address 9 --session
6812 ? S 0:00 ruby /opt/kde/share/apps/amarok/scripts/score_default/score_default.rb
6813 ? S 0:00 ruby /opt/kde/share/apps/amarok/scripts/lyrics_lyrc/lyrics_lyrc.rb
6841 ? S 0:00 /bin/sh /usr/bin/firefox
6845 ? S 0:00 /bin/sh /usr/lib/firefox-2.0.0.14/run-mozilla.sh /usr/lib/firefox-2.0.0.14/firefox-bin
6850 ? Sl 1:59 /usr/lib/firefox-2.0.0.14/firefox-bin
6999 ? S 0:00 /usr/lib/sa/sadc -F -L -d 600 6 -
7014 pts/1 S+ 0:00 less
7033 pts/0 R+ 0:00 ps ax
7034 pts/0 S+ 0:00 less
Last edited by fiod (2008-04-25 16:41:14)
Offline
Excuse me?
Most of that stuff is stuff you or your desktop environment launched. I think the stuff is pretty self-explanatory. If you want you can google each command/program's name or look them up locally on your system.
Have fun!
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
if you use the -H flag, processes are arranged in a tree, where children are aligned further to the right. That way it's easy to see what started what. I think (don't trust me on this) that all user processes are descendants of the "init" process.
Offline
thanks a lot
will try to decipher whats going on there..
thanks again
Offline
They are. Htop has a tree view too that does a nice job too.
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
Pages: 1