IBM TS2340 User Guide - Page 105
Atdd_d Log Daemon, opt/atdd/bin/atdd_trace >trace.txt
![]() |
UPC - 883436006873
View all IBM TS2340 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 105 highlights
HP-UX Device Driver (ATDD) The set of trace flags is displayed in Table 13. Table 13. Trace Flags COMMAND VALUE Configuration 0x00000001 General errors 0x00000002 Routine entry points 0x00000004 Returns 0x00000008 TRACE_DBG information 0x00000010 Open/Close routine 0x00000020 Trace motion commands 0x00000040 Read/Write Strategy 0x00000100 0x00000200 Open/Close states 0x00000400 IOCTLs 0x00000800 Trace device config routines 0x00001000 Trace SCSI level stuff 0x00004000 Configuration 0x10000000 Entry point 0x01000000 General information 0x00400000 Memory 0x00200000 2. Clear the trace buffer: For the Static driver:/opt/OMImag/bin/atdd_trace -c For the DLKM driver:/opt/atdd/bin/atdd_trace -c 3. To have trace data displayed immediately in a readable format as it is collected: For the Static driver:/opt/OMImag/bin/atdd_trace -b For the DLKM driver:/opt/atdd/bin/atdd_trace -b 4. Start the operations on a tape device. 5. To display collected trace data in a readable format at any time: For the Static driver:/opt/OMImag/bin/atdd_trace -d For the DLKM driver:/opt/atdd/bin/atdd_trace -d 6. The atdd_trace output can be redirected to place the trace data in a readable format into a file, by entering: For the PB driver:/opt/OMImag/bin/atdd_trace >trace.txt For the PCI driver:/opt/atdd/bin/atdd_trace >trace.txt 7. In HP-UX 11i v3, the ATDD trace is logged into syslog of /var/adm/syslog/ syslog.log once the kernel tunable of atdd_direct_trace is enabled. To set a value (0 or 1) to atdd_direct_trace, run # kctune atdd_direct_trace=value. Atdd_d Log Daemon The device driver provides a log daemon (atdd_d) facility for the Enterprise Tape System 359x to automatically store drive dumps, to retrieve and store SIM/MIM (Service and Media Information Messages) data, and to log error messages into the /var/adm/atdddirectory. The atdd_d log daemon is not automatically started in 11.0, 11i v1 and v2 but not in 11i v3, when the driver is installed. Chapter 4. HP-UX Tape and Medium Changer Device Driver 87
![](/manual_guide/products/ibm-ts2340-user-guide-433d6f5/105.png)