.ps 55,75 .lm 10 .ap .center RESPREPT .literal Robert Goldstein Eye Research Institute of Retina Foundation 20 Staniford St. Boston, MA 02114 (617) 742-3140 .end literal This program reads the response.log file (located in directory resp:) to produce a report that summarizes the data in a way that is interesting to us here at ERI. The report produces a list of the average 'score' as a function of the hour of day, and a second list of the average score as a function of number of users. In order to obtain the above statistics as a function of sys$user__category, I use the VMS search command (on the file resp:response.log) to find all occurrances of the category of interest, and direct the output to a file named 'response.log', but in a different directory. I then redefine the symbol resp: so that the program accesses the culled response.log. Sample input: (a portion of the file respone.log): .literal 1-MAY-1985 13:16:59.27 9u A=4 GARCIA ORACLE 1-MAY-1985 13:17:10.47 8u A=4 ELBAYOUMI ORACLE 1-MAY-1985 13:19:27.68 7u F=0 PHARO ORACLE 1-MAY-1985 13:24:39.06 7u B=3 GLENN PROGRAMMER 1-MAY-1985 13:27:26.16 6u A=4 PHARO ORACLE 1-MAY-1985 13:34:26.70 7u A=4 GLENN PROGRAMMER 1-MAY-1985 13:36:56.98 7u A=4 GARCIA ORACLE 1-MAY-1985 13:48:50.95 7u A=4 GOLDSTEIN PROGRAMMER 1-MAY-1985 14:01:44.33 8u A=4 GOLDSTEIN PROGRAMMER 1-MAY-1985 14:05:42.57 9u --- SANDSTROM RS1 1-MAY-1985 14:09:57.73 10u F=0 DELORI RS1 1-MAY-1985 14:10:06.27 9u B=3 GEARY RS1 1-MAY-1985 14:10:59.05 8u A=4 SYSTEM GENERAL 1-MAY-1985 14:17:44.68 11u A=4 ELBAYOUMI ORACLE 1-MAY-1985 14:20:50.15 11u C=2 STEVENS RS1 1-MAY-1985 14:21:20.66 10u A=4 GLENN PROGRAMMER 1-MAY-1985 14:24:14.57 12u --- SUTTON ORACLE 1-MAY-1985 14:27:03.74 10u A=4 BOWERS WORD11 1-MAY-1985 14:29:00.54 9u A=4 BAIRD RS1 1-MAY-1985 14:40:06.31 10u A=4 CROISETU GENERAL 1-MAY-1985 14:40:56.39 9u A=4 DAVIS WORD11 .end literal .page Sample output: (comes out on sys$output) .literal Number of sessions this month = 1579 Peak number of users = 15 Average score = 3.83 +- 0.52(STD) Hour of day Av_score Av_users Entries 0 0.00 0.00 0 1 0.00 0.00 0 2 0.00 0.00 0 3 0.00 0.00 0 4 0.00 0.00 0 5 4.00 1.00 3 6 4.00 1.00 5 7 4.00 1.14 14 8 3.51 2.49 49 9 3.90 6.54 87 10 3.93 6.46 168 11 3.83 6.99 203 12 3.91 5.61 135 13 3.82 5.92 106 14 3.81 8.36 170 15 3.79 7.24 212 16 3.81 6.88 196 17 3.75 3.97 124 18 3.84 2.20 45 19 4.00 1.53 17 20 4.00 1.29 14 21 4.00 1.23 22 22 4.00 1.14 7 23 4.00 1.00 2 Num_users Av_score STD Entries 1 3.96 0.30 121 2 3.95 0.22 98 3 3.64 0.73 98 4 3.86 0.48 126 5 3.82 0.53 199 6 3.91 0.35 213 7 3.84 0.54 237 8 3.86 0.47 194 9 3.82 0.51 126 10 3.71 0.73 84 11 3.47 0.85 38 12 3.82 0.51 17 13 3.69 0.72 13 14 3.70 0.64 10 15 4.00 0.00 5 .end literal