Log Entries
Below are 3 examples of the output that is generated from checksuite when the logging option is enabled and is logged to logfiles in /var/log/checksuite.d/. The logs are set to compress and rotate weekly by default.
Example #1 : This shows the output of checkload when the system's load average is above the designated threshold. For this example, I was recompiling my kernel and I set the threshold to 1 (default is set to 7).
08/28/2003 22:22:41 - [checksuite] checkload
Current 5 minute load average is above threshold (1): 1.35
Possible Contributions:
pid: 1025 |cpu time: 1 |user: root |command: make -j8 bzImage
pid: 3638 |cpu time: 11 |user: root |command: /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/cc1 -lang-c -I/usr/src/linux-2.4.22/include -D__GNUC__=3 -D__GNUC_MINOR__=2
pid: 1047 |cpu time: 1 |user: root |command: make CFLAGS=-D__KERNEL__ -I/usr/src/linux-2.4.22/include -Wall -Wstrict-prototypes
pid: 1040 |cpu time: 1 |user: root |command: make CFLAGS=-D__KERNEL__ -I/usr/src/linux-2.4.22/include -Wall -Wstrict-prototypes
pid: 1043 |cpu time: 1 |user: root |command: make CFLAGS=-D__KERNEL__ -I/usr/src/linux-2.4.22/include -Wall -Wstrict-prototypes
pid: 1052 |cpu time: 1 |user: root |command: make CFLAGS=-D__KERNEL__ -I/usr/src/linux-2.4.22/include -Wall -Wstrict-prototypes
pid: 1043 |cpu time: 1 |user: root |command: make CFLAGS=-D__KERNEL__ -I/usr/src/linux-2.4.22/include -Wall -Wstrict-prototypes
pid: 1049 |cpu time: 1 |user: root |command: make -C block
pid: 1056 |cpu time: 1 |user: root |command: make all_targets
pid: 1039 |cpu time: 1 |user: root |command: make -C autofs4
pid: 1044 |cpu time: 1 |user: root |command: make all_targets
pid: 1039 |cpu time: 1 |user: root |command: make all_targets
pid: 1042 |cpu time: 1 |user: root |command: make -C 802
pid: 1049 |cpu time: 1 |user: root |command: make all_targets
pid: 1042 |cpu time: 1 |user: root |command: make all_targets
pid: 1039 |cpu time: 1 |user: root |command: make all_targets
pid: 3261 |cpu time: 10 |user: root |command: /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/cc1 -lang-c -nostdinc -I/usr/src/linux-2.4.22/include -D__GNUC__=3
pid: 3899 |cpu time: 11 |user: root |command: /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/cc1 -lang-c -nostdinc -I/usr/src/linux-2.4.22/include -D__GNUC__=3
pid: 1042 |cpu time: 2 |user: root |command: make CFLAGS=-D__KERNEL__ -I/usr/src/linux-2.4.22/include -Wall -Wstrict-prototypes
pid: 2954 |cpu time: 14 |user: root |command: /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/cc1 -lang-c -nostdinc -I/usr/src/linux-2.4.22/include -D__GNUC__=3
pid: 1039 |cpu time: 3 |user: root |command: make -C zlib_deflate
pid: 2954 |cpu time: 12 |user: root |command: /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/cc1 -lang-c -nostdinc -I/usr/src/linux-2.4.22/include -D__GNUC__=3
pid: 1039 |cpu time: 3 |user: root |command: make all_targets
pid: 2630 |cpu time: 12 |user: root |command: /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/cc1 -lang-c -nostdinc -I/usr/src/linux-2.4.22/include -D__GNUC__=3
pid: 881 |cpu time: 1 |user: root |command: gcc -D__KERNEL__ -I/usr/src/linux-2.4.22/include -Wall -Wstrict-prototypes
pid: 2078 |cpu time: 15 |user: root |command: /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/cc1 -lang-c -nostdinc -I/usr/src/linux-2.4.22/include -I
pid: 1093 |cpu time: 1 |user: root |command: as -Qy -o deflate.o -
----
Example #2 : This shows the output of checkdisk when a partition's utilization is above the designated threshold. For this example, I set the threshold to 40% (default is set to 85).
08/28/2003 22:34:02 - [checksuite] checkdisk
Current disk utilization for / is above 40: 49%
Disk Usage for / by Content:
5.1M bin
9.6M boot
420K dev
5.7M etc
11G home
4.0K initrd
51M lib
16K lost+found
4.0K misc
12K mnt
4.0K opt
574M root
12M sbin
84K tmp
1.6G usr
44M var
Disk Usage Summary:
Filesystem Size Used Avail Use% Mounted on
/dev/hda3 28G 13G 14G 49% /
/dev/hda1 145M 14M 124M 10% /boot
----
Example #3 : This shows the output of checklinks when your system has some broken links.
04/29/2010 18:44:06 - [checksuite] checklinks
[checksuite] - checklinks
Broken Symbolic Links Check for /:
/usr/X11R6/lib/libGLU.so -> libGLU.so.1.3
/usr/lib/libGLU.so -> ../../usr/X11R6/lib/libGLU.so
/home/larry/work/testing -> testing
/etc/rc.d/rc1.d/K15ventrilo -> ../init.d/ventrilo
/etc/rc.d/rc1.d/K39clamav -> ../init.d/clamav
/etc/rc.d/rc6.d/K15ventrilo -> ../init.d/ventrilo
/etc/rc.d/rc6.d/K39clamav -> ../init.d/clamav
/etc/rc.d/rc4.d/S61clamav -> ../init.d/clamav
/etc/rc.d/rc4.d/S85ventrilo -> ../init.d/ventrilo
/etc/rc.d/rc2.d/S61clamav -> ../init.d/clamav
/etc/rc.d/rc2.d/S85ventrilo -> ../init.d/ventrilo
/etc/rc.d/rc5.d/S61clamav -> ../init.d/clamav
/etc/rc.d/rc5.d/S85ventrilo -> ../init.d/ventrilo
/etc/rc.d/rc0.d/K15ventrilo -> ../init.d/ventrilo
/etc/rc.d/rc0.d/K39clamav -> ../init.d/clamav
/etc/rc.d/rc3.d/S61clamav -> ../init.d/clamav
/etc/rc.d/rc3.d/S85ventrilo -> ../init.d/ventrilo
Check Completed.
You can manually remove those links or run 'checklinks -h' for more information.
----