Generate kernel event log (QNX)
monitor [-b numbufs] [-f file] [-i intr] [-n] [-p priority]
The monitor utility writes a log of kernel events to a logfile which may then be interpreted for display by the msgprint utility.
Generate a kernel event log in the default file default.mon:
monitor
Stop the event logging by terminating monitor (e.g. you could type Ctrl-C).