logwatch 가 원래 이정도로 cpu 를 많이 먹나요?
글쓴이: 망치 / 작성시간: 금, 2007/01/05 - 7:04오전
[root@localhost ~]# ps axww PID TTY STAT TIME COMMAND 1 ? S 0:02 init [3] 2 ? SN 0:00 [ksoftirqd/0] 3 ? S< 0:00 [events/0] 4 ? S< 0:00 [khelper] 5 ? S< 0:00 [kblockd/0] 6 ? S 0:00 [khubd] 36 ? S 0:53 [pdflush] 37 ? S 1:16 [pdflush] 39 ? S< 0:00 [aio/0] 33 ? S 0:02 [kapmd] 38 ? S 2:11 [kswapd0] 185 ? S 0:00 [kseriod] 297 ? S 0:21 [kjournald] 1364 ? S<s 0:00 udevd 1445 ? S< 0:00 [kauditd] 1488 ? S< 0:00 [kmirrord] 1511 ? S 0:00 [kjournald] 1512 ? S 1:16 [kjournald] 1513 ? S 0:40 [kjournald] 1514 ? S 1:13 [kjournald] 2145 ? Ss 0:00 /sbin/dhclient -1 -q -lf /var/lib/dhcp/dhclient-eth0.leases -pf /var/run/dhclient-eth0.pid eth0 2192 ? Ss 0:03 syslogd -m 0 2196 ? Ss 0:00 klogd -x 2223 ? Ss 0:00 portmap 2242 ? Ss 0:00 rpc.statd 2268 ? Ss 0:00 rpc.idmapd 2299 ? Ss 0:00 /usr/sbin/apmd -p 10 -w 5 -W -P /etc/sysconfig/apm-scripts/apmscript 2358 ? S 0:13 /usr/sbin/snmpd -Lsd -Lf /dev/null -p /var/run/snmpd -a 2373 ? Ss 0:01 cupsd 2447 ? Ss 0:00 /usr/sbin/sshd 2460 ? Ss 0:00 xinetd -stayalive -pidfile /var/run/xinetd.pid 2469 ? S 0:00 /usr/sbin/vsftpd /etc/vsftpd/vsftpd.conf 2530 ? S 0:00 /bin/sh /usr/bin/mysqld_safe --defaults-file=/etc/my.cnf --pid-file=/var/run/mysqld/mysqld.pid 2560 ? Sl 294:54 /usr/libexec/mysqld --defaults-file=/etc/my.cnf --basedir=/usr --datadir=/var/lib/mysql --user=mysql --pid-file=/var/run/mysqld/mysqld.pid --skip-locking --socket=/var/lib/mysql/mysql.sock 2586 ? Ss 0:00 gpm -m /dev/input/mice -t imps2 2598 ? Ss 1:32 /usr/sbin/httpd 2607 ? Ss 0:01 crond 2624 ? Ss 0:00 /usr/sbin/atd 2633 ? Ssl 0:00 dbus-daemon-1 --system 2643 ? Ss 0:14 hald 2650 tty1 Ss+ 0:00 /sbin/mingetty tty1 2651 tty2 Ss+ 0:00 /sbin/mingetty tty2 2652 tty3 Ss+ 0:00 /sbin/mingetty tty3 2653 tty4 Ss+ 0:00 /sbin/mingetty tty4 2654 tty5 Ss+ 0:00 /sbin/mingetty tty5 2655 tty6 Ss+ 0:00 /sbin/mingetty tty6 21128 ? Ss 0:00 smbd -D 21129 ? S 0:00 smbd -D 21140 ? Ss 0:42 nmbd -D 25487 ? S 0:39 smbd -D 30123 ? S 0:00 crond 30124 ? Ss 0:00 /bin/bash /usr/bin/run-parts /etc/cron.daily 30125 ? S 0:00 /usr/bin/perl -w /etc/cron.daily/00-logwatch 30126 ? S 0:00 awk -v progname=/etc/cron.daily/00-logwatch progname {????? print progname ":\n"????? progname="";???? }???? { print; } 31269 ? S 0:00 /bin/mail -s LogWatch for localhost.localdomain root 31270 ? S 0:00 sh -c ( /bin/cat /tmp/logwatch.Kkw30132/http | /etc/log.d/scripts/services/http) 2>&1 31271 ? S 0:00 sh -c ( /bin/cat /tmp/logwatch.Kkw30132/http | /etc/log.d/scripts/services/http) 2>&1 31272 ? S 0:04 /bin/cat /tmp/logwatch.Kkw30132/http 31273 ? R 150:00 /usr/bin/perl /etc/log.d/scripts/services/http 14743 ? S 0:18 /usr/sbin/httpd 16129 ? S 0:11 /usr/sbin/httpd 16599 ? S 0:13 /usr/sbin/httpd 16614 ? S 0:12 /usr/sbin/httpd 18585 ? S 0:10 /usr/sbin/httpd 19608 ? S 0:07 /usr/sbin/httpd 20065 ? S 0:06 /usr/sbin/httpd 20066 ? S 0:06 /usr/sbin/httpd 20071 ? S 0:05 /usr/sbin/httpd 20072 ? S 0:06 /usr/sbin/httpd 20073 ? S 0:06 /usr/sbin/httpd 20362 ? S 0:05 /usr/sbin/httpd 20911 ? S 0:05 /usr/sbin/httpd 20961 ? S 0:04 /usr/sbin/httpd 21085 ? S 0:04 /usr/sbin/httpd 21176 ? Ss 0:00 sshd: root@pts/0 21180 pts/0 Ss 0:00 -bash 21265 ? S 0:04 /usr/sbin/httpd 21284 ? S 0:03 /usr/sbin/httpd 21908 ? S 0:02 /usr/sbin/httpd 22315 ? S 0:01 /usr/sbin/httpd 22689 ? S 0:01 /usr/sbin/httpd 23205 pts/0 R+ 0:00 ps axww
엄청나게 먹어대는데.. 4시부터 7시 정도까지 cpu 를 풀로 먹고 있습니다.
전에 해킹으로 오인했던 그 부분입니다. (아직 오인이라고 확신하진 못하겠습니다 --; )
File attachments:
첨부 | 파일 크기 |
---|---|
cpuusage.gif | 5.9 KB |
Forums:
4시에서 6시사이에 top을 보여주세요
4시에서 6시사이에 top을 보여주세요
혹시 로그중에 rotate 가 되지 않고 엄청 큰 파일이 있을 수도 있죠
-------------------------------------------------------------------------------
이 댓글(comment)의 수정 및 삭제를 위해 이 글에 답글(reply)을 쓰지 말아 주십시요.
의견이 있으시면 원 글에 댓글(comment)로 써 주세요.
아파치 access 로그가
아파치 access 로그가 400메가 가량 되는데.. 이것때문일까요?
주기적으로 정리해주는데..;
---------------------------------------
http://www.waitfor.com/
http://www.textmud.com/
댓글 달기