| To: | pcp@xxxxxxxxxxx |
|---|---|
| Subject: | Help with Python API |
| From: | Rohan Arora <rarora2012@xxxxxxxxx> |
| Date: | Thu, 18 Jun 2015 13:37:38 +0000 |
| Delivered-to: | pcp@xxxxxxxxxxx |
| Dkim-signature: | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=fNvOU+cxKQJGzKc0KnjFrAeKY3u5lR2iTaKkKqDkG+I=; b=sA06g/DUr85AZnu+gW6ImBM933+CRhO3xJ4/aatknz7QauAExmUKdVidaxOFD1gN7G 6tNlFr3X2E36Pn8w7jaGXrH/ZQ1cpj8deSNxFJ8Ec+FtoEkypi7VMOr3gYAo1f9RKGHl FOJdrmIV1ReFYpRHzXxKEvIwV18Dg+qnT7DDzEhjZ2FtT6ynF7SsYYmfvydaF0qjkdXD zI5lNZrZswvyunMG7cA6ZdMuDe4zqq0GTqNIcFLjb2fGUpO2oPgc6MICxBws/uE9tex6 xdIWqVyI2JOaedPS4xwF+HeS7EmtNt569cCCXxHz+Ot2YO9NwHP5eYL31++rU9ZTgkXD FEhQ== |
|
Hi,
I was working on a project where I wanted to be able to collect information from pmcd on remote computers using Python. I have tried looking through the *.py files and looked at the help on each part of the pcp module, but I am unable to really wrap my head around how to go about doing this. I saw that in the pcpgui module there was a record host function, which seemed like it might be what I wanted, but I am confused about how to use it and how to pull the metrics that I want, where it will record things, etc. Also, would I want to be using pmwebd on the central computer that I am running the Python script on, or would this not be necessary? Would you be able to point me in the right direction? Also, are there any more examples similar to the example given by Python's help(pmapi) command? I found it to be very useful and feel like I could start to wrap my head around things more if there were more examples that I could find. Thanks, Rohan |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | pcp updates: merge nathans (build, qa, docs) + Marc Ma (py memleak, disk.partitions metrics), Mark Goodwin |
|---|---|
| Next by Date: | [Bug 1182184] reduced installation footprint for minimal pcp applications, bugzilla |
| Previous by Thread: | pcp updates: merge nathans (build, qa, docs) + Marc Ma (py memleak, disk.partitions metrics), Mark Goodwin |
| Next by Thread: | Re: [pcp] Help with Python API, Nathan Scott |
| Indexes: | [Date] [Thread] [Top] [All Lists] |