>Hi all,
>
>I have PPPD running and sending out via $CONNECT_TIME variable the time the
>link was up for. The problem is that it's in seconds only and I get rsults
>like "37646752 seconds". Is there a way to convert this into H:M:S?
>
>I am doing this in a bash script..

Write a short script to do the division and remaindering in C, Perl,
Awk, sh, etc.

In Perl you could use the Time::Seconds module, a search on www.perl.org
turned up several likely modules.


--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to