Home > Veritas Cluster Server Manual Pages
HALOG (1M) |
Maintenance Commands |
halog -addtags tag1 [tag2 tag3 ] [-sys system]
halog -deltags tag1 [tag2 tag3 ] [-sys system] halog -add "quoted_string" -sev C|E|W|N|I [-sys system] [-msgid message-number [-encoding encoding] [-parameters parameter1 parameter2 ]] halog -add "quoted_string" -dbg 1-21 [-sys system] [-msgid message-number [-encoding encoding] [-parameters parameter1 parameter2 ]]
halog -cache [number_of_messages_<=_1024]
halog -info
halog -help
- E Error
- -addtags tag1 [tag2 tag3 ...] [-sys system]
- Enable a debug tag. If the system is supplied, this tag is enabled only on that system. See Example 2.
- -deltags tag1 [tag2 tag3 ...] [-sys system]
- Delete a debug tag that was previously enabled. See Example 3. -add "quoted_string" -sev C|E|W|N|I [-sys system] [-msgid message-number [-encoding encoding] [-parameters parameter1 parameter2 ]] Add a message from the command line to the log file. See examples 6, 7, and 9. -msgid is the message number. The severity values C, E, W, N, and I have the following significance:
- C Critical
- W Warning
- N Notice
- I Information
Maximum size of quoted_string is 4096 bytes; strings longer than 4096 bytes are truncated. Combined size of all arguments parameter1 parameter2 must not exceed 4096 bytes. If total exceeds 4096 bytes, then each argument is allowed an equal portion of 4096 bytes and truncated if it exceeds the allowed portion.-add "quoted_string" -dbg 1-21 [-sys system] [-msgid message-number [-encoding encoding] [-parameters parameter1 parameter2 ]] Add a debug message from the command line to the log file. See Example 8. Maximum size of quoted_string is 4096 bytes; strings longer than 4096 bytes are truncated. Combined size of all arguments parameter1 parameter2 must not exceed 4096 bytes. If total exceeds 4096 bytes, then each argument is allowed an equal portion of 4096 bytes and truncated if it exceeds the allowed portion.
Example 2:% halog -info Log on mars17: maxsize = 67108864 bytes tags = flushtags =
Example 3:% halog -addtags DBG_TRACE % halog -info Log on mars17: maxsize = 67108864 bytes tags = DBG_TRACE flushtags = DBG_TRACE
Example 4:% halog -deltags DBG_TRACE % halog -info Log on mars17: maxsize = 67108864 bytes tags = flushtags =
Example 5:% halog -cache Log Cache on mars17: VCS NOTICE V-16-1-10114 Opening GAB library VCS NOTICE V-16-1-10619 'HAD' starting on: mars17 VCS INFO V-16-1-10125 GAB timeout set to 15000 ms VCS INFO V-16-1-10077 Received new cluster membership VCS NOTICE V-16-1-10080 System (mars17) - Membership: 0x1, Jeopardy: 0x2 \. \.
Example 6:% halog -cache 2 Log Cache on mars17: VCS NOTICE V-16-1-10114 Opening GAB library VCS NOTICE V-16-1-10619 'HAD' starting on: mars17
.\.fi% halog -add "This is an application message" -sev N
Example 7:% halog -cache 1 Log Cache on mars17: VCS NOTICE V-16-1-0 (mars17) This is an application message
Example 8:% halog -add "This is an application message" -sev N -sys mars17
Example 9:% halog -add "This is a debug message" -dbg 2 -sys mars17
% halog -add "This is an application message for group1" \ -sev N -sys mars17 -msgid 11057 -parameters group1
Last updated: April 2006
Copyright ©2009 Symantec Corporation
All rights reserved.