Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 07-06-2009, 07:22 PM   #1
Registered: Apr 2008
Posts: 155
Blog Entries: 2

Rep: Reputation: 15
linux uptime and last reboot

Hi ,

I have linux server which is redhat 7.2
[root@hubble ~]# cat /etc/redhat-release
Red Hat Linux release 7.2 (Enigma)

when i give uptime it shows 31 days that means it has been up for 30 days and if give last reboot , it says wtmp begins Mon Jul 6 01:07:56 2009 . what is the difference between them? i did not reboot the server recently

[root@hubble ~]# uptime
10:17am up 31 days, 23:29, 3 users, load average: 0.00, 0.02, 0.00

[root@hubble ~]# last reboot

wtmp begins Mon Jul 6 01:07:56 2009

can you pls explain why it so?
Any help would be highly appreciated!!
Old 07-06-2009, 07:51 PM   #2
Senior Member
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 613Reputation: 613Reputation: 613Reputation: 613Reputation: 613Reputation: 613
your wtmp file was cleared or rotated today.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Longest Uptime for Linux, yours not somebody else's. dalek Linux - General 64 03-12-2015 11:11 AM
Linux uptime script.. billeman Linux - Software 1 09-19-2005 11:11 AM
is there any fun() available in linux to find system uptime without using sysinfo uppala MEPIS 2 06-15-2005 09:45 AM
Linux on laptop reboots after a few mins of uptime renak Linux - Laptop and Netbook 2 04-28-2004 03:30 AM
Is there a project that talks about different linux distros' uptime? csvke Linux - General 1 03-12-2004 09:48 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 11:30 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration