pcp
[Top] [All Lists]

Re: PCP versions of console tools - Next Steps

To: Ryan Doyle <ryan@xxxxxxxxxxxx>
Subject: Re: PCP versions of console tools - Next Steps
From: Sitaram Shelke <sitaramshelke@xxxxxxxxx>
Date: Wed, 11 May 2016 11:36:00 +0530
Cc: mgoodwin@xxxxxxxxxx, Nathan Scott <nathans@xxxxxxxxxx>, pcp@xxxxxxxxxxx
Delivered-to: pcp@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc; bh=l6xSyQx52V5X5S17nb9wlbbTdCfSciJWNnL/0dX0gks=; b=D48oX/nOo0yo6C9jtgogQruL9OZ2HFidQkrkryApPqso4YgYad9NnBcpbM8F1wY3k9 0CRXzT8PoG+h9WarI1TUKocIBF0XHfrMCvlyhlpAZPRk8akfULjP23iD5PsyAmdXT+/q xjm7115l/KyIvlQi2Ca8LkI1eO6mwJ+8xN/5eRP63mg3GWyU3ARxNj73oYEGVgLOdJyC IBwJwIuxLnRusyf1lYOdwJaSSR507Mmzuj2DBR/fJnjTyfzmpUkufcsXn5MVVDRvp1wO IRj3/gCNAZhfwVNPvMziI4u+4P/+LCAQQeaKWe/a3c2K3Qn4Hp8WEo4DKEYd8shEMF9+ +iig==
In-reply-to: <57307EA4.1070204@xxxxxxxxxxxx>
References: <CAHnM1zzTfNgt4Hsgt_Pgq7M-yz+ewd_FehB+QMxixE1MFfKOvA@xxxxxxxxxxxxxx> <572F065E.20601@xxxxxxxxxxxx> <CAHnM1zzfB6H=-oz3HnsvByGSih6Ktj9Zo3cr-kGM5DE4npa60g@xxxxxxxxxxxxxx> <573067F5.9040409@xxxxxxxxxxxx> <CAHnM1zxDgpxK2m5AQ=pL8Dwz1nydtW36ZJC8wkj9axYDdaMiMg@xxxxxxxxxxxxxx> <57307EA4.1070204@xxxxxxxxxxxx>
Hello Ryan,
I was able to print all pids in instances of the metric 'proc.psinfo.pid' Âusing the normal approach that we used in the previous example but I could not figure out the way to print external names of those instances. For example, '024999 bash' for pid Â24999.Â
So I used pmGetInDom() for this. Using this I was able to get pids as well as names for those instances.
But I want to know is it the right way?

Regards,
Sitaram

On Mon, May 9, 2016 at 5:42 PM, Ryan Doyle <ryan@xxxxxxxxxxxx> wrote:

Also, it would be great if you
could email your mentors a >summary each
Friday afternoon with:
- The work you have done in that >week
- The plan for the next week

Sure, I can do that. I remember Nathan has mentioned a format for this
mail. I will follow that.
Also I usually write about my work at sitaramshelke.github.io
<http://sitaramshelke.github.io> and I have added posts for last two
weeks if you want to take a look.

Sounds great - I'd be happy to read your blog posts too :)

Regarding the sample disk.all.read metric program, it doesn't have an
option to read from archive as of now, so should I try that first or put
it in the backlog to do the next task and add archive support later?

Lets put it in the backlog for now. I've added a task to look at how instances work in PCP that should be useful to get some exposure with. I'll also add an alternative way of looking up metrics using pmFetchGroup set of APIs that would be good to look at too.

Regards,
Ryan



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