Usage Statistics in the Server Log

Sample Log for SAS/SHARE Server SHARE2

The following server log shows that users JOHN(1), MARIA(2), and JOHN(3) started and closed three separate server sessions. For details about the types of actions that were performed by the users, which created specific messages in the log, see Reading the Server Log. When each of the three sessions was closed, usage statistics were generated. In addition, cumulative usage statistics were generated for the server SHARE2. The usage statistics are controlled by values that you provide for the LOG option in the PROC SERVER statement. For explanations of usage statistics for messages processed (MESSAGE), bytes transferred (BYTECOUNT), active time (ACTIVETIME), and elapsed time (ELAPSEDTIME), see The SERVER Procedure.
The following log shows a typical server log with all logging statistics shown for the server SHARE2 that is running under a UNIX operating environment.
Sample Log for SAS/SHARE Server SHARE2

Command ===>
1?  PROC SERVER ID=share2 LOG=(ACTIVETIME BYTECOUNT ELAPSEDTIME MESSAGE)
msgnumber; 
2?  run;
30Apr2008:07:15:36.690 043131 SAS server SHARE2 started.
30Apr2008:07:16:20.048 043021 User john(1) has connected to server SHARE2.
30Apr2008:07:16:20.442 043143 User john(1) has created "Line Mode Process"(1) 
                              under "Kernel"(0).
30Apr2008:07:16:21.206 043069 Server library TESTDATA 
                              ('/local/u/john/server' V9) accessed as 
                              TESTDATA by user john(1).
30Apr2008:07:16:31.593 043021 User maria(2) has connected to server SHARE2.
30Apr2008:07:16:31.846 043143 User maria(2) has created "Line Mode Process"(1) 
                              under "Kernel"(0).
30Apr2008:07:16:31.923 043069 Server library DEMOTEST 
                              ('/local/u/john/server' V9) accessed as 
                              DEMOTEST by user maria(2).
30Apr2008:07:17:32.462 043143 User maria(2) has created "PRINT"(2) under 
                              "Line Mode Process"(1).
30Apr2008:07:17:33.537 043100 DEMOTEST.X.DATA(1) opened for input/S via 
                              engine V9 by "PRINT"(2) of user maria(2).
30Apr2008:07:17:40.361 043102 DEMOTEST.X.DATA(1) closed by "PRINT"(2) 
                              of user maria(2).
30Apr2008:07:17:40.422 043144 User maria(2) has terminated "PRINT"(2) 
                              (under "Line Mode Process"(1)).
30Apr2008:07:18:05.575 043143 User maria(2) has created "DATASTEP"(3) 
                              under "Line Mode Process"(1).
30Apr2008:07:18:05.668 043100 DEMOTEST.DEMO.DATA(1) opened for output via 
                              engine V9 by "DATASTEP"(3) of user
maria(2).

30Apr2008:07:18:06.016 043102 DEMOTEST.DEMO.DATA(1) closed by "DATASTEP"(3) 
                              of user maria(2).
30Apr2008:07:18:06.096 043144 User maria(2) has terminated "DATASTEP"(3) 
                              (under "Line Mode Process"(1)).
30Apr2008:07:18:48.262 043143 User john(1) has created "PRINT"(2) 
                              under "Line Mode Process"(1).
30Apr2008:07:18:48.313 043100 TESTDATA.DEMO.DATA(1) opened for input/S via
                              engine V9 by "PRINT"(2) of user john(1).
30Apr2008:07:18:49.734 043102 TESTDATA.DEMO.DATA(1) closed by "PRINT"(2) 
                              of user john(1).
30Apr2008:07:18:49.765 043144 User john(1) has terminated "PRINT"(2) 
                              (under "Line Mode Process"(1)).
30Apr2008:07:18:58.322 04306A Server library DEMOTEST (accessed as DEMOTEST) 
                              released by user maria(2).
30Apr2008:07:18:58.338 043144 User maria(2) has terminated "Line Mode 
                              Process"(1) (under "Kernel"(0)).
30Apr2008:07:18:58.909 043022 User maria(2) has disconnected from server SHARE2.
30Apr2008:07:18:59.886 043151 Usage statistics for user maria(2):
                                  Messages processed:                  24
                                  Bytes transferred:                8,028 
                                  Active time:               0:00:02.7525
                                  Elapsed time:              0:02:28.3527
30Apr2008:07:19:06.298 04306A Server library TESTDATA (accessed as TESTDATA) 
                              released by user john(1).
30Apr2008:07:19:06.319 043144 User john(1) has terminated "Line Mode 
                              Process"(1) (under "Kernel"(0)).
30Apr2008:07:19:06.411 043022 User john(1) has disconnected from server SHARE2.
30Apr2008:07:19:06.425 043151 Usage statistics for user john(1):
                                  Messages processed:                  14
                                  Bytes transferred:                3,133 
                                  Active time:               0:00:01.8139
                                  Elapsed time:              0:02:46.6840
30Apr2008:07:19:16.018 043021 User john(3) has connected to server SHARE2.
30Apr2008:07:19:16.569 0430A9 PROC OPERATE command from user john(3): STOP
SERVER;
30Apr2008:07:19:16.603 043132 Normal termination of SAS server SHARE2 has
occurred.
30Apr2008:07:19:17.212 043022 User john(3) has disconnected from server SHARE2.
30Apr2008:07:19:17.246 043151 Usage statistics for user john(3):
                                  Messages processed:                   2
                                  Bytes transferred:                  102 
                                  Active time:               0:00:01.0691
                                  Elapsed time:              0:00:01.9230
30Apr2008:07:19:17.642 043150 Usage statistics for server SHARE2:
                                  Messages processed:                  40
                                  Bytes transferred:               11,263 
                                  Active time:               0:00:05.6355
                                  Elapsed time:              0:03:42.8948
NOTE: PROCEDURE SERVER used:
      real time           3:45.51
      cpu time            0.74 seconds

Format for Server Log Messages

In a server log, a message is posted for each significant client/server transaction. A log message is presented in the following form:
dtformat msgnumber message
The dtformat and msgnumber fields are controlled by options that you provide in the PROC SERVER statement. For explanations of these options, see The SERVER Procedure.