YLua

Introduce

This subcommand runs the Ylua analysis script.

Usage

Usage: orxray ylua ylua-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 Ylua script.
orxray ylua res_mem.ylua
  1. Create analyzer base on Ylua script.
orxray new-ylua res_mem res_mem.ylua --desc "calculator process res memory."