Luis,<br><br>If someone responds offlist, or you find out, could you let me know? I'm looking for a solution to this as well.<br><br>Thanks!<br>-brandon<br><br><div class="gmail_quote">On Fri, Jul 24, 2009 at 11:24 AM, Luis Garcia <span dir="ltr"><<a href="mailto:luis.garciavega@gmail.com">luis.garciavega@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hiya Spacewalkers,<br>
<br>
Is there a way, via the api, to retrieve the uptime of a particular<br>
system?  I've searched the system,  system.config, system.custominfo<br>
and system.search documentation,  but I wasn't able to find anything.<br>
<br>
I don't need a fancy date or anything. just the numbers of days up would work.<br>
<br>
Reading the comments on the backend/server/handlers/xmlrpc/queue.py<br>
file, it seems like the system sends the uptime to the spacewalk<br>
server, and then the server calculates the actual date and time of the<br>
last reboot.<br>
<br>
Any Ideas?<br>
<br>
Thanks,<br>
~Luis<br>
<br>
_______________________________________________<br>
Spacewalk-list mailing list<br>
<a href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Brandon Galbraith<br>Mobile: 630.400.6992<br>FNAL: 630.840.2141<br>