https://bugzilla.novell.com/show_bug.cgi?id=350980
User robin.listas@telefonica.net added comment
https://bugzilla.novell.com/show_bug.cgi?id=350980#c10
--- Comment #10 from Carlos Robinson 2008-01-08 19:22:03 MST ---
Ok, I rebooted with
title MAIN openSUSE 10.3 (default)
root (hd0,5)
kernel /vmlinuz root=/dev/disk/by-id/ata-ST3160021A_5JS4VV1F-part6
vga=0x317 hwprobe=-modules.pata resume=/dev/hda5 splash=verbose showopts apic
nohz=off
initrd /initrd
and I watched the clock for a few minutes, with no "laziness" on the part of
the clock. I will have to leave the script running for a longer period, and
then analyze the log watching for lapses. Do you have an idea to detect those?
With 'grep "=====>" marca.log' I can get the time marks, but then I need to
evaluate the time difference from one to the next and calculate the time...
Ah, got it, I'll use this script:
#!/bin/bash
ANTERIOR_U=`date +%s`
sleep 1
while true ; do
ACTUAL_U=`date +%s`
ACTUAL=`date +"%T"`
DIFF=$(( $ACTUAL_U - $ANTERIOR_U ))
if test $DIFF -gt 1 ; then
echo -e "=====> " $ACTUAL\\t "(*******" $DIFF "*******)" \
| tee -a /home/cer/marca.log
else
echo -e "=====> " $ACTUAL\\t\($DIFF\) | \
tee -a /home/cer/marca.log
fi
ANTERIOR_U=$ACTUAL_U
cat /proc/interrupts >> /home/cer/marca.log
sleep 1
done
It took me some time to get this running, don't laugh too much at my scripting
O:-)
I'll leave it running some time. Too late already, I should be sleeping,
perhaps tomorrow.
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.