The ap.log file logs all errors and major events occurring on a D3 monitor virtual machine.
This file is created automatically at install time in the directory /usr/tmp and is updated by any D3 monitor virtual machine.
The ap.log is a binary file that grows indefinitely until cleared by the perrpt UNIX command. The syntax of each entry displays below:
struct int int int short short short short char char } |
{ log_time; log_key; log_res0; log_code; log_pib; log_res1; og_len; log_mon[16]; log_text[]; |
/* UNIX time */ /* virtual machine key */ /* reserved */ /* Error code */ /* D3 line number */ /* reserved */ /* Optional data length */ /* Monitor version */ /* Optional data */ |
Each entry is aligned to an (int) boundary. The last (int) of an entry contains the length of the entry so that it can scan the file backward. It can be disabled by issuing perrpt -s.
See Also