pcp
[Top] [All Lists]

Re: browser based PCP data viewer?

To: Mark Potts <potts@xxxxxxxxxxxxxxxxxxx>
Subject: Re: browser based PCP data viewer?
From: fche@xxxxxxxxxx (Frank Ch. Eigler)
Date: Thu, 16 Jan 2014 17:50:10 -0500
Cc: pcp@xxxxxxxxxxx
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <52D85994.50109@xxxxxxxxxxxxxxxxxxx> (Mark Potts's message of "Thu, 16 Jan 2014 16:13:40 -0600")
References: <52D85994.50109@xxxxxxxxxxxxxxxxxxx>
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux)
Hi, Mark -

Welcome!

> [...] now have a need to view performance data, such as PCP collects
> handily, from a remote browser.  By that I mean collect/forward
> performance from one or more machines using my PCP-aware local
> program(s) to a single remote machine on which the agent/viewer
> would be contained in a browser such as Firefox. [...]

There are a couple of ways to proceed.  Among them:

- write a cgi-flavoured pcp client in C or perl or python using the PMAPI
  bindings for those languages, have it encode the web application

- write a web app in any AJAXy browser language like java or
  javascript, and go through the pcp 3.8-era pmwebd daemon, which binds
  http/json to a subset of PMAPI; see the src/pmwebapi/jsdemos/* in the
  source tree

- FChE

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