In your day to day operation, you sometimes need to know about what is the uptime of your servers or computers. We will be guiding you to get the system uptime for both Windows and Linux machines. This will also help you to get the last boot time of your system.
How to check uptime in Windows System?
Using Task Manager – Probably this is the simplest method to know the system uptime. Just follow the below steps:
- Right Click on your Task Bar in your computer
2. Once you open the Task Manager, Click on Performance Tab.
3. Now you can see the system Up time in the above window.
Using Command Prompt
You need to open the Command Prompt or PowerShell and run the command systeminfo | find “System Boot Time” and the output will be as below:
C:\Users\techyguy>systeminfo | find "System Boot Time"
System Boot Time: 10/4/2020, 9:14:57 AM
If you only run the commands systeminfo only, It will provide your complete system information such as Name, Network, Hotfixes, Processor and RAM etc.
Using Uptime.exe Utility
uptime is a simple utility for Windows that can be used to quickly find out how long it’s been since the last restart. You need to download it from the NeoSmart website and put it in the system32 folder of your computer. Just double click on it to see the results.
Using Net Statistics Command
You can use Net Statistics commands to see the uptime. Just run the below commands in either CMD or PowerShell.
net statistics workstation or net statistics server
You can check system uptime by using below commands in your CMD or Powershell.
wmic path Win32_OperatingSystem get LastBootUpTime
The output will be similiar:
To understand it better, we can broke it further.
- Year: 2020
- Month: 10
- Day: 04
- Hour: 09
- Minute: 14
- Second: 57
- Millisecond: 500000
How to check uptime in Linux System?
To find uptime of a Linux system, you may use one of any below commands.
- uptime – This command will let you know how longs the system is running.
2. top – Apart from resource statistics, it shows the system uptime.
3. w – This commands will let you know about logged in user information and system uptime
How to check uptime in VMware ESXi?
To check the uptime of a VMware ESXi hypervisor, Please refer our article below.