BookmarkSubscribeRSS Feed
raj231
Obsidian | Level 7

Hi, 

 

I want to calculate the downtime of a SAS Server and have used last reboot command. The result was as given below:

reboot   system boot  3.2.17           Fri May 18 04:05 - 21:05 (17:00)
reboot   system boot  3.2.17           Fri May 18 03:05 - 21:05 (18:00)

 

Can someone suggest as how to calculate the down time between two successive reboots on the same day?

1 REPLY 1
Kurt_Bremser
Super User

I guess that the earlier line is the result of a system crash, power outage or other hard reset where the shutdown was not recorded properly. In normal operations, you should have a shutdown time before 4:05 (the next boot).

If the server in question is set to automatic reboot in case of a crash, you might measure the time a reboot takes in such a case, so you can set a default downtime.

 

It's best to measure server uptimes from outside, eg by pinging regularly and recording failed pings. Even better by checking services that need to be up.

sas-innovate-2024.png

Don't miss out on SAS Innovate - Register now for the FREE Livestream!

Can't make it to Vegas? No problem! Watch our general sessions LIVE or on-demand starting April 17th. Hear from SAS execs, best-selling author Adam Grant, Hot Ones host Sean Evans, top tech journalist Kara Swisher, AI expert Cassie Kozyrkov, and the mind-blowing dance crew iLuminate! Plus, get access to over 20 breakout sessions.

 

Register now!

How to Concatenate Values

Learn how use the CAT functions in SAS to join values from multiple variables into a single value.

Find more tutorials on the SAS Users YouTube channel.

Click image to register for webinarClick image to register for webinar

Classroom Training Available!

Select SAS Training centers are offering in-person courses. View upcoming courses for:

View all other training opportunities.

Discussion stats
  • 1 reply
  • 420 views
  • 0 likes
  • 2 in conversation