Hitachi

uCosminexus Application Server Command Reference Guide


7.3.3 set

This subcommand specifies two arguments and sets the value specified in the second argument for the variable specified for the first argument.

If the target logical J2EE server, or J2EE application is restarted or redeployed after the value is setup , reset the value. If a logical server other than a logical J2EE server, or logical performance tracer is specified in the -t option, an error occurs.

The following table lists and describes the arguments that can be specified for the set subcommand.

Table 7‒4: Arguments that can be specified for the set subcommand

Argument

Explanation

Target specification

Logical server

Host

jvmSamplingTime n

Sets the JavaVM sampling time to n seconds.#1

Y

--

webContainerSamplingTime n

Sets the Web container sampling time to n seconds.#1

Y

--

tranSamplingTime n

Sets the transaction sampling time to n seconds.#1, #2

Y

--

httpSvrSamplingTime n

Sets Management Server sampling time to n seconds.#1

We recommend that users need not acquire this information because it is Management Server information that is used internally.

Y

--

httpSvrConnSamplingTime n

Sets the HTTP server connector sampling time to n seconds.#1

Y

--

dataSrcFullSamplingTime n

Sets the data source (OTS 1.2-compatible JTA) sampling time to n seconds.#1, #3

Y

--

resAdapterSamplingTime n

Sets the resource adapter sampling time to n seconds.#1, #3

Y

--

ejbSamplingTime n

Sets the EJB sampling time to n seconds.#1, #3

Y

--

webAppSamplingTime n

Sets the Web application sampling time to n seconds.#1, #3

Y

--

servletSamplingTime n

Sets the servlet sampling time to n seconds. #1, #3

Y

--

reqUrlSamplingTime n

Sets the sampling time for each URL requested after setting to n seconds.#1, #3

Y

--

allPrfTraceLevel STANDARD|DETAIL | tracelevel

Sets a PRF trace collection level for all performance tracers within a management domain.#4

--

--

prfTraceLevel STANDARD|DETAIL | tracelevel

Sets a PRF trace collection level for the specified performance tracer or the performance tracer within the specified host.#4

Y

Y

Legend:

Y: Can be specified.

--: Cannot be specified.

#1

Specify an integer in the range -2147483647 to 3600 (seconds) for n. If a value outside this range is specified, an error occurs. If n is 0 or smaller, the statistical value collection switch is turned off. If 0 < n < 10, n = 10 is used. Various specification values and the corresponding operations are described below.

If a value that is 0 or smaller is specified, statistical information collection is stopped.

If a value in the range 1 to 9 is specified, the sampling time is set to the default (10 seconds) and statistical information collection begins.

If a value of 10 or greater is specified, the sampling time is set to the specified value and statistical information collection begins.

#2

This argument must be specified after the first transaction has started.

#3

If a J2EE application is deployed after this variable has been set, the variable value must be reset.

#4

A PRF trace collection level is set only for active performance tracers.

STANDARD

Sets the PRF trace collection level to STANDARD.

DETAIL

Sets the PRF trace collection level to DETAIL.