NWGetPhysicalDiskStats(3nw)


NWGetPhysicalDiskStats -- returns statistics about a specified disk

Synopsis

   #include <nwserver.h> 
   or 
   #include <nwcalls.h> 
   

NWCCODE N_API NWGetPhysicalDiskStats (NWCONN_HANDLE conn, nuint8 physicalDiskNum, PHYS_DSK_STATS N_FAR * statBuffer);

Description

The parameters are as follows:

conn
(IN) Specifies the NetWare server connection handle.

physicalDiskNum
(IN) Specifies the physical disk number.

statBuffer
(OUT) Points to PHYS_DSK_STATS.

Return values

0x0000
SUCCESSFUL

0x8801
INVALID_CONNECTION

0x8996
SERVER_OUT_OF_MEMORY

0x89C6
NO_CONSOLE_PRIVILEGES

Notices

To call NWGetPhysicalDiskStats, you must have console operator rights.

Services

File Server Environment

NCP calls

0x2222 23 216
Read Physical Disk Statistics

30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.