I need to find PC uptime from the day of installation until now.
Is this logged somewhere? Does any file log this cumulative uptime?
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.Sign up to join this community
If you have some server, use commands like:
$ uptime $ w $ last
HDD SMARTCTL is also good try.
Also from installation could be information about date created of some files in filesystem. Think about, which files were created with installing of your system?
If you have linux, look at the date of creation of your /root/ directory. If you have windows, it will be worse...
Install tuptime, since that moment, you will have a track of the system uptime.
Depending on the filesystem, the superblock might have the date the filesystem was created. You'd want to check the root filesystem. There is more information here