pcp
[Top] [All Lists]

[pcp] pmcollectl referencing pm before its instantiated (#41)

To: performancecopilot/pcp <pcp@xxxxxxxxxxxxxxxxxx>
Subject: [pcp] pmcollectl referencing pm before its instantiated (#41)
From: Allan <notifications@xxxxxxxxxx>
Date: Tue, 18 Aug 2015 20:48:06 -0700
Delivered-to: pcp@xxxxxxxxxxx
Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=github.com; h=from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding:list-id:list-archive:list-post:list-unsubscribe; s=s20150108; bh=SJprQxO1j/+IJeWKmlJ03PAUJak=; b=c1SvQZ8rWw1RZkTK kPPyELW+ouNVrnUeP7ykOdmnSKwOPNxouYBdfLYyTD1vG+K1Y83Trk7w9ZMfQGbn dqTaeA+g0gKIVOvgKwx2yeWPVGgtUdWS9ICdFyQDatXZAkntn1YEJOpjvjS1vm2e 1thRXLV2gb1EJI7NWE376YwhxXY=
List-archive: https://github.com/performancecopilot/pcp
List-id: performancecopilot/pcp <pcp.performancecopilot.github.com>
List-post: <mailto:reply+00bd08b642782465401712889abf6235bbcac6130349331292cf0000000111ebbe7692a169ce06115d93@reply.github.com>
List-unsubscribe: <mailto:unsub+00bd08b642782465401712889abf6235bbcac6130349331292cf0000000111ebbe7692a169ce06115d93@reply.github.com>, <https://github.com/notifications/unsubscribe/AL0Itnd0kzYaOqFZkXSUbjkSyud7JpHJks5oo_P2gaJpZM4FuE1F>
Reply-to: performancecopilot/pcp <reply+00bd08b642782465401712889abf6235bbcac6130349331292cf0000000111ebbe7692a169ce06115d93@xxxxxxxxxxxxxxxx>

When using the -R option 'pm' gets called before instantiation.

$ ./pmcollectl -R 1s -s m -v
Traceback (most recent call last):
File "./pmcollectl", line 621, in
(timeval, errmsg) = pm.pmParseInterval(str(opts.duration_arg))
NameError: name 'pm' is not defined


Reply to this email directly or view it on GitHub.

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