Instrlogname
The instrlogname option specifies the path and file name where you want to store performance information that the backup-archive client collects.
When you use the enableinstrumentation yes option to collect performance data during backup and restore operations, the client automatically stores the information in a log file.
By default, the performance data is stored in the instrumentation log file (dsminstr.log) in the directory that is specified by the DSM_LOG environment variable (or the DSMI_LOG environment variable for the API-dependent products Tivoli® Storage Manager for Databases: Data Protection for Microsoft SQL Server and Tivoli Storage Manager for Mail: Data Protection for Microsoft Exchange Server). If you did not set the DSM_LOG environment variable, the instrumentation log file is stored in the current directory (the directory where you issued the dsmc command).
Use this option only when you want to change the file name and location of the instrumentation log.
If you want to control the size of the log file, use the instrlogmax option.
Supported Clients
This option is valid for all clients and the Tivoli Storage Manager API.
Options File
Place this option in the client system-options file (dsm.sys) within a server stanza. The option can be set in the client option set on the Tivoli Storage Manager server.
Place this option in the client options file (dsm.opt). The option can be set in the client option set on the Tivoli Storage Manager server.
Parameters
- filespec
- Specifies the path and file name where you want to store performance information during backup
or restore processing. If any part of the path that you specify does not exist, the client attempts
to create it.
If you specify a file name only, the file is stored in the directory that is specified by the DSM_LOG environment variable. If you did not set the DSM_LOG environment variable, the instrumentation log file is stored in the current directory (the directory where you issued the dsmc command).
If you specify a file name only, the file is stored in the directory that is specified by the DSM_LOG environment variable. If you did not set the DSM_LOG environment variable, the instrumentation log file is stored in the current directory (the directory where you issued the dsmc command). The instrumentation log file cannot be a symbolic link.
For Mac OS X, if you specify a file name only, the file is stored in your default folder. The default directories are:~/Library/Logs/tivoli/tsm /Library/Logs/tivoli/tsm
This instrumentation log file name replaces the previous instrumentation log file name dsminstr.report.pXXX that was created by the TESTFLAG=instrument:detail or instrument:API option.
Examples
- Options file:
instrlogname /home/user1/mydir/mydsminstr.log
instrlogname /Users/user1/Library/Logs/mydsminstr.log
- For Windows clients:
instrlogname c:\mydir\mydsminstr.log
- Command line:
dsmc sel /home/user1/mydir/* -subdir=yes -instrlogname=/usr/log/mydsminstr.log
- For Windows
clients:
dsmc sel c:\mydir\* -subdir=yes -instrlogname=c:\temp\mydsminstr.log
This option is valid only on the initial command line. It is not valid in interactive mode.