YLang
Table of Contents
Introduce
This command is used to execute Ylang scripts.
The run-y
command is a wrapper for this subcommand, which is more convenient to use, and it is recommended to use the run-y command to execute ylang scripts.
Usage
Usage: orxray ylang ylang-file [OPTIONS]
OPTIONS:
-p, --pid integer pid
-a, --agent integer agent
GLOBAL OPTIONS:
--help
--config specify config file, default is ~/.orxray/config.
-p, --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 script
orxray ylang res_mem.y -p 6378
Create a Ylang analyzer
orxray new-ylang res_mem res_mem.y --desc "calculator process res memory."