Kernel 2.4.26, Slackware 10.0.
Yeah, I'm using the tailing processor. Is that a bad idea?
One problem I noticed was that I forgot to move/delete my /varl/log/scripts and /var/log/packages directories, so it was trying to tail all those install scripts. 700+ sources. That explains the CPU usage, I guess.
So, I went through and removed /var/log as a source, and re-added only the files/dirs that I'm interested in tailing. Here's the list:
- ./splunk tail list
Files/directories currently being tailed:
/opt/splunk/var/log/splunk/searchhistory.log
/opt/splunk/var/log/splunk/splunkd.log
/opt/splunk/var/log/splunk/splunkSearch.log
/opt/splunk/var/log/splunk/splunklogger.log
/usr/local/mysql/data/choochoo.err
/usr/local/apache/logs/error_log
/usr/local/apache/logs/access_log
/var/log/messages
/var/log/cron
/var/log/wtmp
/var/log/kdm.log
/var/log/messages
/var/log/debug
/var/log/dmesg
/var/log/lastlog
/var/log/faillog
/var/log/maillog
/var/log/Xorg.0.log
/var/log/spooler
/var/log/scrollkeeper.log
/var/log/samba.smbmount
/var/log/Xorg.0.log.old
/var/log/secure
/var/log/syslog
None
/var/log/gdm
/var/log/cups
/var/log/samba
/var/log/iptraf
None
CPU usage, much better. But:
- ps auxfft | grep splunk
root 31486 7.9 12.0 427300 108600 ? S 10:19 0:02 /opt/splunk/bin/splunkd -p 8089 start
root 31487 0.0 0.3 8920 2964 ? S 10:19 0:00 \_ /opt/splunk/bin/splunkd -p 8089 start
root 31488 0.0 12.0 427300 108600 ? S 10:19 0:00 \_ /opt/splunk/bin/splunkd -p 8089 start
root 31489 0.0 12.0 427300 108600 ? S 10:19 0:00 \_ /opt/splunk/bin/splunkd -p 8089 start
root 31490 0.0 12.0 427300 108600 ? S 10:19 0:00 \_ /opt/splunk/bin/splunkd -p 8089 start
root 31495 0.0 12.0 427300 108600 ? S 10:19 0:00 \_ /opt/splunk/bin/splunkd -p 8089 start
root 31496 0.4 12.0 427300 108600 ? S 10:19 0:00 \_ /opt/splunk/bin/splunkd -p 8089 start
root 31497 6.4 12.0 427300 108600 ? S 10:19 0:01 \_ /opt/splunk/bin/splunkd -p 8089 start
root 31499 6.5 12.0 427300 108600 ? S 10:19 0:01 \_ /opt/splunk/bin/splunkd -p 8089 start
root 31500 0.6 12.0 427300 108600 ? S 10:19 0:00 \_ /opt/splunk/bin/splunkd -p 8089 start
root 31501 4.7 12.0 427300 108600 ? S 10:19 0:01 \_ /opt/splunk/bin/splunkd -p 8089 start
root 31502 3.3 12.0 427300 108600 ? S 10:19 0:00 \_ /opt/splunk/bin/splunkd -p 8089 start
root 31507 1.2 1.2 14424 11548 ? S 10:19 0:00 python /opt/splunk/bin/twistd --pidfile=/opt/splunk/var/run/splunk/splunkSearch.pid --python=/opt/splunk/etc/Search.tac --logfile=/opt/splunk/var/log/splunk/splunkSearch.log
- date
Thu Jun 22 10:20:22 EDT 2006
Think it matters?