YLang
usage
Usage: orxray ylang ylang-file [OPTIONS]
OPTIONS:
-x, --pid integer pid
-a, --agent integer agent
GLOBAL OPTIONS:
--help
--config specify config file, default is ~/.orxray/config.
-x, --pid "pid number"
Specify the pid you want to analyze.
-a, --agent "agent id"
Specify the agent, the default agent is the one you specified in orxray agent set-default xx
example
- run ylang.
# orxray ysql res_mem.ylang -x 6378
create a ylang analyzer
Usage: orxray new-ylang name file [OPTIONS]
OPTIONS:
--desc string description
GLOBAL OPTIONS:
--help
--config specify config file, default is ~/.orxray/config.
file
If specify the file, the command will read the file as the ylang statement.
--desc "description"
description string of the new analyzer
example
- create a ylang analyzer.
# orxray new-ylang res_mem res_mem.ylang --desc "calculator process res memory."