My system logs them with timestamps. They just happen to be relative to boot
time. I dmtime say "dmtime 12345" and see the real time stamp.
cat >> /usr/local/bin/dmtime << "EOF"
date --date=@$((($(date --date="$(ls -ld --time-style="+%Y-%m-%d %H:%M"
/proc/1|awk '{print $6,$7}')" +"%s") + $1)))
EOF
You may need to muck with the script to make it match your system's
peculiarities; shown is for Debian.
Dan
-----Original Message-----
From: Felix Frank [mailto:[email protected]]
Sent: Sunday, October 07, 2012 9:09 AM
To: Andrew Eross
Cc: Dan Barker; [email protected]
Subject: Re: [DRBD-user] IO Error Logging
Hi,
On 10/06/2012 03:38 AM, Andrew Eross wrote:
> Below is what I'm seeing in dmesg.
No timestamps? Bummer.
Does your system log those via syslog too (in Debian, typicalle
/var/log/kern.log)? That log typically has far superior timestamps even.
Cheers,
Felix
_______________________________________________
drbd-user mailing list
[email protected]
http://lists.linbit.com/mailman/listinfo/drbd-user