Displaying EMSRV options (opts command)
The opts command enables you to display the current options for a repository server and change the logging level for the repository server.
The syntax for the opts command is:
emadmin opts <host> [-s<level>]
| |
<host> | Specifies the host name or IP address of the server where EMSRV is running. If you don't specify a host, the default is the name of the host from which you are issuing the emadmin command. |
-s<level> | Specifies a new logging level for EMSRV. This command allows you to change the current logging level without having to access the machine where EMSRV is running. You can specify the following logging levels: 0 Logs all operations and messages to the log file. 1 Logs warnings and errors to the log file. 2 Logs only errors to the log file (default). |
-P <port number> | This is an optional parameter that specifies the port that EMSRV is using . The default numbers is 4800. |
For example:
emadmin opts emsrv.ibm.com
Running this command produces output such as the following:
==============================================================================
7.2.5.0 Nov 12 2021 22:02:54 (EST)
Operating system: Windows 2000 Professional (NT 6.2.9200) (12 Processors - 16136 MB Memory) (Standalone Workstation)
Code page (ANSI): 1252
Running as a service: Yes
Maximum number of concurrent connections: 256
Working directory: d:\bin\emsrv\data
Authentication: Disabled
Logging level: Error
Log file name: emsrv.log
Allow connection to truncate repositories: No
Track EMSRV statistics: Yes
Track process file locking statistics: No
Process activity timeout value: 360 sec
Sleep on lock value: 1000 ms
Free disk space warning threshold: 10000 KB
Restrict repositories to local filesystems: Yes
==============================================================================
Last modified date: 01/15/2023