Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.development.system > #342

Re: Getting time of last reboot on Linux

Path csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder3.hal-mli.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!news.glorb.com!postnews.google.com!d10g2000vbk.googlegroups.com!not-for-mail
From Alex Vinokur <alex.vinokur@gmail.com>
Newsgroups comp.os.linux.development.system, comp.unix.programmer
Subject Re: Getting time of last reboot on Linux
Date Sun, 18 Dec 2011 10:12:55 -0800 (PST)
Organization http://groups.google.com
Lines 12
Message-ID <85f8eee5-ebb2-40a7-a187-09c47c8fffa7@d10g2000vbk.googlegroups.com> (permalink)
References <4c0afddf-5e6e-41f5-b8d2-b65afcc4ee29@z1g2000vbx.googlegroups.com> <alpine.LRH.0.9999.1112181246080.2060@helios.vgersoft.com>
NNTP-Posting-Host 85.65.58.188
Mime-Version 1.0
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding quoted-printable
X-Trace posting.google.com 1324231976 14813 127.0.0.1 (18 Dec 2011 18:12:56 GMT)
X-Complaints-To groups-abuse@google.com
NNTP-Posting-Date Sun, 18 Dec 2011 18:12:56 +0000 (UTC)
Complaints-To groups-abuse@google.com
Injection-Info d10g2000vbk.googlegroups.com; posting-host=85.65.58.188; posting-account=sAQW4QoAAAD0sEMtPZT5ZQAoCvnIQVfG
User-Agent G2/1.0
X-Google-Web-Client true
X-Google-Header-Order ARLUEHNKC
X-HTTP-UserAgent Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; InfoPath.2; OfficeLiveConnector.1.5; OfficeLivePatch.1.3; .NET4.0C; BRI/2; AskTbORJ/5.13.1.18107; GTB7.2),gzip(gfe)
Xref x330-a1.tempe.blueboxinc.net comp.os.linux.development.system:342 comp.unix.programmer:1821

Cross-posted to 2 groups.

Show key headers only | View raw


On Dec 18, 7:46 pm, Steve Thompson <s...@vgersoft.com> 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.

Alex

Back to comp.os.linux.development.system | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Getting time of last reboot on Linux Alex Vinokur <alex.vinokur@gmail.com> - 2011-12-18 09:35 -0800
  Re: Getting time of last reboot on Linux Steve Thompson <smt@vgersoft.com> - 2011-12-18 12:46 -0500
    Re: Getting time of last reboot on Linux Alex Vinokur <alex.vinokur@gmail.com> - 2011-12-18 10:12 -0800
      Re: Getting time of last reboot on Linux Volker Birk <bumens@dingens.org> - 2011-12-18 18:19 +0000
        Re: Getting time of last reboot on Linux Andrew Smallshaw <andrews@sdf.lonestar.org> - 2011-12-21 16:01 +0000
  Re: Getting time of last reboot on Linux Volker Birk <bumens@dingens.org> - 2011-12-18 18:18 +0000
  Re: Getting time of last reboot on Linux Lew Pitcher <lpitcher@teksavvy.com> - 2011-12-18 13:31 -0500
    Re: Getting time of last reboot on Linux Stephane CHAZELAS <stephane_chazelas@yahoo.fr> - 2011-12-18 21:48 +0000
      Re: Getting time of last reboot on Linux Barry Margolin <barmar@alum.mit.edu> - 2011-12-18 21:29 -0500
        Re: Getting time of last reboot on Linux Stephane CHAZELAS <stephane_chazelas@yahoo.fr> - 2011-12-19 12:59 +0000
    Re: Getting time of last reboot on Linux William Ahern <william@wilbur.25thandClement.com> - 2011-12-19 15:15 -0800
      Re: Getting time of last reboot on Linux Lew Pitcher <lpitcher@teksavvy.com> - 2011-12-19 19:20 -0500
        Re: Getting time of last reboot on Linux William Ahern <william@wilbur.25thandClement.com> - 2011-12-19 18:32 -0800
        Re: Getting time of last reboot on Linux gordonb.xm1tg@burditt.org (Gordon Burditt) - 2011-12-22 00:16 -0600
          Re: Getting time of last reboot on Linux Stefan Monnier <monnier@iro.umontreal.ca> - 2012-01-09 09:18 -0500
      Re: Getting time of last reboot on Linux Ivan Shmakov <oneingray@gmail.com> - 2011-12-20 11:48 +0700
  Re: Getting time of last reboot on Linux Richard Kettlewell <rjk@greenend.org.uk> - 2011-12-21 17:06 +0000
    Re: Getting time of last reboot on Linux gazelle@shell.xmission.com (Kenny McCormack) - 2012-02-09 17:25 +0000
      Re: Getting time of last reboot on Linux Richard Kettlewell <rjk@greenend.org.uk> - 2012-02-09 21:11 +0000

csiph-web