uptime – command

Windows – Uptime

Your Windows system’s uptime is displayed in the Task Manager. Right-click the taskbar and select Task Manager or press Ctrl+Shift+Escape to open it.

On Windows 8, click the Performance tab and look under “Up time” at the bottom of the window.

uptime win8

On Windows 7, you’ll also find this information on then Performance tab — look for “Up time” under System.

uptime win7

Windows – Installation Date

You can find the date you installed Windows with the systeminfo command. First, open the Command Prompt — press Windows Key + R, type cmd into the Run dialog, and press Enter. Type the following command into the Command Prompt window and press Enter (note that you must type Original with the capital letter on older versions of Windows).

#systeminfo | find /i “Original”

If you are using Windows 7 or Vista you might need to use this line instead:

#systeminfo | find “Original”

command uptime

Linux – Uptime

Many Linux utilities display your uptime, from the “top”command to graphical system information utilities.

There’s also a dedicated uptime command to display this information. To see your uptime on Linux, open a terminal window, type the following command, and press Enter:

#uptime

uptime linux

Linux – Installation Date

There’s no one standard way to see when you installed your Linux system. What you want to do is find a file that hasn’t been modified since you installed Linux and see when it was created.

For example, Ubuntu’s installer creates log files at /var/log/installer when you install it. You can check when this directory was created to see when the Ubuntu system was installed. To do this, open a terminal window and run the following command:

#ls -ld /var/log/installer

The time and date the folder was created is when you installed your Linux system.

You might also try looking at the /lost+found folder, which is generally created when you install Linux and set up your drive. This should work on other Linux distributions, too:

#ls -ld /lost+found

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s