Examples of logging done by HourGlass 2000 for the HP 9000.
Example 1: logging every date/time call by every process:
Local Date & Time   Program            PID DtTy stime utime System Call()
---------- -------- ------------- -------- ---- ----- ----- -------------
1998-10-06 09:59:55 ping              1460         24     8 gettimeofday
1998-10-06 09:59:55 dtcnmp             988         19     3 gettimeofday
1998-10-06 09:59:55 ping              1460         24     8 gettimeofday
1998-10-06 09:59:55 hpnpd             1186         14     2 time
1998-10-06 09:59:55 hpnpd             1186         14     2 gettimeofday
1998-10-06 09:59:55 _upsd             1350        142   179 time
1998-10-06 09:59:55 _upsd             1350        142   179 time
1998-10-06 09:59:55 _upsd             1350        142   179 time
1998-10-06 09:59:55 _upsd             1350        142   179 time
1998-10-06 09:59:55 _upsd             1350        142   179 time
1998-10-06 09:59:55 hpwebjetd         1204         79    44 gettimeofday
1998-10-06 09:59:55 hpwebjetd         1204         79    44 gettimeofday
1998-10-06 09:59:55 hpwebjetd         1204         79    44 gettimeofday
1998-10-06 09:59:55 hpwebjetd         1204         79    44 gettimeofday
Note: you can control whether all processes are logged, or just processes with private clocks are logged.
Example 2: logging # of date/time calls by process, one log record per process:
Local Date & Time   Program            PID DtTy ftime gettd time  stime utime
---------- -------- ------------- -------- ---- ----- ----- ----- ----- -----
1998-11-04 10:08:18 quota            28615                            0     0
1998-11-04 10:08:18 sh               28614                      2     0     0
1998-11-04 10:08:18 grep             28616                            0     0
1998-11-04 10:08:22 date             28631                      1     0     0
1998-11-04 10:08:22 sh               28630                      2     0     0
1998-11-04 10:08:23 ps               28633                     16     0     0
1998-11-04 10:08:23 sh               28632                      2     0     0
1998-11-04 10:08:26 hourglass        28590                      2     0     0
1998-11-04 10:08:35 ksh              28597                      4     8     3
1998-11-04 10:08:35 telnetd          28594                      2     0     0
1998-11-04 10:11:46 touch            28697                            0     0
1998-11-04 10:14:12 hourglass    +   28718  RCT     1     1     3     0     0
1998-11-04 10:14:17 more             28726  RCT                 1     0     0
1998-11-04 10:14:17 sh               28725  RCT                 2     0     0
In the above, the DtTy column reports what kind of altered date a process had, if any (only the last 3 in the above example had an altered date). The ftime, gettd, and time columns show the number of calls to ftime(), gettimeofday(), and time().

The "+" on the third-from-last line indicates at least one call to a rare date/time system call. (If you find that you call such routines frequently, we'll be happy to change the logging format to show the number of calls to it.)

The stime and etime columns show the amount of system time and user time billed to the process.

Note: you can control whether all processes are logged, or just processes with private clocks are logged.
(Updated 1998-11-04)

Updated [3khat16.ico]HP3000 [3khat16.ico]3kMail [archive16.gif]