[Spacewalk-list] list of systems by uptime?

Alexander Innes senni at necurity.co.uk
Wed Feb 4 12:54:43 UTC 2015


Yopu can use "system_details" then parse it to get

Registered:    20150112T09:27:48
Last Checkin:  20150204T11:09:13
OSA Status:    unknown
Last Boot:     20150121T11:24:58


or you could use "system_runscript" to run uptime or w.


Alex

On 3 February 2015 at 21:46, Matthew Rinella <MRinella at apptio.com> wrote:

>  Is there a way to get the uptime or last reboot time of a system, or all
> systems through the API?
>
>
>
> I saw via google this was discussed before on the list but I couldn’t not
> find a definitive answer if it was ever implemented.
>
>
>
> Thanks.
>
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20150204/1cf467d1/attachment.htm>


More information about the Spacewalk-list mailing list