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

Re: Is there a way to tell when a system was first booted?



>>>>> shawn wilson <ag4ve.us@gmail.com> writes:
>>>>> On Sat, Aug 27, 2011 at 11:43, John A. Sullivan III wrote:
>>>>> On Sun, 2011-08-28 at 00:36 +1000, yudi v wrote:

 >>> Is there a way to tell when a system was first booted?

 >> Does "uptime" do what you want or do you mean booted for the truly
 >> very first time (not counting reboots)?

 > cat /proc/uptime

	How's that more legible than the output of the uptime(1)
	command?

$ cat < /proc/uptime 
44547837.32 177282465.98
$ uptime 
 17:24:43 up 515 days, 14:24,  3 users,  load average: 0.00, 0.00, 0.00
$ 

-- 
FSF associate member #7257	Coming soon: Software Freedom Day
http://mail.sf-day.org/lists/listinfo/ planning-ru (ru), sfd-discuss (en)


Reply to: