Change in libosmocore[master]: vty: add "show uptime"

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

osmith gerrit-no-reply at lists.osmocom.org
Tue Jul 13 11:00:18 UTC 2021


osmith has posted comments on this change. ( https://gerrit.osmocom.org/c/libosmocore/+/24924 )

Change subject: vty: add "show uptime"
......................................................................


Patch Set 2:

(2 comments)

https://gerrit.osmocom.org/c/libosmocore/+/24924/1/src/vty/command.c 
File src/vty/command.c:

https://gerrit.osmocom.org/c/libosmocore/+/24924/1/src/vty/command.c@67 
PS1, Line 67: time_t uptime;
> static
Done


https://gerrit.osmocom.org/c/libosmocore/+/24924/1/src/vty/command.c@4345 
PS1, Line 4345: 	uptime = time(NULL);
> what about calling it in a lib constructor? this way we ensure it's set as soon as the process is lo […]
Done



-- 
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/24924
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: Ic7d9d5d3c8a9abd06a7e626aed7679f68406040c
Gerrit-Change-Number: 24924
Gerrit-PatchSet: 2
Gerrit-Owner: osmith <osmith at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-CC: pespin <pespin at sysmocom.de>
Gerrit-Comment-Date: Tue, 13 Jul 2021 11:00:18 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: pespin <pespin at sysmocom.de>
Gerrit-MessageType: comment
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20210713/6463f646/attachment.htm>


More information about the gerrit-log mailing list