Windows OSのアップタイム時間を調べる方法

Windowsというか、アプリ側なのか判断が難しいですが、Window7でもまだ連続稼働をすると、経験から1週間くらいで何かしら問題が発生してきます。動作が極端に遅くなったりと動作不安定になります。そのため、Windowsは何かあったら再起動と言われるんでしょうね。

さて、Windowsのアップタイムを調べる簡単なコマンドがあります。

コマンドプロンプトで、「net statistics [server] [workstation]」と入力すれば調べられます。

C:\Users\username>net statistics server
Server Statistics for \\hostname
Statistics since 2015/02/24 17:26:20
Sessions accepted 1
Sessions timed-out 0
Sessions errored-out 0

Kilobytes sent 40
Kilobytes received 0

Mean response time (msec) 0

System errors 0
Permission violations 0
Password violations 0

Files accessed 68
Communication devices accessed 0
Print jobs spooled 0

Times buffers exhausted

Big buffers 0
Request buffers 0

The command completed successfully.

C:\Users\username>net statistics workstation
Workstation Statistics for \\hostname
Statistics since 2015/02/24 17:25:32
Bytes received 16371571
Server Message Blocks (SMBs) received 10570
Bytes transmitted 986672
Server Message Blocks (SMBs) transmitted 9127
Read operations 931
Write operations 13
Raw reads denied 0
Raw writes denied 0

Network errors 0
Connections made 33
Reconnections made 239
Server disconnects 18

Sessions started 0
Hung sessions 0
Failed sessions 0
Failed operations 0
Use count 500
Failed use count 257

The command completed successfully.