It checks the Linux version alongside information such as OS type, kernel, Shell type, CPU and memory information, and even uptime. Neofetch is a command-line tool that displays a flurry of system information on a terminal including the OS logo. Usually, it’s used to check logged in users, but along with that, it also displays uptime statistics.ģ) Check uptime for a Linux server using neofetch utility The w command is yet another command-line tool that you can use to derive uptime. To view the uptime in a more user-friendly and human-readable format, append the -p flag. If you want to display the last time since the system has been up, append the -s flag. Here’s a good example of the sample output. It prints on the terminal the last time when the system was booted, the uptime in HH:mm format, and the load average. Let’s begin with the simple uptime command. 1) Check uptime for a server using the uptime command Without much further ado, let’s get started. Any Linux distribution will do as the commands we are running are universal. If you don’t have a physical server, you can deploy a fully managed Cloud VPS starting at $4.20 a month. To get started, you need to have an instance of a Linux server. There are various ways of accomplishing this using various tools. In this guide, you will learn how to check uptime for a Linux server. Sometimes, you might need to know for how long your system has been running.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |