| 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 have added some code toÂhttps://github.com/sitaramshelke/pmapi-procinfo . 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:
-sitaram
|
| Previous by Date: | Re: [pcp] [PATCH] pmda/memory_bandwidth: Add a new pmda to monitor the maximum memory bandwidth, Hemant Kumar |
|---|---|
| Next by Date: | Re: [pcp] pcp updates: more multithreaded fixes and then some, Ken McDonell |
| Previous by Thread: | Re: PCP versions of console tools - Next Steps, Ryan Doyle |
| Next by Thread: | Re: PCP versions of console tools - Next Steps, Ryan Doyle |
| Indexes: | [Date] [Thread] [Top] [All Lists] |