-
Notifications
You must be signed in to change notification settings - Fork 107
PCP Update #1956
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Maxusmusti
wants to merge
19
commits into
distributed-system-analysis:pcp-tool-meister
from
Maxusmusti:localrpmtest
Closed
PCP Update #1956
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
23b7691
PCP update 1
Maxusmusti c59fd33
Completed original (will remove htd)
Maxusmusti 53c9084
Bug fixes round 1
Maxusmusti 75b305b
Bugfixes part 1.5
Maxusmusti 11edd53
Bugfixes 2.0
Maxusmusti c8c623c
Bugfixes 2.5
Maxusmusti d146a73
Debugging part 3-ish
Maxusmusti 87c4bcb
Should now work when not registered
Maxusmusti 5a39a06
typo fix
Maxusmusti 56a6120
WAIT it's actually kinda working
Maxusmusti 633559b
Cleanup misleading error logs and some unnecessary vars
Maxusmusti 63c5b0e
Flake8 and Black changes
Maxusmusti 2082362
TM error removal
Maxusmusti a580a03
TDS remove errors
Maxusmusti 93c62ba
Remove extra redis upload part 1
Maxusmusti 174f692
typo fixes
Maxusmusti 1a727aa
Remove redis upload pt2
Maxusmusti a2a838d
Using new performancecopilot.metrics collection on galaxy
Maxusmusti 36b79f8
Fixed broken ansible run
Maxusmusti File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,25 @@ | ||
| #!/usr/bin/python3 | ||
| # -*- mode: python -*- | ||
|
|
||
| import sys | ||
| import os | ||
| import logging | ||
|
|
||
| PROG = os.path.basename(sys.argv[0]) | ||
| logger = logging.getLogger(PROG) | ||
| logger.setLevel(logging.DEBUG) | ||
| sh = logging.StreamHandler() | ||
| sh.setLevel(logging.DEBUG) | ||
| shf = logging.Formatter("%(message)s") | ||
| sh.setFormatter(shf) | ||
| logger.addHandler(sh) | ||
|
|
||
| if len(sys.argv) != 2 or sys.argv[1] != "--help": | ||
| logger.info("This script is deprecated, please run it with --help for info on registering the tool.") | ||
| logger.info("Run /opt/pbench-agent/tool-scripts/pcptool --help for more info.") | ||
| exit(0) | ||
|
|
||
| if sys.argv[1] == "--help": | ||
| logger.info("Options:") | ||
| logger.info("--inst=<LOCATION OF pcptool INSTALL> (required)") | ||
|
|
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's drop the existing
pcptool entirely, and just replace it with this one.