winsat disk Command In Windows Server 2008

In this article I am going to explain about winsat disk Command in Windows Server 2008 operating system and also explain it's related syntax.
  • 1906

Introduction

This command used for measures the performance of a storage device, to understand it  we have read these type of assessment :

  1. A sequential or random read assessment.
  2. A sequential or random write assessment.
  3. A write flush policy test.
     

Syntax

winsat disk <-seq|-ran> <-read|-write> <-n <disk identification number>|-drive <drive letter>> <optional parameters>
winsat disk flush <-n <disk identification number>|-drive <drive letter>>


 Parameter  Description
-flush Assess disk performance in write policy flush mode. Cannot be used in combination with -seq, -ran, -write, or -read.
-seq Assess sequential IO performance. Cannot be used in combination with -ran or -flush.
-ran Assess random IO performance. Cannot be used in combination with -seq or -flush.
-read Assess read performance. Cannot be used in combination with -write or -flush.
-write Identify by physical disk identification number which disk should be assessed. Cannot be used in combination with -drive..
-n <disk identification number> Identify by drive letter which disk should be assessed. Cannot be used in combination with -n.


Example

This example assesses the sequential I/O read performance of drive C:

winsat disk -seq -read -drive c

This example assesses the random I/O write performance of drive number 2:

winsat disk -ran -write -n 2

This example assesses the flush performance of drive C:

winsat disk -flush -drive c

Ask Your Question 

Got a programming related question? You may want to post your question here

Programming Answers here

Categories

More Articles

© 2020 DotNetHeaven. All rights reserved.