YLang

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:
    -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

1. run Ylang script

orxray ylang res_mem.y -x 6378

2. create a Ylang analyzer

orxray new-ylang res_mem res_mem.y --desc "calculator process res memory."