Showing posts with label lfs sysconfig sysklog syslogd. Show all posts
Showing posts with label lfs sysconfig sysklog syslogd. Show all posts

Wednesday, June 16, 2010

Chapter 7.6 Sysklog

Notice the difference between sysklogd and syslogd !

Reading the "man syslogd". This caught my eye. "Syslogd  reacts  to  a set of signals.  You may easily send a signal to syslogd using the following:

              kill -SIGNAL `cat /var/run/syslogd.pid`

My biggest problem with syslogs is that they are very difficult for me to read. Recent apps are beginning to at least provide some sort of sorting according to the day. I would like keywords like: sound or video to be available because these are errors I have had in the past.

Ah, after some searching, this command is here: /sbin/syslogd
root:/#file  /sbin/syslogd
/sbin/syslogd: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, stripped

I cannot look at it.
root:/#  ls -l /sbin/syslogd
-r-x------ 1 root root 31508 Jun 15 12:57 /sbin/syslogd



Wait, I am confused. They are talking about sysklogd, with a "k". Which is:
root:/# find / -name sysklogd
/etc/rc.d/init.d/sysklogd
/sources/lfs-bootscripts-20100124/contrib/lsb-v3/init.d/sysklogd
/sources/lfs-bootscripts-20100124/lfs/init.d/sysklogd




Here's a directory listing of init.d:

root:/etc/rc.d/init.d# ls -lrt
total 100
-rwxr-xr-- 1 root root   982 Jun 16 11:36 udev_retry
-rwxr-xr-- 1 root root  2229 Jun 16 11:36 udev
-rwxr-xr-- 1 root root   654 Jun 16 11:36 template
-rwxr-xr-- 1 root root   978 Jun 16 11:36 sysklogd
-rwxr-xr-- 1 root root   767 Jun 16 11:36 sysctl
-rwxr-xr-- 1 root root   825 Jun 16 11:36 swap
-rwxr-xr-- 1 root root   834 Jun 16 11:36 setclock
-rwxr-xr-- 1 root root   866 Jun 16 11:36 sendsignals
-rwxr-xr-- 1 root root   531 Jun 16 11:36 reboot
-rwxr-xr-- 1 root root  2261 Jun 16 11:36 rc
-rwxr-xr-- 1 root root  1356 Jun 16 11:36 network
-rwxr-xr-- 1 root root   841 Jun 16 11:36 mountkernfs
-rwxr-xr-- 1 root root  1242 Jun 16 11:36 mountfs
-rwxr-xr-- 1 root root  1637 Jun 16 11:36 modules
-rwxr-xr-- 1 root root   978 Jun 16 11:36 localnet
-rwxr-xr-- 1 root root   483 Jun 16 11:36 halt
-rw-r--r-- 1 root root 16747 Jun 16 11:36 functions
-rwxr-xr-- 1 root root  1286 Jun 16 11:36 consolelog
-rwxr-xr-- 1 root root  2531 Jun 16 11:36 console
-rwxr-xr-- 1 root root  2293 Jun 16 11:36 cleanfs
-rwxr-xr-- 1 root root  3758 Jun 16 11:36 checkfs

I still do not know what to do with this. Read on.