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.

Back to TOC

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

Back to TOC

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."

Back to TOC