ps aux "help"

Warum Debian und/oder eine seiner Spielarten? Was muss ich vorher wissen? Wo geht es nach der Installation weiter?
Antworten
dawidhunter
Beiträge: 55
Registriert: 02.01.2008 20:04:00

ps aux "help"

Beitrag von dawidhunter » 14.01.2008 16:55:56

Hallo,

auf meinem Debian 4.0 System Folgendes in der ps.aux stehen.
Wollte fragen ob das alles so inordnung ist. Da ich einige sachen
gar nicht kenne und da mein Root ja jetz down ist ich mir alles beibringen möchte
einfach nachfragen wollte. Mein Sprichwort; Fragen kostet nichts.

Code: Alles auswählen

USER       PID %CPU %MEM    VSZ   RSS TTY      STAT START   TIME COMMAND
root         1  0.0  0.0   1952   660 ?        Ss   Jan13   0:00 init [2]
root         2  0.0  0.0      0     0 ?        S    Jan13   0:00 [migration/0]
root         3  0.0  0.0      0     0 ?        SN   Jan13   0:00 [ksoftirqd/0]
root         4  0.0  0.0      0     0 ?        S    Jan13   0:00 [migration/1]
root         5  0.0  0.0      0     0 ?        SN   Jan13   0:00 [ksoftirqd/1]
root         6  0.0  0.0      0     0 ?        S<   Jan13   0:00 [events/0]
root         7  0.0  0.0      0     0 ?        S<   Jan13   0:00 [events/1]
root         8  0.0  0.0      0     0 ?        S<   Jan13   0:00 [khelper]
root         9  0.0  0.0      0     0 ?        S<   Jan13   0:00 [kthread]
root        13  0.0  0.0      0     0 ?        S<   Jan13   0:00 [kblockd/0]
root        14  0.0  0.0      0     0 ?        S<   Jan13   0:00 [kblockd/1]
root        27  0.0  0.0      0     0 ?        S<   Jan13   0:00 [kseriod]
root        94  0.0  0.0      0     0 ?        S    Jan13   0:00 [pdflush]
root        95  0.0  0.0      0     0 ?        S    Jan13   0:00 [pdflush]
root        96  0.0  0.0      0     0 ?        S<   Jan13   0:00 [kswapd0]
root        97  0.0  0.0      0     0 ?        S<   Jan13   0:00 [aio/0]
root        98  0.0  0.0      0     0 ?        S<   Jan13   0:00 [aio/1]
root       249  0.0  0.0      0     0 ?        S    Jan13   0:00 [kirqd]
root       332  0.0  0.0      0     0 ?        S<   Jan13   0:00 [ata/0]
root       333  0.0  0.0      0     0 ?        S<   Jan13   0:00 [ata/1]
root       334  0.0  0.0      0     0 ?        S<   Jan13   0:00 [ata_aux]
root       376  0.0  0.0      0     0 ?        S<   Jan13   0:00 [scsi_eh_0]
root       377  0.0  0.0      0     0 ?        S<   Jan13   0:00 [scsi_eh_1]
root       739  0.0  0.0      0     0 ?        S<   Jan13   0:00 [khubd]
root      1004  0.0  0.0      0     0 ?        S<   Jan13   0:00 [kjournald]
root      1175  0.0  0.0   2184   604 ?        S<s  Jan13   0:00 udevd --daemon
root      1494  0.0  0.0      0     0 ?        S<   Jan13   0:00 [kpsmoused]
root      1639  0.0  0.0      0     0 ?        S<   Jan13   0:00 [kmirrord]
root      1935  0.0  0.0   1628   568 ?        Ss   Jan13   0:00 /sbin/syslogd
root      1941  0.0  0.0   1580   380 ?        Ss   Jan13   0:00 /sbin/klogd -x
bind      1953  0.0  0.1  30396  2928 ?        Ssl  Jan13   0:00 /usr/sbin/named -t /var/named/run-root -c /etc/named.conf -u bind
root      2006  0.0  0.0   2672  1340 ?        S    Jan13   0:00 /bin/sh /usr/bin/mysqld_safe
mysql     2043  0.0  1.3 130316 27404 ?        Sl   Jan13   0:06 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/my
root      2044  0.0  0.0   1568   512 ?        S    Jan13   0:00 logger -p daemon.err -t mysqld_safe -i -t mysqld
postgres  2107  0.0  0.1  17300  2208 ?        S    Jan13   0:00 /usr/lib/postgresql/7.4/bin/postmaster -D /var/lib/postgresql/7.4/main
postgres  2110  0.0  0.0   8100   920 ?        S    Jan13   0:00 postgres: stats buffer process
postgres  2111  0.0  0.0   7108  1016 ?        S    Jan13   0:00 postgres: stats collector process
root      2149  0.0  0.0   4252   860 ?        S    Jan13   0:00 /usr/lib/courier-imap/couriertcpd -address=0 -stderrlogger=/usr/sbin/courierlogger -stderrlo
root      2151  0.0  0.0   3176   868 ?        S    Jan13   0:00 /usr/sbin/courierlogger imapd
root      2160  0.0  0.0   4256   864 ?        S    Jan13   0:00 /usr/lib/courier-imap/couriertcpd -address=0 -stderrlogger=/usr/sbin/courierlogger -stderrlo
root      2162  0.0  0.0   3176   868 ?        S    Jan13   0:00 /usr/sbin/courierlogger imapd-ssl
root      2169  0.0  0.0   4256   864 ?        S    Jan13   0:00 /usr/lib/courier-imap/couriertcpd -address=0 -stderrlogger=/usr/sbin/courierlogger -stderrlo
root      2171  0.0  0.0   3180   868 ?        S    Jan13   0:00 /usr/sbin/courierlogger pop3d
root      2179  0.0  0.0   4252   856 ?        S    Jan13   0:00 /usr/lib/courier-imap/couriertcpd -address=0 -stderrlogger=/usr/sbin/courierlogger -stderrlo
root      2181  0.0  0.0   3176   868 ?        S    Jan13   0:00 /usr/sbin/courierlogger pop3d-ssl
root      2201  0.0  0.0   1752   592 ?        Ss   Jan13   0:00 /usr/sbin/inetd
qmails    2275  0.0  0.0   1624   476 ?        S    Jan13   0:00 qmail-send
qmaill    2277  0.0  0.0   1580   464 ?        S    Jan13   0:00 splogger qmail 2
root      2278  0.0  0.0   1604   360 ?        S    Jan13   0:00 qmail-lspawn | /usr/bin/deliverquota ./Maildir
qmailr    2279  0.0  0.0   1604   372 ?        S    Jan13   0:00 qmail-rspawn
qmailq    2280  0.0  0.0   1572   336 ?        S    Jan13   0:00 qmail-clean
root      2327  0.0  1.1  25132 22884 ?        Ss   Jan13   0:00 /usr/sbin/spamd --username=popuser --daemonize --nouser-config --helper-home-dir=/var/qmail
popuser   2328  0.0  1.0  25132 21684 ?        S    Jan13   0:00 spamd child
popuser   2329  0.0  1.0  25132 21652 ?        S    Jan13   0:00 spamd child
root      2362  0.0  0.3  41416  6928 ?        Ss   Jan13   0:00 /opt/psa/admin/bin/httpsd
psaadm    2365  0.0  1.2  44528 26148 ?        S    Jan13   0:18 /opt/psa/admin/bin/httpsd
psaadm    2378  0.0  1.0  44140 21976 ?        S    Jan13   0:17 /opt/psa/admin/bin/httpsd
drweb     2379  0.0  0.8  21648 17568 ?        Ss   Jan13   0:14 /opt/drweb/drwebd
tomcat    2413  0.0  0.0   6048  1812 ?        S    Jan13   0:00 su -p -s /bin/sh tomcat -c /usr/sbin/rotatelogs "/usr/share/tomcat5/logs/catalina_%F.log" 86
tomcat    2416  0.0  0.0   7692  1756 ?        S    Jan13   0:00 /usr/sbin/rotatelogs /usr/share/tomcat5/logs/catalina_%F.log 86400
tomcat    2422  0.0  1.9 302876 40800 ?        Sl   Jan13   0:04 /usr/lib/j2se/1.4/bin/java -Djava.awt.headless=true -Xmx128M -Djava.endorsed.dirs=/usr/share
root      2470  0.0  0.0   2196   896 ?        Ss   Jan13   0:00 /usr/sbin/cron
root      2510  0.0  0.0   1576   496 tty1     Ss+  Jan13   0:00 /sbin/getty 38400 tty1
root      2511  0.0  0.0   1576   496 tty2     Ss+  Jan13   0:00 /sbin/getty 38400 tty2
root      2512  0.0  0.0   1580   496 tty3     Ss+  Jan13   0:00 /sbin/getty 38400 tty3
root      2513  0.0  0.0   1580   500 tty4     Ss+  Jan13   0:00 /sbin/getty 38400 tty4
root      2514  0.0  0.0   1576   496 tty5     Ss+  Jan13   0:00 /sbin/getty 38400 tty5
root      2515  0.0  0.0   1580   500 tty6     Ss+  Jan13   0:00 /sbin/getty 38400 tty6
root      2516  0.0  0.3  21772  7864 ?        Ss   Jan13   0:00 /opt/psa/admin/bin/php /opt/psa/admin/bin/modules/watchdog/wdcollect -c /opt/psa/etc/modules
root      2517  0.0  0.1  12336  2420 ?        Ssl  Jan13   0:04 /opt/psa/admin/bin/modules/watchdog/monit -Ic /opt/psa/etc/modules/watchdog/monitrc
gs1       2617  0.0  0.1 310588  3288 ?        SNl  Jan13   0:46 ./server_linux -PID=tsserver2.pid
gs1       2663  0.0  0.1   4180  2952 ?        S    Jan13   0:28 ./psybnc
root      2852  0.0  0.0      0     0 ?        S<   Jan13   0:00 [kjournald]
root      3611  0.0  0.0   4932  1100 ?        Ss   Jan13   0:00 /usr/sbin/sshd
root      3807  0.0  0.5  28924 12148 ?        Ss   Jan13   0:00 /usr/sbin/apache2 -k start
www-data  3812  0.0  0.1  20880  3280 ?        S    Jan13   0:00 /usr/sbin/apache2 -k start
www-data  3813  0.0  0.5  30040 11064 ?        S    Jan13   0:04 /usr/sbin/apache2 -k start
www-data  3815  0.0  0.5  29744 10676 ?        S    Jan13   0:04 /usr/sbin/apache2 -k start
www-data  3817  0.0  0.5  29744 10548 ?        S    Jan13   0:04 /usr/sbin/apache2 -k start
www-data  3818  0.0  0.4  29724 10184 ?        S    Jan13   0:04 /usr/sbin/apache2 -k start
root      4223  0.0  0.1  40680  3796 ?        Sl   Jan13   0:00 python2.4 /usr/bin/fail2ban-server -b -s /tmp/fail2ban.sock
www-data  7124  0.0  0.5  30000 10800 ?        S    11:32   0:03 /usr/sbin/apache2 -k start
www-data  7125  0.0  0.5  29720 10672 ?        S    11:32   0:04 /usr/sbin/apache2 -k start
www-data  7126  0.0  0.4  29720 10168 ?        S    11:32   0:03 /usr/sbin/apache2 -k start
www-data  7127  0.0  0.5  30024 11028 ?        S    11:32   0:02 /usr/sbin/apache2 -k start
drweb     7468  0.0  0.8  21648 16536 ?        S    12:54   0:00 /opt/drweb/drwebd
drweb     7469  0.0  0.8  21648 16540 ?        S    12:54   0:00 /opt/drweb/drwebd
drweb     7470  0.0  0.8  21648 16540 ?        S    12:54   0:00 /opt/drweb/drwebd
drweb     7471  0.0  0.8  21648 16540 ?        S    12:54   0:00 /opt/drweb/drwebd
root      7881  0.0  0.1   9884  2796 ?        Ss   14:52   0:00 sshd: gs1 [priv]
gs1       7883  0.0  0.0   9884  1816 ?        S    14:52   0:00 sshd: gs1@pts/1
gs1       7884  0.0  0.0   4756  1952 pts/1    Ss   14:52   0:00 -sh
root      7889  0.0  0.0   7484  1872 pts/1    S    14:52   0:00 su root
root      7890  0.0  0.0   4212  1672 pts/1    S    14:52   0:00 bash
www-data  8139  0.0  0.5  29776 10484 ?        S    15:32   0:02 /usr/sbin/apache2 -k start
www-data  8149  0.0  0.4  29720 10084 ?        S    15:33   0:02 /usr/sbin/apache2 -k start
root      8467  0.0  0.0   3688  1008 pts/1    R+   16:48   0:00 ps aux

