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