Top
ServerView Resource Orchestrator Cloud Edition V3.1.1 Reference Guide (Command/XML)
ServerView

5.13 rcxadm logctl

This section explains the command for operation logs of Resource Orchestrator.


Name

[Windows Manager]
Installation_folder\SVROR\Manager\bin\rcxadm logctl - operation of operation logs of Resource Orchestrator

[Linux Manager]
/opt/FJSVrcvmr/bin/rcxadm logctl - operation of operation logs of Resource Orchestrator


Format

rcxadm logctl start
rcxadm logctl stop
rcxadm logctl set -attr record_cycle=record_cycle
rcxadm logctl show
rcxadm logctl delete -from from_date {-duration duration | {-to to_date |-latest}}
rcxadm logctl delete -duration duration {-from from_date | {-to to_date |-latest}}
rcxadm logctl list -from from_date {-duration duration | {-to to_date |-latest}} [-format csv] [-no_header]
rcxadm logctl list -duration duration {-from from_date | {-to to_date |-latest}} [-format csv] [-no_header]

Description

rcxadm logctl is the command for operating operation logs of Resource Orchestrator.


Subcommands

start

Starts recording operation logs of Resource Orchestrator.

stop

Stops recording operation logs of Resource Orchestrator.

set

Sets and modifies the retention period of operation logs of Resource Orchestrator.

show

Displays the recording start date, retention period, retention folder, recording status (on/off), and the recording period.

Table 5.2 Information for Recorded Items

Items

Description

start_date

Start of recording (YYYY-MM-DD HH:MM:SS.XXX+/-hh:mm)

A hyphen ("-") is set when the recording is stopped.

record_cycle

Retention period

If the setting is not changed, "180" is set.

record_dir

Retention folder

Operation logs are saved in the following folder:

[Windows Manager]
Installation_folder\SVROR\Manager\var\operation\

[Linux Manager]
/var/opt/FJSVrcvmr/operation/

record_status

Status of recording

"off" is set when the recording is stopped.

record_count

Number of days to record

Days when no events occur, and days when recording is not possible due to the manager being stopped are not counted as dates for recording.

delete

Deletes operation logs of Resource Orchestrator.

list

Displays operation logs of Resource Orchestrator.


Options

-attr record_cycle=record_cycle

Specify the number of days to store operation logs. If omitted, "180" is set.

Up to "2147483647" days can be specified.

-format csv

Use this option to output operation logs in CSV format.

Standard output is used for the operation log.

-no_header

Use this option not to output the information headers (Date, User, Group, IP, Progress, Resource, and Event).

-duration duration

Specify the data output duration.

Specification formats are shown below.

  • yearsY

  • monthsM

  • weeksW

  • daysD

  • hoursH

Example

-duration 3Y
-duration 4M

Specify an integer equal to or greater than "1" for years, months, weeks, days, and hours.

Point

When combined with -from, data for the specified duration is output from the start time using from.

When combined with -to, data for the specified duration is output to the end time using to.

-from from_date

Specify the start time of the output duration. Specify the local time.

Specification formats are shown below.

  • YYYY-MM-DD

  • YYYY-MM-DD HH:MM

  • YYYY-MM-DD HH:MM:SS

The specifiable ranges are shown below.

  • YYYY: 1970 to 2038

  • MM: 1 to 12

  • DD: 1 to 31

  • HH: 0 to 23

  • MM: 0 to 59

  • SS: 0 to 60 (When "60" is specified, time will be increased by 1 minute.)

    In the following cases, 1 day will be increased.

    Table 5.3 Increment of Days

    MMDD Values Specified

    Dates Incremented

    0431

    0501

    0631

    0701

    0931

    1001

    1131

    1201

    0229 (Other than leap year)
    0230 (Leap year)

    0301

    0230 (Other than leap year)
    0231 (Leap year)

    0302

    0231 (Other than leap year)

    0303

Point

When -to, -duration, and -latest are combined, data from the specified time is output. In this case, the specified time is included.

-to to_date

Specify the end time of the output duration. Specify the local time.

-latest cannot be used at the same time.

Specification formats are shown below.

  • YYYY-MM-DD

  • YYYY-MM-DD HH:MM

  • YYYY-MM-DD HH:MM:SS

For details of the specifiable ranges for YYYY, MM, DD, HH, MM, SS, refer to "Table 5.3 Increment of Days".

Point

When -from and -duration are combined, data is output until the specified time. In this case, the specified time is excluded.

-latest

The end time of the data output duration is regarded as the current time. Specify when outputting of the latest data.

-to cannot be used at the same time.

Point

When combined with -from or -duration, the data for the latest specified duration will be output.