pcp
[Top] [All Lists]

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

To: pcp@xxxxxxxxxxx
Subject: Re: [pcp] [Patch]Add the metric from system call semctl/msgctl/shmctl
From: Marko Myllynen <myllynen@xxxxxxxxxx>
Date: Wed, 25 May 2016 13:59:56 +0300
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <6A799D6419DDBA43B657744DC4113882FE3F5CD0@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Organization: Red Hat
References: <6A799D6419DDBA43B657744DC4113882FE3F5CD0@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Reply-to: Marko Myllynen <myllynen@xxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0
Hi,

On 2016-05-25 13:51, Wu, Liming wrote:
> 
>   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.

One idea which comes to mind is to define metric sets in a pmrep(1)
configuration file (see pmrep.conf(5)) containing the relevant metrics
and then run pmrep :ipcs-u or such. The output will not be 1:1 compared
to ipcs(1) but this might be a quick-win solution here.

Thanks,

-- 
Marko Myllynen

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