Hi, Attached files are script to show information on console by curses. written in ruby. - ctop.rb - cgroup.rb How to use 0. mount some cgroup (cpu,memory,cpuacct,cpuset subsystems are supported) 1. put ctop.rb and cgroup.rb to a directory. 2. ruby ctop.rb 3. read help (No Manuals..) I wrote this only for myself but someone may find this useful. Because the code is dirty and comments in codes is not enough, this is not for review. Just for sharing. (But you can rewrite this for your own freely) cpu,memory,cpuacct,cpuset subsystems are supported. Any feedback is welcome. Thanks -Kame
Attachment:
ctop.rb
Description: Binary data
Attachment:
cgroup.rb
Description: Binary data
_______________________________________________ Containers mailing list Containers@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/containers