Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

pmcollectl referencing pm before its instantiated #41

Closed
burn8 opened this Issue Aug 19, 2015 · 1 comment

Comments

Projects
None yet
2 participants

burn8 commented Aug 19, 2015

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

natoscott added a commit that referenced this issue Aug 20, 2015

pcp-collectl: make the --runtime option work in live mode
Fix pcp-collectl -R/--runtime option so that it works for both
recording and live reporting.  Add test qa/864 to exercise it.

Resolves pcp github issue #41.
Contributor

natoscott commented Aug 21, 2015

@burn8 this is fixed in the master branch now - thanks for the report.

@natoscott natoscott closed this Aug 21, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment