Since When…?

Those of us who have been in the IT industry for a while remember the heady days of never having to reboot a server… otherwise known as ‘The days before Windows Server.’  Those days are long gone, and even non-Windows servers need to be patched and restarted.

But how do you know when it last happened?  If you have a proper management and monitoring infrastructure then you can simply pull up a report… but many smaller companies do not have that, and even in larger environments you may want to figure out up-time without having to go through the entire rigmarole of pulling up your reports. So here it is:

  1. Open a Command Prompt
  2. Type in net statistics server

There will be a line that says Statistics since m/dd/yyyy… That is when your server last rebooted.

If you want to shorten it, you can also just type Net Stats SRV.  It provides the same results.

Uptime

Incidentally, while the command specifically states Server, it works for workstations too.

…And now you know.

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: