Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ylecuyer/puma-status
Command-line tool for puma to display information about running request/process... Fork of https://github.com/dimelo/puma-helper/ in ruby.
https://github.com/ylecuyer/puma-status
instrument puma
Last synced: 5 days ago
JSON representation
Command-line tool for puma to display information about running request/process... Fork of https://github.com/dimelo/puma-helper/ in ruby.
- Host: GitHub
- URL: https://github.com/ylecuyer/puma-status
- Owner: ylecuyer
- License: mit
- Created: 2019-07-14T16:02:38.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-08-23T20:53:17.000Z (4 months ago)
- Last Synced: 2024-12-21T20:03:54.957Z (12 days ago)
- Topics: instrument, puma
- Language: Ruby
- Homepage:
- Size: 58.6 KB
- Stars: 113
- Watchers: 5
- Forks: 10
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# puma-status
Command-line tool for puma to display information about running request/process.
## Install
Install with:
```
gem install puma-status
```## Usage
```
$ puma-status path/to/puma.state
```For continuous monitoring:
```
$ watch --interval 0.1 --color puma-status path/to/puma.state
```## Output examples
Clustered mode:
```
16723 (/tmp/puma.state) Version: 5.6.4/ruby2.5.3p105 | Uptime: 1m50s | Phase: 0 | Load: 2[██░░ ]10 | Req: 936
└ 16827 CPU: 93.3% Mem: 140 MB Uptime: 1m50s | Load: 1[█░ ]5 | Req: 469
└ 16833 CPU: 106.7% Mem: 145 MB Uptime: 1m50s | Load: 1[█░ ]5 | Req: 467
```Single mode:
```
18847 (/tmp/puma.state) Version: 5.6.4/ruby2.5.3p105 | Uptime: 0m 3s | Load: 1[█░░ ]5 | Req: 672
└ 18847 CPU: 120.0% Mem: 143 MB Uptime: 0m 3s | Load: 1[█░░ ]5 | Req: 672
```## Known issues
Uptime will shows `--m --s` for older versions of puma (< 4.1.0): https://github.com/puma/puma/pull/1844