How do you find the uptime of a Linux server - TechBeginner

Welcome to TechBeginner.in, Tech Beginner provides technical blog for Online Linux Tutorials, Ubuntu Tutorials, Redhat Tutorials and CentOS 7, Configuration of server like Web Server, Application server, Database server, Window server, networking, html, css, java script, php, wordpress, opencart, magento, joomla and etc.

How do you find the uptime of a Linux server

Share This


 

Linux order transport with different order line apparatuses to discover worker uptime order. Document/proc/uptime has uptime data, and record/var/run/utmp has data concerning who is at present signed on. Nonetheless, information from/proc/uptime or/var/run/utmp document isn't straightforwardly comprehensible by people.

 

In this post, We will find out the uptime of the linux based machine.

 

Command 1 

 

You need to execute the following command to get linux machine's uptime.

 

uptime

 

Command 2

 

Run the w order to show data about the clients right now on the Linux machine, and their cycles. The header shows, in a specific order, the current time, how long the framework has been running, the number of clients are right now signed on, and the framework load midpoints for the beyond 1, 5, and 15 minutes. For instance, type the accompanying w order:

 

w

 

Command 3 

 

The top order gives a unique continuous perspective on a running framework. It can show framework synopsis data just as a rundown of cycles including framework uptime. Open the terminal and run:

 

top

 

Conclusion
 
We have successfully find out the uptime on Ubuntu machine, If still you have any question, Please leave a message.
 

 

No comments:

Post a Comment