Note: The time shown is the time that the log is closed, meaning the time that information
stopped being written to that particular log and another log is created. You can see in this list
also the size of the le.
Step 3 If you do not see the date and time you are looking for, you can view more log les by typing
mgmt le list more until you see the log le that you would like to capture. This log le format
is useful if you have several specic time periods that you want to capture.
Capturing NICROI Data to Roilog.txt
The roilog.txt le is a le that is invoked by opening and closing it, this le is NOT automatically
generated as the niclog.xxx. This log le is useful if you have one general, extended period of
time that you want to capture. Use the following steps to create a roilog.txt le:
To "Open" a roilog.txt le:
From within NICROI issue the log open [<lename>] command. This command causes all
status displayed in the NICROI logging window to be stored in a log le on the NICROI host
system. The name of the log le can be specied. If omitted, the default name is roilog.txt which
is placed in the current directory of the process from which NICROI starts.
Note: If you use this type of log le, you must close the log to stop the writing of information
(once you have captured the time frame in question) before you copy the log le out to analyze
it.
To "Close" an roilog.txt le:
From within NICROI type the .log command to close the NICROI log le. No further le
logging is performed.
Copying NICROI Log Files
You can copy these log les to your local drive. There are basically two ways you can gather
this data, based on which le format you choose to use above.
Copying Files Using Roilog.txt
If you have opened and created a log le using the method for roilog.txt, upon closing the log
le, you have a copy of the log on your local drive. The le will be located in the directory from
which you began your NICROI session. Unless you have specied a download directory using
the .xdir c:\<path name> command, then the le is created and written onto your local drive at
the location from which you started your NICROI session.
Copying Files Using Niclog.xxx
If you choose to use the niclog.xxx les you need to download or transfer the les to your local
drive using the nmg roi transfer command as outlined below. Remember, if you do not specify
a transfer directory with the .xdir c:\<path Name> command then the le is transferred to the
Cisco Support Tools User Guide for Cisco Unified Software Release 2.1(1)
170
Chapter 13: - Using Cisco Common Tools
How to Use the NICROI Utility