An open API service indexing awesome lists of open source software.

https://github.com/chronolaw/lua-resty-masterpid

get the pid of nginx master process
https://github.com/chronolaw/lua-resty-masterpid

lua openresty opm

Last synced: 7 months ago
JSON representation

get the pid of nginx master process

Awesome Lists containing this project

README

          

# lua-resty-masterpid
Get the pid of nginx master process

## Installation

Please use `opm`, such as :

```lua
opm get chronolaw/lua-resty-masterpid
```

## Usage

```lua
local masterpid = require "resty.masterpid"
ngx.say(masterpid())
```