Provides disk activity statistics such as:
The number of bytes read from and written to disk.
The number of files read from and written to disk.
The number of directory searches performed by the server.
Returns the number of bytes read from disk.
object.BytesRead
Long.
Read-only.
This example returns the number of bytes read from disk.
set srv = CreateObject ("ucx:Server")
set statobj = srv.diskstat
print (statobj.bytesread) &' bytes are read from disk'
Returns the number of bytes written to disk.
object.BytesWritten
Long.
Read-only.
This example returns the number of bytes written to disk.
set srv = CreateObject ("ucx:Server")
set statobj = srv.diskstat
print (statobj.byteswritten) &' bytes are written to disk'
Returns the number of directory searches performed by the server.
object.DirSearches
Long.
Read-only.
This example returns the number of directory searches performed by the server.
set srv = CreateObject ("ucx:Server")
set statobj = srv.diskstat
print (statobj.Dirsearches) &" times the server performed a directory search"
Returns the number of files read from disk.
object.FileReads
Long.
Read-only.
This FileReads example returns the number of files read from disk.
set srv = CreateObject ("ucx:Server")
set statobj = srv.diskstat
print (statobj.filereads) &" files are read from disk"
Returns the number of files written to disk.
object.FileWrites
Long.
Read-only.
This example returns the number of files written to disk.
set srv = CreateObject ("ucx:Server")
set statobj = srv.diskstat
print (statobj.filewrites) &" files are written to disk"