[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Spacewalk-list] list of systems by uptime?



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 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 redhat com
https://www.redhat.com/mailman/listinfo/spacewalk-list


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]