Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Please advice – how to verify OS (linux / solaris ) installation creation date

which file/packages/other – can be good indication when the operation system was created/installed ?

For example

I installed the linux 5.5 in date 23/10/2012 , How to verify in my linux this date ? ( the same question about solaris 10 )

share|improve this question
do you mean RedHat Enterprise Linux 5.5 ? – LiuYan 刘研 Nov 27 '12 at 9:42
yes - but my question should be relevant for all Linux versions ( from 5.0 until latest version ) – yael Nov 27 '12 at 9:44
up vote 0 down vote accepted

The best 2 solutions:

  1. Look at your root file system creation. For ext2 and ext3 you should use

    dumpe2fs /dev/sdX1 | grep "Filesystem created:"

If you use XFS on solaris you should follow the same approach (probably xfs_db ?)

  1. Find the installer log. there you will find files what are write in the moment of installation. In ubuntu for example I have /var/log/installer/lsb-release and the date of this file shows me the date of system installation.

Solution 1 is the absolute solution.

share|improve this answer

try with long listing of /bin /sbin files. check the dates of binaries there, you will get a hint.

I think in Solaris /bin is a link to /usr/bin

anyways listing dates of binaries can turn out to be useful.

share|improve this answer
I need absolute solution so I will add the rule in my shell script – yael Nov 27 '12 at 9:45

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.