pcp
[Top] [All Lists]

Re: PCP versions of console tools - Next Steps

To: Sitaram Shelke <sitaramshelke@xxxxxxxxx>
Subject: Re: PCP versions of console tools - Next Steps
From: Ryan Doyle <ryan@xxxxxxxxxxxx>
Date: Sat, 14 May 2016 13:36:35 +1000
Cc: pcp@xxxxxxxxxxx
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <CAHnM1zz9TiS02n0S_YigoMhqcnOjambYqLcmH-aTmie_m2ZOYg@xxxxxxxxxxxxxx>
References: <CAHnM1zzTfNgt4Hsgt_Pgq7M-yz+ewd_FehB+QMxixE1MFfKOvA@xxxxxxxxxxxxxx> <572F065E.20601@xxxxxxxxxxxx> <CAHnM1zzfB6H=-oz3HnsvByGSih6Ktj9Zo3cr-kGM5DE4npa60g@xxxxxxxxxxxxxx> <573067F5.9040409@xxxxxxxxxxxx> <CAHnM1zxDgpxK2m5AQ=pL8Dwz1nydtW36ZJC8wkj9axYDdaMiMg@xxxxxxxxxxxxxx> <57307EA4.1070204@xxxxxxxxxxxx> <CAHnM1zxJj8c6A18YUmjDXDJvc_Nwb=MwzxkCAfwUE3=OGXt25w@xxxxxxxxxxxxxx> <y0mshxowm4w.fsf@xxxxxxxx> <CAHnM1zz9TiS02n0S_YigoMhqcnOjambYqLcmH-aTmie_m2ZOYg@xxxxxxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.3.0


On 12/05/16 03:25, Sitaram Shelke wrote:
Thank you for the input and yes using pmFetchGroup() is the next task on
my board. Ryan suggested trying pmFetch() first and then going after
pmFetchGroup().

Thanks Sitaram, I've checked it out and it looks like you've got the hang of the fetchgroup API.

I've added a task to check out the pmcc module and some of the classes in there that abstracts the pmapi further. It's also got some useful classes for building tools like pidstat.

I've added more information in the Wekan card but have a look at pcp-iostat.py as a starting point. It's likely we will want to use this for the implementation of pidstat.

Cheers,
Ryan

<Prev in Thread] Current Thread [Next in Thread>