Analyzer ngx-shm-lru


ngx-shm-lru - Nginx Share Memory LRU Statistics

Resource Category


Application Type & Technical Stack

  • OpenResty


The following parameters (or global variables) can be overridden by the user when running the analyzer or tool:


Type: string

Description: shared memory zone name

Default Value: None


Type: int

Description: shared memory address

Default Value: None


Type: int

Description: max sample entries

Default Value: 2000

Command Line Syntax

The analyzer can be invoked directly on the command-line via the orxray utility from the openresty-xray-cli software package.

Alternatively, the analyzer can also be invoked manually or automatically on the web console UI of OpenResty XRay (like on the Advanced web page).

# PID is the target process PID.
orxray analyzer run ngx-shm-lru -p PID

# trace a shell command directly
orxray analyzer run ngx-shm-lru -c SHELL_CMD

Tracing Multiple Processes

Not supported.

Output Formats

  • Histogram Bar Charts
  • Plain Texts


The OpenResty Inc. Team.

Copyright (C) by OpenResty Inc. All rights reserved.