PDA

View Full Version : Kill any of these processes in redhat?


BamaStangGuy
Sun 9th Jan '05, 10:49pm
Looking for ways to free up resources on server and was wondering if there was any process listed below that I dont need for Plesk, Apache, Mail, Mysql, PHP etc basically anything a web server wouldnt need.

USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 1516 480 ? S 2004 0:04 init [3]
root 2 0.0 0.0 0 0 ? SW 2004 0:01 [keventd]
root 3 0.0 0.0 0 0 ? SW 2004 0:01 [kapmd]
root 4 0.0 0.0 0 0 ? SWN 2004 0:00 [ksoftirqd/0]
root 7 0.0 0.0 0 0 ? SW 2004 0:00 [bdflush]
root 5 0.0 0.0 0 0 ? SW 2004 0:35 [kswapd]
root 6 0.0 0.0 0 0 ? SW 2004 2:09 [kscand]
root 8 0.0 0.0 0 0 ? SW 2004 0:00 [kupdated]
root 9 0.0 0.0 0 0 ? SW 2004 0:00 [mdrecoveryd]
root 13 0.0 0.0 0 0 ? SW 2004 1:39 [kjournald]
root 68 0.0 0.0 0 0 ? SW 2004 0:00 [khubd]
root 1574 0.0 0.0 0 0 ? SW 2004 0:00 [kjournald]
root 3014 0.0 0.0 0 0 ? SW 2004 0:00 [eth0]
root 3065 0.0 0.1 1592 560 ? S 2004 0:46 syslogd -m 0
root 3069 0.0 0.0 1520 400 ? S 2004 0:00 klogd -x
root 3210 0.0 0.0 1620 428 ? S 2004 0:00 /usr/lib/courier-
root 3212 0.0 0.0 1512 384 ? S 2004 0:00 /usr/lib/courier-
root 3223 0.0 0.0 1620 424 ? S 2004 0:00 /usr/lib/courier-
root 3226 0.0 0.0 1392 236 ? S 2004 0:00 /usr/lib/courier-
root 3233 0.0 0.0 1616 492 ? S 2004 0:24 /usr/lib/courier-
root 3236 0.0 0.0 1500 444 ? S 2004 0:16 /usr/lib/courier-
root 3244 0.0 0.0 1616 424 ? S 2004 0:00 /usr/lib/courier-
root 3246 0.0 0.0 1392 236 ? S 2004 0:00 /usr/lib/courier-
root 3258 0.0 0.2 25400 1092 ? S 2004 0:00 /usr/bin/spamd -d
root 3464 0.0 0.2 3640 1420 ? S 2004 0:17 /usr/sbin/sshd
root 3503 0.0 0.1 1600 616 ? S 2004 0:00 crond
xfs 3521 0.0 0.1 5096 628 ? S 2004 0:00 xfs -droppriv -da
daemon 3530 0.0 0.1 1572 548 ? S 2004 0:00 /usr/sbin/atd
mailman 3547 0.0 0.2 7112 1204 ? S 2004 0:00 /usr/bin/python /
root 3560 0.0 0.0 1576 380 ? S 2004 0:00 mdadm --monitor -
mailman 3563 0.0 0.4 7160 2232 ? S 2004 0:02 qrunner /var/mail
mailman 3564 0.0 0.4 7180 2188 ? S 2004 0:00 qrunner /var/mail
mailman 3565 0.0 0.4 7184 2108 ? S 2004 0:02 qrunner /var/mail
mailman 3566 0.0 0.4 7184 2124 ? S 2004 0:02 qrunner /var/mail
mailman 3567 0.0 0.4 7148 2164 ? S 2004 0:02 qrunner /var/mail
mailman 3568 0.0 0.4 7208 2224 ? S 2004 0:03 qrunner /var/mail
mailman 3571 0.0 0.4 7220 2116 ? S 2004 0:03 qrunner /var/mail
root 3574 0.0 0.0 1504 368 tty1 S 2004 0:00 /sbin/mingetty tt
root 3575 0.0 0.0 1504 368 tty2 S 2004 0:00 /sbin/mingetty tt
root 3576 0.0 0.0 1504 368 tty3 S 2004 0:00 /sbin/mingetty tt
root 3577 0.0 0.0 1504 368 tty4 S 2004 0:00 /sbin/mingetty tt
root 3578 0.0 0.0 1504 368 tty5 S 2004 0:00 /sbin/mingetty tt
root 3579 0.0 0.0 1504 368 tty6 S 2004 0:00 /sbin/mingetty tt
root 3580 0.0 0.0 1536 412 ttyS0 S 2004 0:00 /sbin/agetty -L 9
root 4478 0.0 0.1 2140 816 ? S 2004 0:11 xinetd -stayalive
named 23663 0.0 0.3 36228 1548 ? S 2004 0:00 /usr/sbin/named -
root 24178 0.0 0.1 3548 556 ? S 2004 0:00 rhnsd --interval
root 3301 0.0 0.3 12972 1748 ? S 2004 0:01 /usr/local/psa/ad
psaadm 22441 0.0 0.3 18956 1848 ? S Jan07 0:13 /usr/local/psa/ad
psaadm 22496 0.0 0.6 18988 3464 ? S Jan07 0:09 /usr/local/psa/ad
psaadm 23035 0.0 0.3 19456 1896 ? S Jan07 0:08 /usr/local/psa/ad
psaadm 23285 0.0 0.3 19140 1860 ? S Jan07 0:16 /usr/local/psa/ad
psaadm 23348 0.0 0.3 18840 1900 ? S Jan07 0:09 /usr/local/psa/ad
psaadm 23349 0.0 0.3 17148 1844 ? S Jan07 0:08 /usr/local/psa/ad
psaadm 26783 0.0 0.3 19044 1848 ? S Jan07 0:06 /usr/local/psa/ad
psaadm 26784 0.0 21.4 958800 108084 ? S Jan07 0:57 /usr/local/psa/ad
psaadm 26785 0.0 0.3 19380 1848 ? S Jan07 0:13 /usr/local/psa/ad
psaadm 26950 0.0 0.3 19236 1848 ? S Jan07 0:17 /usr/local/psa/ad
root 20832 0.0 0.2 7592 1372 ? S 04:02 0:00 cupsd
qmails 21164 0.0 0.0 1564 384 ? S 14:06 0:00 qmail-send
qmaill 21166 0.0 0.0 1520 444 ? S 14:06 0:00 splogger qmail
root 21167 0.0 0.0 1544 352 ? S 14:06 0:00 qmail-lspawn ./Ma
qmailr 21168 0.0 0.0 1548 352 ? S 14:06 0:00 qmail-rspawn
qmailq 21169 0.0 0.0 1524 308 ? S 14:06 0:00 qmail-clean
psaadm 23234 0.0 0.0 0 0 ? Z 14:22 0:00 [httpsd <defunct>
root 23502 0.0 1.8 22424 9100 ? S 14:26 0:00 /usr/sbin/httpd
root 23519 0.0 1.7 22368 9032 ? S 14:26 0:00 /usr/sbin/httpd
root 24114 0.0 0.2 4196 1112 ? S 14:27 0:00 /bin/sh /usr/bin/
mysql 24142 0.9 6.4 51296 32580 ? S 14:27 3:42 /usr/libexec/mysq
apache 2134 0.5 2.9 27312 15092 ? S 19:54 0:16 /usr/sbin/httpd
apache 2170 0.5 2.9 27024 14764 ? S 19:57 0:16 /usr/sbin/httpd
apache 2428 0.6 2.9 26912 14696 ? S 20:02 0:18 /usr/sbin/httpd
apache 2507 0.6 2.9 27380 15108 ? S 20:07 0:15 /usr/sbin/httpd
apache 2565 0.7 2.9 26960 14740 ? S 20:10 0:17 /usr/sbin/httpd
apache 2808 0.7 2.9 26976 14752 ? S 20:13 0:14 /usr/sbin/httpd
apache 2848 0.8 2.9 27108 14888 ? S 20:15 0:15 /usr/sbin/httpd
apache 3217 0.6 2.8 26772 14548 ? S 20:24 0:08 /usr/sbin/httpd
apache 3537 0.6 2.9 27116 14864 ? S 20:33 0:05 /usr/sbin/httpd
apache 3600 0.6 2.9 27052 14732 ? S 20:36 0:03 /usr/sbin/httpd
apache 3601 0.7 2.9 27292 15040 ? S 20:36 0:04 /usr/sbin/httpd
apache 3840 0.4 2.7 26144 13852 ? S 20:40 0:01 /usr/sbin/httpd
apache 3850 0.4 2.6 25812 13480 ? S 20:40 0:01 /usr/sbin/httpd
apache 3854 0.4 2.7 26120 13840 ? S 20:41 0:01 /usr/sbin/httpd
apache 3861 1.0 2.8 26892 14584 ? S 20:41 0:03 /usr/sbin/httpd
apache 3896 0.2 2.7 26008 13608 ? S 20:43 0:00 /usr/sbin/httpd
apache 3910 0.8 2.8 26864 14536 ? S 20:43 0:01 /usr/sbin/httpd
apache 3911 0.6 2.7 26264 13964 ? S 20:44 0:01 /usr/sbin/httpd
root 3942 0.3 0.4 6840 2032 ? S 20:46 0:00 sshd: admin [priv
admin 3944 0.1 0.4 6852 2228 ? S 20:46 0:00 sshd: admin@pts/0
admin 3945 0.5 0.2 4268 1352 pts/0 S 20:46 0:00 -bash
root 3996 0.3 0.1 4224 988 pts/0 S 20:46 0:00 su
root 3997 1.0 0.2 4260 1356 pts/0 S 20:46 0:00 bash
root 4034 0.0 0.1 2860 828 pts/0 R 20:46 0:00 ps -aux

absolut
Mon 10th Jan '05, 8:47am
You need all of these processes.