
McPulimit
Cpulimit für mehrere Prozesse (begrenzt alle, nicht nur die erste)
2
Github Watches
7
Github Forks
9
Github Stars
mcpulimit
cpulimit-like program for more than process.
Use case
I have a program with starts several child processes (GraphicsMagic), which each starts GhostScript subprocess, which eats cpu and together overheats my tiny laptop, which reboots.
Usage
mcpulimit [OPTIONS] [executable names]
-l=50: the percent (between 1 and 100) to limit the processes CPU usage to
-t=0: timeout (seconds) to exit after if there is no suitable target process (lazy mode)
The executable must be full paths if the executable is not found in PATH.
mcpulimit sends SIGSTOP
and SIGCONT
signals to the processes, thus you
need to have permission for this - but practically if mcpulimit runs as the
same user as the processes to be limited, no problems araise.
Installation
go install github.com/tgulacsi/mcpulimit
Requirements
Go compiler and an operating system with /proc
filesystem, and SIGSTOP
and SIGCONT
signals.
相关推荐
I find academic articles and books for research and literature reviews.
Confidential guide on numerology and astrology, based of GG33 Public information
Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.
Your go-to expert in the Rust ecosystem, specializing in precise code interpretation, up-to-date crate version checking, and in-depth source code analysis. I offer accurate, context-aware insights for all your Rust programming questions.
Advanced software engineer GPT that excels through nailing the basics.
Converts Figma frames into front-end code for various mobile frameworks.
Take an adjectivised noun, and create images making it progressively more adjective!
Entdecken Sie die umfassendste und aktuellste Sammlung von MCP-Servern auf dem Markt. Dieses Repository dient als zentraler Hub und bietet einen umfangreichen Katalog von Open-Source- und Proprietary MCP-Servern mit Funktionen, Dokumentationslinks und Mitwirkenden.
Die All-in-One-Desktop & Docker-AI-Anwendung mit integriertem Lappen, AI-Agenten, No-Code-Agent Builder, MCP-Kompatibilität und vielem mehr.
Fair-Code-Workflow-Automatisierungsplattform mit nativen KI-Funktionen. Kombinieren Sie visuelles Gebäude mit benutzerdefiniertem Code, SelbstHost oder Cloud, 400+ Integrationen.
Ein leistungsstarkes Neovim -Plugin für die Verwaltung von MCP -Servern (Modellkontextprotokoll)
🧑🚀 全世界最好的 llm 资料总结(数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Zusammenfassung der weltbesten LLM -Ressourcen.
MCP -Server für den Fetch -Webseiteninhalt mit dem Headless -Browser von Dramatikern.
Brücke zwischen Ollama und MCP -Servern und ermöglicht es lokalen LLMs, Modellkontextprotokoll -Tools zu verwenden
Reviews

user_K8nfbN8B
I have been using mcpulimit by tgulacsi and it's been a game-changer for managing CPU usage on my system! The tool is easy to implement and incredibly efficient in preventing any process from hogging too much CPU. If you need a reliable way to limit CPU for tasks, I highly recommend checking it out at https://github.com/tgulacsi/mcpulimit.