Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Security
User Name
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.


  Search this Thread
Old 12-11-2002, 06:26 AM   #1
LQ Newbie
Registered: Jan 2002
Location: UK
Distribution: Debian / Ubuntu/ Linux Mint / SuSe
Posts: 9

Rep: Reputation: 0
Integrity checks on RH 6.1

Hi, I have two linux RH 61 servers, which both rebooted at about 04:02 on December the 8th 2002. I am a little concerned since they have both been up for exactly 498 days.

is there something that stops RH 6.1 rolling over to 499 days? uptime.

some of the daemons appear to have restarted themselves, and since I have not configured them these daemons to auto restart on reboot I must suspect that perhaps the servers have not re-booted, note. * this has happened to both servers at exactly the same time.

Looking through the logs, one would expect to see the `date and time` but from he logs they do not appear to have been rebooted.

Suggestions please,

Is there some way of telling how long the server has been up without using `uptime`

Old 12-11-2002, 07:29 AM   #2
Registered: Dec 2002
Location: North West England
Distribution: fedora
Posts: 52

Rep: Reputation: 15
Taken from the :
"The Linux kernel (at least up to 2.4.2) has a flaw: It computes the result of the "uptime" based on the internal "jiffies" counter, which counts the time since boot, in units of 10 milliseconds.
This is typecast as an "unsigned long" - on the Intel boxes, that's an unsigned 32-bit number.
Well, it turns out that in a 32-bit number, you can store 497.1 days before the number wraps"


You could write a script to add 497.1 days to the output of uptime as a quick & dirty solution and set
alias uptime=""
Congrats on having such a reliable system..


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
Script that checks mapsize objorkum Linux - Software 1 07-06-2005 11:42 AM
FC 3 integrity nanoprobe Fedora 9 01-18-2005 11:50 PM
Checks during bootup?? halo14 Slackware 1 09-23-2004 09:52 AM
what command checks for email? bosewicht Linux - Newbie 1 03-14-2004 07:15 PM
linux won't start after checks vavavoom Linux - Newbie 5 11-04-2003 09:58 PM > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 03:22 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