Admin Tip #228 : UpTime display how long NT has been running |
Hits: Failed to execute CGI : Win32 Error Code = 3
|
It uses the Performance Data Helper library to easily read the System Up Time performance counter on the local machine or the machine you specify by name on the command line. Full source code is included and I've included a copy of PDH.DLL, a Microsoft DLL that comes with the SDK. Contrary to what Microsoft's documentation implies, it doesn't appear that this DLL is included in a standard NT 3.51 or 4.0 distribution (it is in NT 5.0).
New Riders has good NT texts.