/* * call-seq: * Uptime.hours * * Returns the total number of hours the system has been up. */ static VALUE uptime_hours() { return UINT2NUM(get_uptime_secs() / 3600); }