> Is there a command to take a decimal timestamp and format/display in
> something a little easier to relate to. I have serval hundred core
> files and I'd like to know when the process started abending.
I've not heard the phrase 'decimal timestamp' before. Do you mean a
UNIX epoch timestamp (seconds since the start of the epoch), or
something else?
If the first, I just use perl...
perl -le 'print scalar localtime 1126025267'
Tue Sep 6 09:47:47 2005
or for lots, feed them via stdin to:
perl -le 'while (<>) {chomp; print "$_ - ", scalar localtime $_ ; }'
You could format it however you want...
--
Darren Dunham [EMAIL PROTECTED]
Senior Technical Consultant TAOS http://www.taos.com/
Got some Dr Pepper? San Francisco, CA bay area
< This line left intentionally blank to confuse you. >
_______________________________________________
Solaris-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/solaris-users