vxfs_fiostats_getconfig - get sub-file I/O statistics configuration values
cc -I /opt/VRTS/include -L /opt/VRTS/lib
int vxfs_fiostats_getconfig(int fd, int *state, uint64_t *offset, uint64_t *length, uint32_t *nsubfile);
The vxfs_fiostats_getconfig() function indicates that sub-file I/O statistics are turned on when the returned value of state is VX_FIOSTATS_ON, or the sub-file 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 nsubfile are also returned.
vxfs_fiostats_getconfig() returns zero on success, non-zero on failure.
The effective user ID of the calling process does not have the appropriate privileges to perform this operation.
vxfs_fiostats_set(3), vxfs_fiostats_dump(3)