03-11-2008 02:37 PM
There is also a command file called CONLOG.PUBXL.TELESUP that will also print logfiles out. PRINT the file and at the beginning of it you will see instructions and examples.
03-11-2008 03:01 PM
This is from the PRINT of the file CONLOG.PUBXL.TELESUP:
To list contents of currently active log file to a printer
# :FILE L;DEV=LP
# :CONLOG CUR >*LP
# Output can also be directed to a disk file, if search for
# a specific text is needed:
# :CONLOG 357 >loki357
# Above command creates temporary diskfile LOKI357 with MPE
# default i/o-redirection attributes. The file can hold
# approx. 40 000 to 50 000 loglines depending on the length
# of lines.
03-11-2008 08:31 PM
:logtool (or, on old releases: sysdiag / logtool)
list log=###; to = foo
will create a file called foo with the log
listed in it. On older releases, foo will
be in the group diagxl.sys. IIRC, on newer
releases, foo will be in your logon group.
To list a subset of a log (by date/time, or by log entry type), see the help text for
the list command ... inside logtool, do:
and it will show you the syntax.
03-12-2008 02:43 AM
Within LOGTOOL, use the following commands to retrieve console messages (event type=115) for a specific date/time and send result to a permanent file called PURGEME; this file is built on your logon group:
Log File Rec #1 Rec #1 Total
Name Date Time #Records
========== ============ ======== ========
LOG0001 06/28/07 9:52 AM 2
LOG0002 06/28/07 10:09 AM 24
LOG0003 06/28/07 10:18 AM 623
LOG0004 06/28/07 11:37 AM 114
LOGTOOL>list log=3 type=115 date time outfile=purgeme
Reading log file layout formats - Please wait ...
Enter the starting date [03/12/08] ?06/28/07
Enter the ending date [
Do you have more dates to enter (Y/N) [N] ?
Enter the starting time [6:41 AM] ?10:30 AM
Enter the ending time [
Do you have more times to enter (Y/N) [N] ?
Processing LOG0003.PUB.SYS ...
Total records checked = 623. Records selected = 29.
Next, you can use your favorite text editor to search for a specific string. Example:
HP32201A.09.00 EDIT/3000 WED, MAR 12, 2008, 6:44 AM
(C) HEWLETT-PACKARD CO. 1993
/f"CLEANING" in all
12 (OUTPUT)10:44/24/LDEV # 7 REQUIRES CLEANING, PLEASE USE CLEANING
1 LINES FOUND
05-02-2008 01:07 PM
If I could assign points to this post I would because your answers helped me resolve an issue I was having regarding reading hp3000 log files. Thanks.
10 Virtual Points to each of you.
05-02-2008 05:17 PM
thanks for the thought! And, good to hear
that NPD is still using HP 3000s! I remember when NPD was on the fore-front of computer technology, using the giant addressability that MPE/iX supplied (and HP-UX didn't) -- you guys did amazing stuff! Is R.. Jo.... still there?
thanks, Stan (firstname.lastname@example.org)