Share via


get total disk activity

Question

Sunday, December 7, 2014 11:07 AM

Hi,

how can i get the total disk activity per run like i see in resource monitor?

THX

All replies (6)

Sunday, December 7, 2014 12:12 PM ✅Answered

http://www.computerperformance.co.uk/powershell/powershell_perfmon.htm

¯\(ツ)_/¯


Sunday, December 7, 2014 3:17 PM ✅Answered

Start like this if you use PowerShell:

PS C:\scripts> get-counter -ListSet physicaldisk|select -expand counter
\PhysicalDisk(*)\Current Disk Queue Length
\PhysicalDisk(*)\% Disk Time
\PhysicalDisk(*)\Avg. Disk Queue Length
\PhysicalDisk(*)\% Disk Read Time
\PhysicalDisk(*)\Avg. Disk Read Queue Length
\PhysicalDisk(*)\% Disk Write Time
\PhysicalDisk(*)\Avg. Disk Write Queue Length
\PhysicalDisk(*)\Avg. Disk sec/Transfer
\PhysicalDisk(*)\Avg. Disk sec/Read
\PhysicalDisk(*)\Avg. Disk sec/Write
\PhysicalDisk(*)\Disk Transfers/sec
\PhysicalDisk(*)\Disk Reads/sec
\PhysicalDisk(*)\Disk Writes/sec
\PhysicalDisk(*)\Disk Bytes/sec
\PhysicalDisk(*)\Disk Read Bytes/sec
\PhysicalDisk(*)\Disk Write Bytes/sec
\PhysicalDisk(*)\Avg. Disk Bytes/Transfer
\PhysicalDisk(*)\Avg. Disk Bytes/Read
\PhysicalDisk(*)\Avg. Disk Bytes/Write
\PhysicalDisk(*)\% Idle Time
\PhysicalDisk(*)\Split IO/Sec

¯\(ツ)_/¯


Sunday, December 7, 2014 12:11 PM

http://blogs.technet.com/b/josebda/archive/2014/10/13/diskspd-powershell-and-storage-performance-measuring-iops-throughput-and-latency-for-both-local-disks-and-smb-file-shares.aspx

¯\(ツ)_/¯


Sunday, December 7, 2014 1:57 PM

is there any counter that i can query to get the results like in disk activity?


Sunday, December 7, 2014 3:10 PM

I believe that is the total of reads plus writes.  Just add the two counters.

¯\(ツ)_/¯


Sunday, December 7, 2014 3:12 PM

To find specific countere run permon.

You can als use the techniques in the articles to get the counters.

¯\(ツ)_/¯