LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 07-06-2009, 07:22 PM   #1
linuxguy08
Member
 
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!!
Thanks
 
Old 07-06-2009, 07:51 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,647

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


Reply


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 61 05-10-2013 10:50 PM
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


All times are GMT -5. The time now is 10:20 AM.

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