was ich auch noch fragen wollte ist, wie sehe ich allle Datein die Installiert sind mit apt-get usw...
so wie bei windows Software ^^

Mfg

Dawidhunter

PS: Danke jetzt schon für eure Antworten :D

Spasswolf
Beiträge: 3472
Registriert: 30.11.2005 10:32:22
Lizenz eigener Beiträge: MIT Lizenz
Wohnort: Wald

Beitrag von Spasswolf » 14.01.2008 17:06:17

Sind postgresql und mysql zusammen nicht übertrieben? Du hast überhaupt ziemlich viele Dienste laufen.

Code: Alles auswählen

was ich auch noch fragen wollte ist, wie sehe ich allle Datein die Installiert sind mit apt-get usw... 
Alle installierten Pakete Anzeigen:

Code: Alles auswählen

dpkg -l
Die Dateien eines installierten Paketes Anzeigen:

Code: Alles auswählen

dpkg -L <Paketname>

dawidhunter
Beiträge: 55
Registriert: 02.01.2008 20:04:00

Beitrag von dawidhunter » 14.01.2008 17:22:21

Hallo, und danke für die schnelle Antwort!

Nun meine Frage, wie kann ich die Prozesse beenden bzw was würdet ihr von den Sachen löschen und wie?

nepos
Beiträge: 5238
Registriert: 05.01.2005 10:08:12

Beitrag von nepos » 15.01.2008 09:22:50

Das ist die falsche Frage. Die Frage ist eher, was brauchst du auf dem System und was nicht. Das solltest du dir zuerst mal überlegen.

Antworten