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
[WIP]Added few sensors to monitor processes and system and stored result to json file #1039
Conversation
c43cad4
to
65439a8
Compare
Also post the test/output logs. |
@sakshamgarg I have attached the logs and added the comment . Please review |
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.
Thanks @visheshh . Changes looks good to me.
@PBSPro/pbspro-maintainers Please review |
@visheshh - could you please let us know the motivation/use case behind this change. Also, is there a design document or a requirement specification? |
@prakashcv13 Motivation is to record process monitoring and system monitoring values in json output file i.e, ptl_test_results.json . So that after running a load/stress test we can see how system and pbs behaved while the test was going on. |
@visheshh - thank you. I wanted to understand as to how did we arrive at using -rSub options for the sar command. Using -P ALL would also be useful. Using -s for start time will also be needed. |
Hi @prakashcv13 , There is a seperate design discussion going on towards how to add monitoring scripts. Do you feel it is good idea to do system monitoring as part of that. rather than making it default. If its okay to have system monitoring as default with this PR, I will post a new EDD to mention what all is being captured as part of this implementation. |
hey @visheshh - thank you for pointing me to the discussion on adding monitoring scripts. |
@visheshh this PR has been idle for 3+ months now, I'm closing it, please reopen/create a new one with you are ready with your changes |
Added few sensors to monitor processes and system and stored result to json file
Bug/feature Description
Monitor processes provided as input in procmon with ps command and sar command and store the results to JSON output file
Affected Platform(s)
Linux
Cause / Analysis / Design
More information needed of monitoring pbs process and system for load/stress tests
Solution Description
Added few more sensors to monitor for ps command added info from sar command and system load average.
The monitoring output is stored to ptl_test_results.json file.
Testing logs/output
PTL output
ptl_output.txt
JSON output file
ptl_test_results.txt
Checklist:
For further information please visit the Developer Guide Home.