Giter Club home page Giter Club logo

Comments (5)

rcarmo avatar rcarmo commented on July 22, 2024 1

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.

mariusa avatar mariusa commented on July 22, 2024

Thank you! I'll leave the request open for metrics, especially since there were some attempts.

from piku.

chr15m avatar chr15m commented on July 22, 2024

@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.

mariusa avatar mariusa commented on July 22, 2024

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.

rcarmo avatar rcarmo commented on July 22, 2024

Also moving this to discussions for archival purposes (follow ups can go there)

from piku.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.