Usage
Below are command line options for the dumplog utility. They can help you solve problems by allowing you to view Cisco ICM log files within a specific time period. The time period is definable using the /bd, /bt, /ed, and /et switches. The user can also search for a specific string to further isolate and troubleshoot questionable ICM behavior.
This information can also be found in the "Cisco Intelligent Call Router Administrator Guide."
dumplog [ProcessName(s)] [/dir Dirs] [/if InputFile] [/o] [/of OutputFile] [/c] [/bd BeginDate(mm/dd/yyyy)] [/bt BeginTime(hh:mm:ss)] [/ed EndDate(mm/dd/yyyy)] [/et EndTime(hh:mm:ss)] [/hr HoursBack] [/all] [/last] [/prev] [bin] [/m MatchString] [/x ExcludeString] [/ms] [/debug] [/help] [?]
Parameter Descriptions
ProcessName(s) | The command dumps the current day log for this process, unless you specify different dates or times with other arguments. |
---|---|
[/dir Dirs] | Directory specifies the location of the log files for any processes listed on the command line after the /dir switch. If no /dir switch is used, the current directory is used by default. |
[/if] | InputFile specifies a specific .ems file to dump. The /if token is optional. If you specify an input file, the /bd, /bt, /ed, /et, /hr, and /all arguments are ignored. |
/o | Writes output to a text file in the \logfiles directory. The filename is formed by adding the .txt suffix to the specified process prefix or input file name (without the.ems suffix). The file is written to the current directory. |
/of | OutputFile specifies an output text file; for example, c:\temp\mylog.txt. |
/c | Specifies continuous output. The command does not exit after reaching the end of the log. Instead, it waits and writes any further entries that appear in the log. |
/bd | BeginDate(mm/dd/yyyy) specifies the begin date. If used with /bt, this specifies a range of dates. Otherwise, dumplog dumps events for only the specified date. |
/bt | BeginTime(hh:mm:ss) specifies the begin time. Use with /et to specify a range of time. |
/ed | EndDate(mm/dd/yyyy) specifies the end date. Use with /bd to specify a range of days. |
/et | EndTime(hh:mm:ss) specifies the end time. Use with /bt to specify a range of time. |
/hr | HoursBack specifies a number of hours back from the current time. |
/all | Displays all information from the specified process log files. |
/last | Displays information from the most recent log file for the process. |
/prev | Displays information from the next to last log file for the process. |
/m | MatchString displays only events that contain a match for the specified string. |
/x | ExcludeString displays only events that do not contain a match for the specified string. |
[/ms] | Displays milliseconds in time stamps. |
[/mc] | Use multiple colors when dumping merged logs. Each process is given a different color. You must specify either a ProcessPrefix or an InputFile. If you give only aProcessPrefix value (for example, rtr, nm, or lgr), dumplog displays the current day log for that process by default. |
Note: To view redirected log files using Microsoft Notepad, save the log file to a text file (using the dumplog /ofargument), and open the text file from the command prompt by issuing the: notepad filename command.
Sample Dumplog Usage
The following example shows the dumping of the rtr log file on the router from the beginning of April 29, 1999 until April 30, 1999. It outputs to a log file called rtr.txt. The file rtr.txt can now be viewed using a standard text editor such as Notepad.
c:\icm\csco\rtra\logfiles dumplog rtr /bd 04/29/1999 /ed 04/30/1999 /o
The following command dumps the pgag log file from a peripheral gateway (PG) beginning at the last time a new log file was open for output.
c:\icm\csco\rtra\logfiles dumplog pgag /last
출처 : http://www.cisco.com/c/en/us/support/docs/voice-unified-communications/unified-intelligent-contact-management-enterprise/20406-1.html
'Cisco > ICM' 카테고리의 다른 글
[AD] Active Directory Master 서버가 죽었을경우 대처방법 1 (GUI) (0) | 2015.12.28 |
---|---|
AWS 바라보는 Logger 변경하기 (1) | 2015.12.16 |
AWS Event Viewer 경고 메세지 무시하기 (0) | 2015.12.02 |
Call Type Event Viewer 오류 (2) | 2015.12.02 |
ICM에서 Network 설정상 오류가 있을 경우 (0) | 2015.12.02 |