pcp
[Top] [All Lists]

çå: [pcp] [patch] Add a new command pcp-ipcs

To: Nathan Scott <nathans@xxxxxxxxxx>
Subject: çå: [pcp] [patch] Add a new command pcp-ipcs
From: "Wu, Liming" <wulm.fnst@xxxxxxxxxxxxxx>
Date: Mon, 6 Jun 2016 09:30:59 +0000
Accept-language: zh-CN, en-US
Cc: "pcp@xxxxxxxxxxx" <pcp@xxxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <1615960628.52451231.1465196444123.JavaMail.zimbra@xxxxxxxxxx>
References: <6A799D6419DDBA43B657744DC4113882FE3F63B0@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <1615960628.52451231.1465196444123.JavaMail.zimbra@xxxxxxxxxx>
Thread-index: AdG9fAbMjlqtgcCjQ7K57sfQi+g/zgErCEkbAJTEuoA=
Thread-topic: [pcp] [patch] Add a new command pcp-ipcs
Hi  Nathan

> Nice work - it's great to see all the docs and QA work done too - thanks!
> 
> I noticed a few typos & unused imports in the python script, so fixed those 
> up.
> We also sometimes add a "qa/archives/mk.xxx.sh" script when adding new test
> archives - I've added one because we'll need it shortly...
> 
> There's a small problem in the script - it's using the original ipc.* names 
> before
> I tweaked 'em for consistency.  I've fixed this up in the script but we should
> re-create qa/archives/pcp-ipcs to match.  Could you do that?  (I would, but
> my system is not setup with an interesting sem/msg/shm like yours seems to
> be already - mostly zero values for me).
I have re-created qa archives. Please refer to the attachment.
 
> Also, the script accesses sysconf(SC_PAGE_SIZE) for reporting #pages.  That
> should be using the "hinv.pagesize" metric instead (and perhaps use sysconf
> value as a fall-back?), so that the report is generated for the monitored 
> system
> (which is possibly remote via --host) or archive.  In both cases the values 
> may
> not have come from a system with a pagesize matching the system where
> pcp-ipcs is being run.
Thank you for explanation. 

Cheers


wuliming


Attachment: Fix-the-method-of-getting-pagesize.patch
Description: Fix-the-method-of-getting-pagesize.patch

Attachment: Fix-typo-using-latest-metric-names-and-recreate-pcp-.patch
Description: Fix-typo-using-latest-metric-names-and-recreate-pcp-.patch

Attachment: pcp-ipcs.0
Description: pcp-ipcs.0

Attachment: pcp-ipcs.index
Description: pcp-ipcs.index

Attachment: pcp-ipcs.meta
Description: pcp-ipcs.meta

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