Hitachi

uCosminexus Application Server Command Reference Guide


ctmstsed (edit and output statistics)

Organization of this page

Format

ctmstsed  [-h] [-CTMEdit edit-and-output-format[,edit-and-output-format...]]
          [-CTMInterval time-interval] [-CTMTime [start-time][,end-time]]
          [-CTMQueueName queue-name[,queue-name...]]
          [-CTMMethod method-name[,method-name...]]
          [-CTMCsv] [-CTMStdout]
          [statistics-file-name[ statistics-file-name...]]

Function

This command edits and outputs statistics acquired in a statistics file. The default is text format.

The following three types of information can be output:

Arguments

-h

Displays how to use the command.

-CTMEdit edit-and-output-format[,edit-and-output-format...]

Specifies the type of statistics to be edited and output.

  • nod: Summary information for the entire CTM node is edited and output.

  • que: Schedule queue information for each queue is edited and output.

  • mtd: Request information for each method is edited and output.

If this argument is omitted, nod, que, and mtd are set.

-CTMInterval time-interval

Specifies the time interval (in minutes) for editing and outputting statistics. You can specify an integer in the range from 1 to 1440. Specify an integer multiple of the time interval specified for the -CTMInterval option of the ctmstsstart command. If an integer multiple is not specified, the editing results are not output correctly.

If this argument is omitted, 10 is set.

-CTMTime [start-time][,end-time]

Specifies the range of statistics to be edited and output, by using the start time and end time of data acquisition.

Specify the hour, minute, month, day, and year in hhmm[MMDD[YYYY]] format. If the month (MM), day (DD), and year (YYYY) are omitted, the current date is set.

The following table shows the range of specifiable values.

Symbol

Meaning

Range of values

Required or optional

hh

Hour

00 ≤ hh ≤ 23

Required

mm

Minute

00 ≤ mm ≤ 59

Required

MM

Month

01 ≤ MM ≤ 12

Optional

DD

Day

01 ≤ DD ≤ 31

Optional

YYYY

Year

1970 ≤ YYYY

Optional

If the start time is omitted, the output range is from the beginning of the file to the end time. If the end time is omitted, the output range is from the start time to the end of the file. If both the start time and end time are omitted, all information in the statistics file will be edited and output.

-CTMQueueName queue-name[,queue-name...]

Specifies a queue name for which to edit and output statistics. You can specify 1 to 63 alphanumeric characters and underscores (_).

This option can be specified if que is specified for the -CTMEdit option or if the -CTMEdit option is omitted.

For a system that executes batch applications, specify a schedule group name as the queue name.

-CTMMethod method-name[,method-name...]

Specifies a method name for which to edit and output statistics.

This option can be specified if mtd is specified for the -CTMEdit option or if the -CTMEdit option is omitted.

-CTMCsv

Outputs the editing results in CSV (comma-separated text) format.

-CTMStdout

Outputs the editing results to the standard output.

Table 6‒4: Argument (command option) combination list (ctmstsed command)

Command option

-h

-CTMEdit

-CTMInterval

-CTMTime

-CTMQueueName

-CTMMethod

-CTMCsv

-CTMStdout

nod

que

mtd

-h

--

Δ-h

Δ-h

Δ-h

Δ-h

Δ-h

Δ-h

Δ-h

Δ-h

Δ-h

-CTMEdit

nod

Δ-h

--

Y

Y

Y

Y

N

N

Y

Y

que

Δ-h

Y

--

Y

Y

Y

Y

N

Y

Y

mtd

Δ-h

Y

Y

--

Y

Y

N

Y

Y

Y

-CTMInterval

Δ-h

Y

Y

Y

--

Y

Y

Y

Y

Y

-CTMTime

Δ-h

Y

Y

Y

Y

--

Y

Y

Y

Y

-CTMQueueName

Δ-h

N

Y

N

Y

Y

--

Y

Y

Y

-CTMMethod

Δ-h

N

N

Y

Y

Y

Y

--

Y

Y

-CTMCsv

Δ-h

Y

Y

Y

Y

Y

Y

Y

--

Y

-CTMStdout

Δ-h

Y

Y

Y

Y

Y

Y

Y

Y

--

Legend:

Y: Can be specified simultaneously

Δ: Valid with the option whose name follows Δ

N: Cannot be specified simultaneously

--: Not applicable

Note

If the -h option and other options are specified, the -h option takes priority.

statistics-file-name[statistics-file-name...]

Specifies the name of a statistics file from which information is to be edited and output. You can specify a maximum of 256 file names by delimiting them with one-byte spaces. If this argument is omitted, statistics will be input from the standard input.

Return values

0:

The command is terminated normally.

Other than 0:

The command terminated abnormally because an error occurred during command processing. Take the corrective action indicated in the output message, and then re-execute the command.

Output format