Auto Analyze
Table of Contents
Introduction
Analyzes for certain problems.
Usage
Usage: orxray auto-analyze [PROBLEMS] [OPTIONS]
If you want to specify multiple problems, separate them with commas, such as "high-cpu-usage,high-memory-usage".
PROBLEMS:
high-cpu-usage
high-memory-usage
high-disk-io
high-latency
low-cpu-usage
errors-and-exceptions
OPTIONS:
-A, --app-id integer Application ID.
-d, --duration Set the sample duration in seconds, the default is 60 seconds.
-t, --app-type string Application type: openresty, golang, python, php, perl and more.
-p, --pid integer pid. If pid is negative, will auto find the pgid of the -pid.
-a, --agent integer Agent ID, please use agent default command to set default agent.
-m, --max-rounds Sets the maximum number of sampling rounds, the default value 1.
-n, --no-wait Do not wait for analysis to complete.
GLOBAL OPTIONS:
--help
--config Specify the config file, default is ~/.orxray/config.
Example
Analyzes high CPU utilization issues for a given application.
$ orxray auto-analyze cpu -A 267
Analyzes high CPU utilization of a process in a given application.
$ orxray auto-analyze cpu -A 267 -p 2121
Analyzes high CPU utilization issues for a specified group of application processes.
$ orxray auto-analyze cpu -A 267 -p -2120