https://github.com/pforret/peakdetect
Detect CPU/MEM/DISK peaks on a web server and document what site/page is the cause
https://github.com/pforret/peakdetect
bashew devops server
Last synced: 3 months ago
JSON representation
Detect CPU/MEM/DISK peaks on a web server and document what site/page is the cause
- Host: GitHub
- URL: https://github.com/pforret/peakdetect
- Owner: pforret
- License: mit
- Created: 2024-12-27T21:01:44.000Z (9 months ago)
- Default Branch: master
- Last Pushed: 2024-12-27T21:04:57.000Z (9 months ago)
- Last Synced: 2025-07-03T06:18:25.625Z (3 months ago)
- Topics: bashew, devops, server
- Language: Shell
- Homepage:
- Size: 345 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README






[](https://www.basher.it/package/)# peakdetect
Detect CPU/MEM/DISK peaks on a web server and document what site/page is the cause
## 🔥 Usage
```
Program : peakdetect by peter@forret.com
Version : v0.0.1 (Apr 22 16:07:13 2023)
Purpose : Detect CPU/MEM/DISK peaks on a web server and document what site/page is the cause
Usage : peakdetect [-h] [-q] [-v] [-f] [-l ] [-t ]
Flags, options and parameters:
-h|--help : [flag] show usage [default: off]
-q|--quiet : [flag] no output [default: off]
-v|--verbose : [flag] also show debug messages [default: off]
-f|--force : [flag] do not ask for confirmation (always yes) [default: off]
-l|--log_dir > : [option] folder for log files [default: /Users/pforret/log/script]
-t|--tmp_dir > : [option] folder for temp files [default: /tmp/script]
: [choice] action to perform [options: action1,action2,check,env,update]
### TIPS & EXAMPLES
* use peakdetect action1 to ...
peakdetect action1
* use peakdetect action2 to ...
peakdetect action2
* use peakdetect check to check if this script is ready to execute and what values the options/flags are
peakdetect check
* use peakdetect env to generate an example .env file
peakdetect env > .env
* use peakdetect update to update to the latest version
peakdetect update
* >>> bash script created with pforret/bashew
* >>> for bash development, also check out pforret/setver and pforret/progressbar
```## ⚡️ Examples
```bash
> peakdetect -h
# get extended usage info
> peakdetect env > .env
# create a .env file with default values
```## 🚀 Installation
with [basher](https://github.com/basherpm/basher)
$ basher install pforret/peakdetect
or with `git`
$ git clone https://github.com/pforret/peakdetect.git
$ cd peakdetect## 📝 Acknowledgements
* script created with [bashew](https://github.com/pforret/bashew)
© 2024 Peter Forret