Comments (4)
Cgroups support will be implemented in steps:
- Gather basic cgroups metrics and show interactively.
- Store cgroups metrics in the raw file.
- Add cgroups related information to the parsable output and json output.
- Update manual page.
from atop.
Step 1:
- The meaning of key/option 'G' and 'X' has been swapped.
- Key/option 'X' is used now to suppress showing terminated processes.
- Key/option 'G' is used now to show a hierarchical structure of cgroups and related metrics.
- With the keys/options 2 till 7 the level depth of the cgroups can be chosen (7 is default).
- Key/option 8 also shows related active processes, except the kernel processes (usually in the root cgroup).
- Key/option 9 shows all active processes.
- With key/option 'a' (toggle) all cgroups and processes are shown instead of only the active cgroups and processes. A cgroup is considered inactive when no processes are assigned to that cgroup nor to the cgroups underneath.
- With key/option 'C' the output is sorted on CPU consumption.
- With key/option 'M' the output is sorted on memory consumption.
- Per cgroup, the number of assigned processes is shown (NPROCS) as well as the number of processes assigned to the cgroups underneath (PBELOW).
from atop.
Step 2:
- For systems with cgroups version 2 support, cgroups metrics and the accompanying PID list are written in a compressed way to the raw file.
- When reading raw files, cgroup metrics and PID list are decompressed and additional structures are build again to be able to handle and sort cgroups information again.
from atop.
Step 3:
- Label 'CGR' has been introduced to print cgroup-related information.
- Parsable output: one line (marked 'C') is printed per cgroup to show the metrics and one line (marked 'P') is printed to show a list of PIDs related to the cgroup.
- JSON output: all metrics are printed per cgroup as a dictionary with a specific key to show the list of PIDs.
from atop.
Related Issues (20)
- atop crashes with a floating point exception
- Floating Point exception in Infiniband code HOT 2
- atop-2.9.0 fails to build on clang/llvm gentoo system.
- Missing container name with key 'j' HOT 1
- Thank you! HOT 1
- Filter on process state should work for threads (in thread view) as well HOT 1
- patch to allow cross-building again HOT 4
- segmentation fault HOT 1
- Filter Thread States with Q, not only Processes HOT 1
- Not able to get A100 GPU stats HOT 4
- The "program name" field is missing in the JSON format HOT 3
- cgroup field should have backslashes escaped in JSON output HOT 1
- Sort on SWAPSZ HOT 1
- Netatop crashes the kernel with General Protection Fault HOT 6
- Netatop fails to build with GCC-14 or Clang-17
- Atop service may not start on high core count boxes HOT 1
- Feature Request: Sort by or Filter on PPID
- changes needed for 64-bit time_t HOT 1
- suggested change to init script HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from atop.