Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!news.albasani.net!news2.arglkargh.de!news.visyn.net!visyn.net!newsfeed.in-ulm.de!not-for-mail From: Volker Birk Newsgroups: comp.os.linux.development.system,comp.unix.programmer Subject: Re: Getting time of last reboot on Linux Date: Sun, 18 Dec 2011 18:19:14 +0000 (UTC) Organization: [ posted via ] IN-Ulm Lines: 17 Message-ID: References: <4c0afddf-5e6e-41f5-b8d2-b65afcc4ee29@z1g2000vbx.googlegroups.com> <85f8eee5-ebb2-40a7-a187-09c47c8fffa7@d10g2000vbk.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: news.in-ulm.de 82B162D8703AA513A0BBE114E2EFE0B2 Xref: x330-a1.tempe.blueboxinc.net comp.os.linux.development.system:345 comp.unix.programmer:1824 In comp.os.linux.development.system Alex Vinokur wrote: > On Dec 18, 7:46 pm, Steve Thompson wrote: >> On Sun, 18 Dec 2011, Alex Vinokur wrote: >> > Is there any sytem call (preferable) or shell-utility to get time of >> > last reboot on Linux? >> /proc/uptime > Thanks. > But I need time of last reboot, not system uptime. Time of last reboot = Now - system uptime Yours, VB. -- "If /dev/null is fast in web scale I will use it." http://www.mongodb-is-web-scale.com/