Cover image
Try Now
2014-08-25

Cpumimit pour plusieurs processus (les limites tous, pas seulement le premier)

3 years

Works with Finder

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.

相关推荐

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

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

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

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

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

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

  • https://appia.in
  • Siri Shortcut Finder – your go-to place for discovering amazing Siri Shortcuts with ease

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

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

  • tomoyoshi hirata
  • Sony α7IIIマニュアルアシスタント

  • apappascs
  • Découvrez la collection la plus complète et la plus à jour de serveurs MCP sur le marché. Ce référentiel sert de centre centralisé, offrant un vaste catalogue de serveurs MCP open-source et propriétaires, avec des fonctionnalités, des liens de documentation et des contributeurs.

  • ShrimpingIt
  • Manipulation basée sur Micropython I2C de l'exposition GPIO de la série MCP, dérivée d'Adafruit_MCP230XX

  • jae-jae
  • MCP Server pour récupérer le contenu de la page Web à l'aide du navigateur sans tête du dramwright.

  • ravitemer
  • Un puissant plugin Neovim pour gérer les serveurs MCP (Protocole de contexte modèle)

  • patruff
  • Pont entre les serveurs Olllama et MCP, permettant aux LLM locaux d'utiliser des outils de protocole de contexte de modèle

  • pontusab
  • La communauté du curseur et de la planche à voile, recherchez des règles et des MCP

  • av
  • Exécutez sans effort LLM Backends, API, Frontends et Services avec une seule commande.

  • WangRongsheng
  • 🧑‍🚀 全世界最好的 LLM 资料总结 (数据处理、模型训练、模型部署、 O1 模型、 MCP 、小语言模型、视觉语言模型) | Résumé des meilleures ressources LLM du monde.

  • Mintplex-Labs
  • L'application tout-en-un desktop et Docker AI avec chiffon intégré, agents AI, constructeur d'agent sans code, compatibilité MCP, etc.

  • appcypher
  • Serveurs MCP géniaux - une liste organisée de serveurs de protocole de contexte de modèle

    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.