Earlier while troubleshooting an issue for a customer I needed to start at the bare minimum of troubleshooting because the issue at hand was a bit out of my area of expertise. The problem as reported existed on a Windows 2003 R2 server running backup software called Retrospect. The backup software was reporting via email to the IT staff that it was no longer working and they needed me to locate the issue and resolve. The first thing I needed to do was to see how long the server had been up, if any patches had been applied recently, and if anything else had changed since the last successful backup. Again since this is out of my area of expertise I first needed to see how long the server had been up which luckily is almost as easy to do on Windows 2003 R2 as it is on Linux. Below I provide to examples of how to check server uptime on Windows.
The other day while troubleshooting an issue on a server I noticed something I hadn’t ever noticed before which was an exclamation mark next to the uptime output from the htop command. After investigating and looking over the source I found that it is a bonus letting you know that your server has been up for a long time. Basically anything over 100 days of uptime will produce an exclamation mark next to the uptime reading. Below I show the sourcecode from the UptimeMeter.c file in the htop source as well as examples of how the htop uptime can vary depending on how long your server has actually been up.
While working on the computer shop network I had to modify the configuration on our switch which is a Cisco Catalyst 2950. After making a bunch of changes I was testing things to make sure all was working as expected however after taking a break and logging back into the 2950 it appeared that all of the changes made had been reverted. I was assuming the Catalyst 2950 had lost power briefly which means all of the changes were lost since they had not been saved to the startup config yet. To verify my assumption I needed to look at the amount of time the switch had been up however “uptime” is not a valid iOS command. Below is information on the command used to verify uptime on a Cisco Catalyst 2950.