Skip to main content

A lightweight top like monitor for linux CGroups

Project description

A lightweight top like monitor for linux CGroups

screenshots/screenshot.png

Introduction

Linux Control Groups aka CGroups is a lighweight Linux mechanism to control resources, typically cpu and memory for a logical group of processes.

Where traditional use of computers usualy involved managing resources on a per-user basis, cgroups allows to constrints resources at a much thiner granularity. For example, it possible to bound Firefox memory usage and run a Blender rendering job at a lower priority without involving multiple users neither tracking manually a bunch of PIDs.

This mechanism is at the heart of Docker, LXC and Systemd isiolation layers to name only a few.

While is common and easy to monitor resources at a task level and system, there were no tools widely available to monitor theses resources at a logical, intermediary level, namely CGroups

CTOP is the tool that is solving this specific issue.

It is completely agnostic of the underlying containerization technique used. Your cgroups could be managed by cgmanager, system and by hand, it is flexible enough to adapt to any scenario. The only requirement is to have at least one active cgroup hierarchie.

Installation

pip install ctop
ctop

OR

git clone https://github.com/yadutaf/ctop.git
cd ctop
pip install -r requirements.txt
./ctop.py

Requirements

  • python >=2.6

  • pip

Licence

MIT

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ctop-0.3.1.tar.gz (7.3 kB view details)

Uploaded Source

File details

Details for the file ctop-0.3.1.tar.gz.

File metadata

  • Download URL: ctop-0.3.1.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for ctop-0.3.1.tar.gz
Algorithm Hash digest
SHA256 ea23278a38193530bcfa1375c7b46f950158c958b66fc4e6f3fb8e700f025e15
MD5 0af05e6b311b8763c6adfd212def71cc
BLAKE2b-256 9462b3aa5ca3bfb1667a560cc2a72ffb3bdc2d3b57c78010dd36cabae420001d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page