Analyzer ngx-shm-lru
Name
ngx-shm-lru - Nginx Share Memory LRU Statistics
Resource Category
Memory.
Application Type & Technical Stack
- OpenResty
Parameters
The following parameters (or global variables) can be overridden by the user when running the analyzer or tool:
shm_name
Type: string
Description: shared memory zone name
Default Value: None
shm_addr
Type: int
Description: shared memory address
Default Value: None
max_samples
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
Author
The OpenResty Inc. Team.
Copyright
Copyright (C) by OpenResty Inc. All rights reserved.