pcp
[Top] [All Lists]

RE: [pcp] [Patch]Add the metric from system call semctl/msgctl/shmctl

To: Nathan Scott <nathans@xxxxxxxxxx>
Subject: RE: [pcp] [Patch]Add the metric from system call semctl/msgctl/shmctl
From: "Wu, Liming" <wulm.fnst@xxxxxxxxxxxxxx>
Date: Fri, 27 May 2016 11:10:45 +0000
Accept-language: zh-CN, en-US
Cc: "pcp@xxxxxxxxxxx" <pcp@xxxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
Thread-index: AdG4B7Tg80kVl9TsRcKNYrctpnwnHw==
Thread-topic: [pcp] [Patch]Add the metric from system call semctl/msgctl/shmctl
Hi  Nathan

> Hi Liming,
> 
> ----- Original Message -----
> > Hi ï
> >
> >   This 2 patches add the metric from system call shmctl(..,SHM_INFO,..)
> >   semctl(..,SEM_INFO,..)  and  msgctl(..,MSG_INFO,..). to pmdalinux.
> >   After add these metrics , I want to add pmipcs command to replace of
> >   Ipcs(-u/-l) command. If you have any suggestion,  please tell me.
> >
> 
> Sounds good!  Please have a look at scripts like src/pcp/{free,uptime} as
> examples of how best to approach doing the new tool (should be a pcp-ipcs
> with new man page, QA tests, and a src/pmlogconf/tools/ipcs file).
Thanks your answer. I will do it.
> Also, could you look into writing a test case for these new metrics too, 
> please?
> The qa/888 example from earlier today should be close to what is needed for
> regression testing here too.  Thanks!
I have writed the test case. Please refer to attachment. Thx.

  Best regards
  wuliming 



Attachment: Add-regression-testing-for-SEM_INFO-and-MSG_INFO-met.patch
Description: Add-regression-testing-for-SEM_INFO-and-MSG_INFO-met.patch

Attachment: Add-regression-testing-for-ipc.shm.swp_att-swp_suc-m.patch
Description: Add-regression-testing-for-ipc.shm.swp_att-swp_suc-m.patch

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