Comments (5)
Hi! Yeah, enabling Discussions seems like a good idea. At least it's more searchable than Discord :)
There is no built-in way to have CPU and history per app - yet. both @chr15m and myself have taken a few stabs at this in the past (I have a little monitor app that looks at process names and CPU counters, but never cleaned it up for publishing), but most of the time it just doesn't add a lot of value when you're running on small machines.
As to usage quotas, I have been looking at using cgroups
for that, but it requires a lot more moving parts (I have an experimental setup here that I have been playing with). But, again, most of the time it just isn't necessary unless you have something that does a lot of batch processing and hogs the machine.
from piku.
Thank you! I'll leave the request open for metrics, especially since there were some attempts.
from piku.
@mariusa I built this little hack which just measures CPU every minute and if it is higher than threshold takes a lot of all running processes. It's generally enough to determine which app is eating the CPU: https://github.com/piku/piku-monitoring
from piku.
Nice, I'll try it out after managing to setup piku. Thanks!
FYI see also https://github.com/Unitech/pm2
but I see that has 700 issues, including Unitech/pm2#5559
Seems like they want to push their own proprietary & centralized system through this tool.
from piku.
Also moving this to discussions for archival purposes (follow ups can go there)
from piku.
Related Issues (20)
- Simpler nginx install HOT 5
- Remove certbot references HOT 4
- create ~/bin/piku symlink to ~/piku.py HOT 4
- New NGINX_HTTPS_ONLY logic breaks existing installs HOT 4
- [feat] add config:push / config:pull for working with config vars HOT 6
- config:set var doesn't work with spaces HOT 10
- Suddenly getting Error: app 'myapp' not deployed! HOT 10
- Investigate ways to better manage secrets HOT 3
- Is there a "build" stage HOT 4
- node deploy doesn't run npm install HOT 3
- Having trouble getting set up on a Raspberry Pi 4 HOT 2
- Django / Postgres example - need to move to it's own repo and update HOT 22
- What is fetcher? HOT 4
- Bun support HOT 5
- Is there a way to uninstall Piku? HOT 1
- Trouble with a rails app HOT 1
- Crontabs with ranges fail to parse in uwsgi HOT 8
- MkDocs documentation HOT 5
- go.mod support HOT 10
- Passthrough mode HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from piku.