STAT_SERVER_0 structure (lmstats.h)
Contains statistical information about the server.
Syntax
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 a DWORD value that indicates the time when statistics collection started (or when the statistics were last cleared). The value is stored as the number of seconds that have elapsed since 00:00:00, January 1, 1970, GMT. To calculate the length of time that statistics have been collected, subtract the value of this member from the present time.
sts0_fopens
Specifies a DWORD value that indicates the number of times a file is opened on a server. This includes the number of times named pipes are opened.
sts0_devopens
Specifies a DWORD value that indicates the number of times a server device is opened.
sts0_jobsqueued
Specifies a DWORD value that indicates the number of server print jobs spooled.
sts0_sopens
Specifies a DWORD value that indicates the number of times the server session started.
sts0_stimedout
Specifies a DWORD value that indicates the number of times the server session automatically disconnected.
sts0_serrorout
Specifies a DWORD value that indicates the number of times the server sessions failed with an error.
sts0_pwerrors
Specifies a DWORD value that indicates the number of server password violations.
sts0_permerrors
Specifies a DWORD value that indicates the number of server access permission errors.
sts0_syserrors
Specifies a DWORD value that indicates the number of server system errors.
sts0_bytessent_low
Specifies the low-order DWORD of the number of server bytes sent to the network.
sts0_bytessent_high
Specifies the high-order DWORD of the number of server bytes sent to the network.
sts0_bytesrcvd_low
Specifies the low-order DWORD of the number of server bytes received from the network.
sts0_bytesrcvd_high
Specifies the high-order DWORD of the number of server bytes received from the network.
sts0_avresponse
Specifies a DWORD value that indicates the average server response time (in milliseconds).
sts0_reqbufneed
Specifies a DWORD value that indicates 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_bigbufneed
Specifies a DWORD value that indicates 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.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP [desktop apps only] |
Minimum supported server | Windows Server 2003 [desktop apps only] |
Header | lmstats.h (include Lm.h) |