htop is an extension to OS, or htop is too high to use for Mesos, IMO.

2015-12-11 22:52 GMT+08:00 sujz.buaa <[email protected]>:

> Hi, all:
>
> I find that periodical collection of resource usage is implemented by
> reading '/proc/pid/stat' file once per second, instead of running htop
> command in shell and parsing output of it, and currently it seems that
> mesos can only monitor usage of per-process, necessary extention must be
> made to achieve fine-grained monitoring of each task if wanted, however, we
> can get usage from htop output directly no matter for a process or task.
>
> Could anybody explain why reading '/proc/pid/stat' file scheme is
> selected, is there some reasons?
>
> Thank you and best regards.
>
>



-- 
-------------------------------------------------------------
周伟涛
blog: http://vitan.github.io/
github: https://github.com/vitan
LinkedIn: https://cn.linkedin.com/in/zhouweitao

Reply via email to