pcp
[Top] [All Lists]

Re: [pcp] Accessing instance specific metrics

To: pcp@xxxxxxxxxxx
Subject: Re: [pcp] Accessing instance specific metrics
From: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Wed, 22 Apr 2015 06:29:13 +1000
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <5536317C.5000600@xxxxxxxxxx>
References: <5534C680.2020709@xxxxxxxxxx> <5536317C.5000600@xxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0
On 21/04/15 21:16, Marko Myllynen wrote:
... and
-i "11173 java" won't work.

But I would expect -i "'11173 java'" or -i '"11173 java"' to work.

The nested quoting is unusual (but documented in the pmval(1) man page) as a result of the "special" significance of white space in an external instance name, i.e. an instance name must be unique across an instance domain up to the first white space in the name.

There are only a few examples of instance names than contain spaces ... but this does include all of the process-based ones and the load average.

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