mirror of
https://github.com/projectatomic/atomic.git
synced 2026-02-06 12:45:57 +01:00
Adding a new atomic sub-command that behaves like GNU top but for processes being run for containers. It currently displays the container id, container name, pid, cpu% (as reported by docker top), mem% (as reported by docker top), and the command. You can optionally pass in -o ppid, stime, time to collect more data on the processes themselves. While in the interactive display, you can also sort on the columns to re-organize the data as needed. You can define an interval for refreshing the process information. atomic top can be run without any additional parameters. If that is the case, it will by default show processes for all active containers. You can also add one or more container_ids for exclusive process monitoring by container. Also added an AtomicDocker class to atomic.py which allows for custom docker, python-api calls without having to re-invent the wheel.