2.2.4.39 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;

sts0_start: Specifies a DWORD value that indicates the time when statistics collection started (or when the statistics were last cleared). The value MUST be stored as the number of seconds that have elapsed since 00:00:00, January 1, 1970, Greenwich Mean Time (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 Opens that have been created on a server. This MUST include the number of times named pipes are opened.

sts0_devopens: Specifies a DWORD value that indicates the number of times a server device has been opened. This field MUST be set to 0.

sts0_jobsqueued: Specifies a DWORD value that indicates the number of server print jobs that are spooled.

sts0_sopens: Specifies a DWORD value that indicates the number of sessions that have been established to a server.

sts0_stimedout: Specifies a DWORD value that indicates the number of times a session is disconnected.

sts0_serrorout: Specifies a DWORD value that indicates the number of times a session failed with an error. This field MUST be set to 0.

sts0_pwerrors: Specifies a DWORD value that indicates the number of password violations that the server has detected.

sts0_permerrors: Specifies a DWORD value that indicates the number of access permission errors that have occurred on the server.

sts0_syserrors: Specifies a DWORD value that indicates the number of system errors that have occurred on the server. This field MUST be set to 0.

sts0_bytessent_low: Specifies the low-order DWORD of the number of server bytes sent on the network.

sts0_bytessent_high: Specifies the high-order DWORD of the number of server bytes sent on 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. This field MUST be set to 0.

sts0_reqbufneed: Specifies a DWORD value that indicates the number of times the server required a request buffer but failed to allocate one. This field MUST be set to 0.

sts0_bigbufneed: Specifies a DWORD value that indicates the number of times the server required a large buffer but failed to allocate one. This field MUST be set to 0.