STAT_SERVER_0
The STAT_SERVER_0
structure contains statistical information about the server.
typedef struct _STAT_SERVER_0 {
DWORD sts0_start;
DWORD sts0_fopens;
DWORD sts0_devopens;
DWORD sts0_jobsqueued;
DWORD sts0_sopens;
DWORD sts0_stimedout;
DWORD sts0_serrorout;
DWORD sts0_pwerrors;
DWORD sts0_permerrors;
DWORD sts0_syserrors;
DWORD sts0_bytessent_low;
DWORD
sts0_bytessent_high;
DWORD sts0_bytesrcvd_low;
DWORD
sts0_bytesrcvd_high;
DWORD sts0_avresponse;
DWORD sts0_reqbufneed;
DWORD sts0_bigbufneed;
} STAT_SERVER_0, *PSTAT_SERVER_0, *LPSTAT_SERVER_0;
Members
sts0_start
Specifies the
time statistics collection started. This element also indicates when the
statistics were last cleared. The value is stored as the number of seconds
elapsed since 00:00:00, January 1, 1970. To calculate the length of time that
statistics have been collected, subtract this value from the present time.
sts0_fopens
Specifies the
number of times a file is opened on a server. This includes the number of times
named pipes are opened.
sts0_devopens
Specifies the
number of times a server device is opened.
sts0_jobsqueued
Specifies the
number of server print jobs spooled.
sts0_sopens
Specifies the
number of times the server session started.
sts0_stimeout
Specifies the
number of times the server session automatically disconnected.
sts0_serrorout
Specifies the
number of times the server sessions failed with an error.
sts0_pwerrors
Specifies the
number of server password violations.
sts0_permerrors
Specifies the
number of server access permission errors.
sts0_syserrors
Specifies the
number of server system errors.
sts0_bytessent_low
Specifies the
number of server bytes sent to the network (low DWORD).
sts0_bytessent_high
Specifies the
number of server bytes sent to the network (high DWORD).
sts0_bytesrcvd_low
Specifies the
number of server bytes received from the network (low DWORD).
sts0_bytesrcvd_high
Specifies the
number of server bytes received from the network (high DWORD).
sts0_avresponse
Specifies the
average server response time (in milliseconds).
sts0_regbufneed
Specifies the
number of times the server required a request buffer but failed to allocate
one. This value indicates that the server parameters may need adjustment.
sts0_bigbuffneed
Specifies the
number of times the server required a big buffer but failed to allocate one.
This value indicates that the server parameters may need adjustment.
See Also