NWGetDiskUtilization(3nw)
NWGetDiskUtilization --
allows a client to determine how much physical space the specified object ID is using on the given volume
Synopsis
#include <nwvol.h>
or
#include <nwcalls.h>
NWCCODE N_API NWGetDiskUtilization
(NWCONN_HANDLE conn,
nuint32 objID,
nuint8 volNum,
pnuint16 usedDirectories,
pnuint16 usedFiles,
pnuint16 usedBlocks);
Description
The parameters are as follows:
- conn
-
(IN) Specifies the NetWare® server connection handle.
- objID
-
(IN) Specifies the object ID.
- volNum
-
(IN) Specifies the volume number.
- usedDirectories
-
(OUT) Points to the number of directories on the volume owned by objID.
- usedFiles
-
(OUT) Points to the number of files on the volume owned by objID.
- usedBlocks
-
(OUT) Points to the number of physical volume blocks occupied by files owned by objID.
Return values
- 0x8801
-
INVALID_CONNECTION
- 0x8996
-
SERVER_OUT_OF_MEMORY
- 0x8998
-
VOLUME_DOES_NOT_EXIST
- 0x89A1
-
DIRECTORY_IO_ERROR
- 0x89F2
-
NO_OBJECT_READ_PRIVILEGE
- 0x89FC
-
NO_SUCH_OBJECT
Notices
Clients who are SUPERVISOR equivalent can call NWGetDiskUtilization for any object. Clients not having SUPERVISOR rights can call NWGetDiskUtilization only
for the object used when logging in.
Call either NWGetObjectID or NWMapNameToID to get the
object ID.
Services
Volume
NCP calls
- 0x2222 23 14
-
Get Disk Utilization
- 0x2222 23 54
-
Get Object Name
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.