Returns the number of disk writes by Microsoft® SQL Server™ since it was last started.
@@TOTAL_WRITE
integer
To display a report containing several SQL Server statistics, including read and write activity, run sp_monitor.
This example shows the total number of disk read and writes as of the current date and time.
SELECT @@TOTAL_READ AS 'Reads', @@TOTAL_WRITE AS 'Writes', GETDATE() AS 'As of'
Here is the result set:
Reads Writes As of
--------- ----------- ------------------------------
978 124 1998-04-21 22:14:22.37
sp_monitor | System Statistical Functions |
@@TOTAL_READ |