Symantec logo

vxfs_fiostats_getconfig

NAME

vxfs_fiostats_getconfig - get sub-file 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 *nsubfile);

AVAILABILITY

VRTSvxfs

DESCRIPTION

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.

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)