Summary:ASTERISK-03435: [patch] adds -s option to show uptime to display uptime seconds
Reporter:Michael Labuschke (zigman)Labels:
Date Opened:2005-02-04 21:03:51.000-0600Date Closed:2008-01-15 15:24:26.000-0600
Versions:Frequency of
Environment:Attachments:( 0) uptime-2.patch.txt
Description:I'm not sure if anyone (execpt me) needs this.
This patch adds a -s option to "show uptime" to get the seconds since uptime ( and reload). This is usefull for external programms todo some statistics on the uptime.
e.g. login via manager interface and get the time.


it fixes the help on show uptime too.
(try a "show uptime foo")
Comments:By: Michael Labuschke (zigman) 2005-02-04 21:05:06.000-0600

Disclaimer was sent. (for previous stuff. i hope i don't have to resubmit it every time ?!?)

By: Michael Labuschke (zigman) 2005-02-04 21:32:04.000-0600

forget the first one (nice memory leak huh?) sorry for that.

By: nick (nick) 2005-02-05 07:53:31.000-0600

To be more consistent with other apps, shouldn't this be 'show uptime seconds'?

By: Mark Spencer (markster) 2005-02-05 10:48:46.000-0600

Added to CVS head with small mods.  Thanks!

By: Russell Bryant (russell) 2005-02-06 22:34:05.000-0600

not included in 1.0

By: Digium Subversion (svnbot) 2008-01-15 15:24:26.000-0600

Repository: asterisk
Revision: 4968

U   trunk/cli.c

r4968 | markster | 2008-01-15 15:24:26 -0600 (Tue, 15 Jan 2008) | 2 lines

Allow uptime to be displayed in seconds (bug ASTERISK-3435, with mods)