MCP cover image
See in Github
2014-08-25

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.

相关推荐

  • https://suefel.com
  • Latest advice and best practices for custom GPT development.

  • Yusuf Emre Yeşilyurt
  • I find academic articles and books for research and literature reviews.

  • https://maiplestudio.com
  • Find Exhibitors, Speakers and more

  • Carlos Ferrin
  • Encuentra películas y series en plataformas de streaming.

  • Joshua Armstrong
  • Confidential guide on numerology and astrology, based of GG33 Public information

  • Contraband Interactive
  • Emulating Dr. Jordan B. Peterson's style in providing life advice and insights.

  • rustassistant.com
  • 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.

  • Elijah Ng Shi Yi
  • Advanced software engineer GPT that excels through nailing the basics.

  • Emmet Halm
  • Converts Figma frames into front-end code for various mobile frameworks.

  • lumpenspace
  • Take an adjectivised noun, and create images making it progressively more adjective!

  • apappascs
  • 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.

  • Mintplex-Labs
  • Die All-in-One-Desktop & Docker-AI-Anwendung mit integriertem Lappen, AI-Agenten, No-Code-Agent Builder, MCP-Kompatibilität und vielem mehr.

  • n8n-io
  • Fair-Code-Workflow-Automatisierungsplattform mit nativen KI-Funktionen. Kombinieren Sie visuelles Gebäude mit benutzerdefiniertem Code, SelbstHost oder Cloud, 400+ Integrationen.

  • ravitemer
  • Ein leistungsstarkes Neovim -Plugin für die Verwaltung von MCP -Servern (Modellkontextprotokoll)

  • WangRongsheng
  • 🧑‍🚀 全世界最好的 llm 资料总结(数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Zusammenfassung der weltbesten LLM -Ressourcen.

  • jae-jae
  • MCP -Server für den Fetch -Webseiteninhalt mit dem Headless -Browser von Dramatikern.

  • patruff
  • Brücke zwischen Ollama und MCP -Servern und ermöglicht es lokalen LLMs, Modellkontextprotokoll -Tools zu verwenden

  • open-webui
  • Benutzerfreundliche KI-Schnittstelle (unterstützt Ollama, OpenAI-API, ...)

    Reviews

    4 (1)
    Avatar
    user_K8nfbN8B
    2025-04-17

    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.