B.3 oclumon dumpnodeview local

Use the oclumon dumpnodeview local command to view log information from the system monitor service in the form of a node view.

Usage Notes

Note:

The oclumon dumpnodeview local command has no dependency on GIMR or MGMTDB and can return Cluster Health Monitor data irrespective of GIMR being configured.

Syntax

dumpnodeview local [[([(-system | -protocols | -v)] |
	 [(-cpu | -process | -procagg | -device | -nic | -filesystem | -nfs)
	 [-detail] [-all] [-sort <metric_name>] [-filter <string>] [-head <rows_count>] [-i <seconds>]])
	 [([-s <start_time>  -e <end_time>] | -last <duration>)]] |
	 [-inputDataDir <absolute_path> -logDir <absolute_path>]
	 [-h]]

Parameters

Table B-10 oclumon dumpnodeview local Command Parameters

Parameter Description

local

Cluster Health Monitor local dump. Dumps metrics from node local Cluster Health Monitor repository.

-system

Dumps system metrics. For example:
oclumon dumpnodeview local -system
.

-cpu

Dumps CPU metrics. For example:
oclumon dumpnodeview local -cpu
.

-process

Dumps process metrics. For example:
oclumon dumpnodeview local -process
.

-procagg

Dumps process aggregate metrics. For example:
oclumon dumpnodeview local -procagg
.

-device

Dumps disk metrics. For example:
oclumon dumpnodeview local -device
.

-nic

Dumps network interface metrics. For example:
oclumon dumpnodeview local -nic
.

-filesystem

Dumps filesystem metrics. For example:
oclumon dumpnodeview local -filesystem
.

-nfs

Dumps NFS metrics. For example:
oclumon dumpnodeview local -nfs
.

-protocols

Dumps network protocol metrics, cumulative values from system start. For example:
oclumon dumpnodeview local -protocols
.

-v

Displays verbose node view output. For example:
oclumon dumpnodeview local -v
.

-h, --help

Displays the command-line help and exits.

Table B-11 oclumon dumpnodeview local Command Flags

Flag Description

-detail

Use this option to dump detailed metrics. Applicable to the -process and -nic options.

For example:
oclumon dumpnodeview local -process -detail
.

-all

Use this option to dump the node views of all entries. Applicable to the -process option.

For example:
oclumon dumpnodeview local -process -all
.

-head rows_count

Use this option to dump the node view of the specified number of metrics rows in the result. Applicable to the -process option. Default is set to 5.

For example:
oclumon dumpnodeview local -process -head 7
.

-sort metric_name

Use this option to sort based on the specified metric name, supported with the -process, -device, -nic, -cpu, -procagg, -filesystem, -nfs options.

For example:
oclumon dumpnodeview local -device -sort "ioR"
.

-i seconds

Display data separated by the specified interval in seconds. Must be a multiple of 5. Applicable to continuous mode query.

For example:
oclumon dumpnodeview local -device -i 5

-filter string

Use this option to search for a filter string in the Name column of the respective metric.

For example, -process -filter "ora" will display the process metrics, which contain "ora" substring in their name.

Supported with the -process, -device, -nic, -cpu, -procagg, -filesystem, -nfs options.

For example:
oclumon dumpnodeview local -process -filter "ora"
.

-show_all_sample_with_filter

All samples where filter doesn't matches will also show in the output . Can be used only with -filter option.

For example:
oclumon dumpnodeview local -filter filter_criteria -show_all_sample_with_filter

Table B-12 oclumon dumpnodeview local Command Log File Directories

Directory Description

-inputDataDir absolute_dir_path

Specifies absolute path of the directory that contains JSON logs files.

For example:
oclumon dumpnodeview local -cpu -inputDataDir absolute_path

-logDir absolute_log_dir_path

Specifies absolute path of the directory, which will contain the script run logs.

For example:
oclumon dumpnodeview local -cpu -inputDataDir absolute_path -logDir absolute_log_dir_path

Table B-13 oclumon dumpnodeview local Command Historical Query Options

Flag Description

-s start_time

-e end_time

Use the -s option to specify a time stamp from which to start a range of queries and use the -e option to specify a time stamp to end the range of queries.

Specify time in the YYYY-MM-DD HH24:MM:SS format surrounded by double quotation marks ("").

Specify these two options together to obtain a range.

For example:
oclumon dumpnodeview local -cpu -s "2019-07-10 03:40:25" -e "2019-07-10 03:45:25"

-last duration

Use this option to specify a time, given in HH24:MM:SS format surrounded by double quotation marks (""), to retrieve the last metrics.

Specifying "00:45:00" will dump metrics for the last 45 minutes.

For example:
oclumon dumpnodeview local -nic -last "00:45:00"
.