epadmin-history
epadmin history target — Shows recent transaction, CPU usage, and shared memory metrics.
DESCRIPTION
The history target displays recent
metrics about transactions, CPU usage, and shared memory usage for the specified
nodes. The default metrics history is for one second, with an optional --seconds
parameter to specify longer intervals.
For example, the following command:
epadmin --servicename=A.sbuser display history --seconds 10
returns this result:
[A.sbuser] Version: 2 [A.sbuser] Shared Memory Total: 536870912 [A.sbuser] Shared Memory Used: 203674736 [A.sbuser] CPU % User: 3 [A.sbuser] CPU % System: 2 [A.sbuser] CPU % Idle: 95 [A.sbuser] Transactions: 109 [A.sbuser] Average Transaction Latency (usecs): 168 [A.sbuser] Transaction Deadlocks: 0
The history target has two commands:
The designation [
in syntax examples is a reminder that this
command requires either the global parameter sn
|ad
]‑‑servicename
or the ‑‑adminport
and
‑‑hostname
combination to identify the node or cluster
of interest.
epadmin display history
Shows a single set of the node or cluster's performance metrics and returns.
epadmin[
display history epadminsn
|ad
][
display history --seconds=5sn
|ad
]
display command parameters
Command Parameter | Description | Required |
---|---|---|
seconds
|
Integer value for metrics interval to display. | No. Default is one second. |
epadmin stream history
Runs a continuous display of the node or cluster's performance metrics for the specified interval until interrupted with Ctrl+C.
epadmin[
stream history epadminsn
|ad
][
stream history --seconds=10sn
|ad
]
stream command parameters
Command Parameter | Description | Required |
---|---|---|
seconds
|
Integer value for metrics interval to display. | No. Default is one second. |