ngkruto.blogg.se

Check if server is up
Check if server is up






check if server is up

Log into linux Server via SSH as ‘root’Ģ.

check if server is up

‘last reboot’ command will show when the server was last rebootedġ.

check if server is up

Run the command ‘cat /proc/uptime’ to check server uptime in ~]# cat /proc/uptime The first number in the command output is the total number of seconds the server is up.Ģ. ‘cat /proc/uptime’ command will show the server uptime in seconds. Run the command ‘top -c’ to check the server uptime Top command will display server uptime, processes running under users, CPU usage, Memory usage, zombie process etcĢ. The above linux server is online for 3 days 14 hours and 24 minutes. Log into your linux server via SSH as ‘root’Ģ. This command will display the current server time, server uptime, number of users on server and what they are doing etcġ. ‘w’ command can be used to check the uptime of your linux server/system. “uptime –since” OR “uptime -s” command will display since when the server/system is ~]# uptime –since Load average: 0.07, 0.14, 0.14 = This is the load average of the server. If you just type ‘uptime’ command it will display current server time, server uptime, numbers of users on server and load ~]# uptimeĢ2:10:29 up 3 days, 13:57, 1 user, load average: 0.07, 0.14, 0.14Ģ2:10:29 = This is the current server timeģ days, 13:57 = This linux server is up for 3 days 13 hours and 57 minutes.ġ user = One user is currently online on the server ‘uptime –pretty’ OR ‘uptime -p’ command will show the uptime of the server in days, hours and ~]# uptime –pretty Run the command ‘uptime’ to check the uptime of the server Try any of the below command to check uptime of your VPS/Dedicated server.Ģ. You can use different commands to check the uptime of linux server. Uptime of a server means how long the server is running since last reboot/shutdown.








Check if server is up