PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : [Newbie] wozu sind eigentlich diese ganzen Prozesse? read inside



thegrinch
21.08.03, 02:13
Hi!

Hier mal, was mir ein #ps aux auswirft:




USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.1 0.0 1272 484 ? S 02:29 0:03 init [2]
root 2 0.0 0.0 0 0 ? SW 02:29 0:00 [keventd]
root 3 0.0 0.0 0 0 ? SWN 02:29 0:00 [ksoftirqd_CPU0]
root 4 0.0 0.0 0 0 ? SW 02:29 0:00 [kswapd]
root 5 0.0 0.0 0 0 ? SW 02:29 0:00 [bdflush]
root 6 0.0 0.0 0 0 ? SW 02:29 0:00 [kupdated]
root 154 0.0 0.1 1344 596 ? S 02:29 0:00 /sbin/syslogd
root 157 0.0 0.2 1856 1068 ? S 02:29 0:00 /sbin/klogd
root 183 0.0 0.0 0 0 ? SW 02:29 0:00 [kapmd]
root 185 0.0 0.0 1268 488 ? S 02:29 0:00 /usr/sbin/apmd -P /etc/apm/apmd_proxy
root 194 0.0 0.1 1292 508 ? S 02:29 0:00 /usr/sbin/inetd
root 283 0.0 0.1 2464 992 ? S 02:29 0:00 /usr/lib/postfix/master
postfix 286 0.0 0.1 2416 948 ? S 02:29 0:00 pickup -l -t fifo -u -c
postfix 287 0.0 0.1 2452 976 ? S 02:29 0:00 qmgr -l -t fifo -u -c
root 292 0.0 0.2 2784 1280 ? S 02:29 0:00 /usr/sbin/sshd
daemon 295 0.0 0.1 1384 580 ? S 02:29 0:00 /usr/sbin/atd
root 298 0.0 0.1 1652 684 ? S 02:29 0:00 /usr/sbin/cron
root 307 0.0 0.7 5024 3880 ? S 02:29 0:00 /usr/bin/perl /usr/local/webmin/miniserv.pl /etc/webmin/miniserv.conf
root 308 0.0 0.0 1256 468 tty1 S 02:29 0:00 /sbin/getty 38400 tty1
root 309 0.0 0.0 1256 468 tty2 S 02:29 0:00 /sbin/getty 38400 tty2
root 310 0.0 0.0 1256 468 tty3 S 02:29 0:00 /sbin/getty 38400 tty3
root 311 0.0 0.0 1256 468 tty4 S 02:29 0:00 /sbin/getty 38400 tty4
root 312 0.0 0.0 1256 468 tty5 S 02:29 0:00 /sbin/getty 38400 tty5
root 313 0.0 0.0 1256 468 tty6 S 02:29 0:00 /sbin/getty 38400 tty6
root 319 0.0 0.3 5796 1780 ? S 02:31 0:00 /usr/sbin/sshd
root 321 0.0 0.2 2208 1252 pts/0 S 02:31 0:00 -bash
root 361 0.0 0.3 5796 1772 ? S 02:36 0:00 /usr/sbin/sshd
root 363 0.0 0.2 2224 1256 pts/2 S 02:36 0:00 -bash
root 365 0.0 0.3 2764 1528 pts/2 S 02:37 0:00 mc
root 367 0.0 0.2 2208 1228 pts/3 S 02:37 0:00 bash -rcfile .bashrc
root 397 0.0 0.4 70256 2352 ? S 02:42 0:00 /usr/sbin/apache
www-data 406 0.0 0.4 70304 2436 ? S 02:42 0:00 /usr/sbin/apache
www-data 407 0.0 0.4 70304 2444 ? S 02:42 0:00 /usr/sbin/apache
www-data 408 0.0 0.4 70304 2436 ? S 02:42 0:00 /usr/sbin/apache
www-data 409 0.0 0.4 70304 2444 ? S 02:42 0:00 /usr/sbin/apache
www-data 410 0.0 0.4 70304 2436 ? S 02:42 0:00 /usr/sbin/apache
www-data 411 0.0 0.4 70304 2436 ? S 02:42 0:00 /usr/sbin/apache
www-data 412 0.0 0.4 70268 2368 ? S 02:42 0:00 /usr/sbin/apache
www-data 413 0.0 0.4 70268 2368 ? S 02:42 0:00 /usr/sbin/apache
www-data 414 0.0 0.4 70268 2368 ? S 02:42 0:00 /usr/sbin/apache
www-data 415 0.0 0.4 70268 2368 ? S 02:42 0:00 /usr/sbin/apache
root 1033 0.0 0.3 5924 1820 ? S 03:01 0:00 /usr/sbin/sshd
root 1035 0.0 0.2 2164 1072 ? S 03:01 0:00 -bash

root 1063 0.0 0.3 3520 1532 pts/0 R 03:09 0:00 ps aux


Was bedeuten die oberen einträge denn überhaupt?
also, apache, sshd, getty, pickup, qmgr und postfix sind schon klar, es geth um die anderen; zum beispiel die in den eckigen klammern.
Achso, habe ein debian-system...

Vielen dank im voraus für eure Antworten.

so long!

Samsara
21.08.03, 02:50
Das sind die verschiedenen Daemons, z.B. kapmd fuer APM (Advanced Power Management, Energieverwaltung), kswapd zum Swappen. Das hat schon alles seinen Zweck ;)

Samsara

kth
21.08.03, 13:02
Die in eckigen Klammern sind Kernel-Threads; das sind Verwaltungs-"Prozesse", die der Kernel von sich aus startet, im Gegensatz zu bspw. syslogd oder klogd, die im User-space laufen.