On Thursday 20 November 2008 16:30, Carlos E. R. wrote:
On Thursday, 2008-11-20 at 18:03 -0500, Patrick Shanahan wrote:
Of course, the root problem is why is it so slow. Can you imagine a one minute delay on every boot?
That is *wierd* :^). It must be the ups unit is slow to communicate.
No, not that. Once it gets going it prints a message about every five seconds, if you start the driver on console. response to commands is fast. It must be one of the commands or initial tests that fail. I'll think that out some other day.
Do you know of a pipe program that precedes every line with a time stamp?
No such thing exists, nor is it even remotely possible... Still... tstamp: -==--==--==--==--==--==--==--==--==--==--==--==--==--==--==- #!/bin/bash --norc tsFormat='%F_%H.%M.%S' IFS= while read line; do echo "$(date +"$tsFormat: $line")" done -==--==--==--==--==--==--==--==--==--==--==--==--==--==--==- Adjust the tsFormat variable to create the time-stamp you want. The "date" command has many, many options. Check the help output or the man page.
...
-- Cheers, Carlos Robinson
Randall Schulz -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org