vxfs_fiostats_getconfig - get file range I/O statistics configuration values
cc -I /opt/VRTS/include -L /opt/VRTS/lib
-l vxfsutil -ldl
int vxfs_fiostats_getconfig(int fd, int *state, uint64_t *offset, uint64_t *length, uint32_t *nfilerange);
The vxfs_fiostats_getconfig() function indicates that file range I/O statistics are turned on when the returned value of state is VX_FIOSTATS_ON, or the file range I/O statistics are turned off when the value of state is VX_FIOSTATS_OFF. When statistics are turned on, the values of offset, length, and nfilerange are also returned.
vxfs_fiostats_getconfig() returns zero on success, non-zero on failure.
EPERM The effective user ID of the calling process does not have the appropriate privileges to perform this operation.
|VxFS 5.1 SP1||vxfs_fiostats_getconfig (3)|