pcp
[Top] [All Lists]

RE: porting PCP to Red Hat Alpha linux

To: <pcp@xxxxxxxxxxx>
Subject: RE: porting PCP to Red Hat Alpha linux
From: "gilly" <gilly@xxxxxxxxxx>
Date: Sun, 17 Jun 2001 12:45:47 +0200
Importance: Normal
In-reply-to: <Pine.LNX.4.21.0106151043050.27690-100000@sherman.melbourne.sgi.com>
Reply-to: <gilly@xxxxxxxxxx>
Sender: owner-pcp@xxxxxxxxxxx
The differences in /proc files (attached are example files generated in my
alpha):
1. /proc/cpuinfo.
In proc_cpuinfo.c (part of the linux PMDA) 'refresh_proc_cpuinfo' updates
'cpunum' according to the first line in /proc/cpuinfo which is supposed to
include the word 'processor'. This line doesn't appear in the file on my
machine - therefore the program exits. Besides, the rest of the file uses
different titles so the values can't be parsed correctly.
2. /proc/net/rpc/nfsd.
In 'proc_net_rpc.c' 'refresh_proc_net_rpc expects a line with title 'rc' and
9 parameters. In the file on my machine these parameters are split into two
lines with titles: 'rc' & 'fh', and the 'fh' file includes 5 parameters
nly  - 'fh_concurrent' does not appear. (three extra lines appear in this
file; the titles are: 'io', 'th', 'ra').

-----Original Message-----
From: Mark Goodwin [mailto:markgw@xxxxxxx]
Sent: Friday, June 15, 2001 2:50 AM
To: gilly
Cc: pcp@xxxxxxxxxxx
Subject: RE: porting PCP to Red Hat Alpha linux


On Thu, 14 Jun 2001, gilly wrote:

> thanks  - meantime I've found the problem and it doesn't concern the Alpha
> machine:
> I'm working on Linux 2.4 (Red Hat 7.0) and I understand the sources are
> Linux 2.2.16 compatible, therefore the format of the /proc files is
> different. Changing the parsing of these files in the linux PMDA solves
the
> problems I've encountered first.

pcp-2.2.0-18 works fine on rh7.1-i386 with 2.4.x kernel. Which /proc
entry caused problems on linux-alpha and/or please send the patch?

> However this brings a new question - do you
> have a package that supports Linux 2.4, and more generally - do you intend
> to keep trace with new linux versions, or no new development is done?

>From SGI: no new features released to open source. However, we will be
maintaining the PCP open source release, tracking new linux releases
and continuing the gatekeeper role of accepting new features/patches
from the community.  If you have new features that use PCP, such as gui
monitoring tools, new PCP PMDAs (agents) or whatever, we'd be more than
delighted to include them in the open source release!

thanks

-- Mark Goodwin
SGI Engineering

Attachment: proc_cpuinfo.txt
Description: Text document

Attachment: proc_net_rpc_nfsd.txt
Description: Text document

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