test veritas logo


vxfs_fiostats_getconfig(3)

NAME

vxfs_fiostats_getconfig - get file range I/O statistics configuration values

SYNOPSIS

cc -I /opt/VRTS/include -L /opt/VRTS/lib

#include <sys/types.h>

#include <vxfsutil.h>

int vxfs_fiostats_getconfig(int fd, int *state, uint64_t *offset, uint64_t *length, uint32_t *nfilerange);

AVAILABILITY

VRTSvxfs

DESCRIPTION

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.

RETURN VALUES

vxfs_fiostats_getconfig() returns zero on success, non-zero on failure.

ERRORS

EPERM The effective user ID of the calling process does not have the appropriate privileges to perform this operation.

SEE ALSO

vxfs_fiostats_set(3), vxfs_fiostats_dump(3)


VxFS 7.4.1 vxfs_fiostats_getconfig(3)