https://github.com/sinri/strawberry
MySQL Process List Spy
https://github.com/sinri/strawberry
Last synced: about 1 year ago
JSON representation
MySQL Process List Spy
- Host: GitHub
- URL: https://github.com/sinri/strawberry
- Owner: sinri
- License: gpl-3.0
- Created: 2019-01-04T13:19:43.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-09-10T03:40:22.000Z (over 6 years ago)
- Last Synced: 2025-01-29T18:33:17.278Z (over 1 year ago)
- Language: PHP
- Size: 47.9 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# strawberry
MySQL Process List Spy
---

Put An Uneatable Strawberry Here For Remembrance.
---
Usage:
```bash
php Strawberry.php [ConfigFile] [StoreDir] [Time]
# Such as:
# php bin/Strawberry.php debug/config.php debug 10
```
Config file see `config/pdo_sample.php`.
Store Directory should be writable.
Time is an integer, unit is second.
To be run in cronjob and collected slow log would be put in store directory.
---
阿里云的基础版 MySQL RDS 是不提供慢日志服务的。
> 自力更生,艰苦奋斗。打倒列强,除军阀!