[SERVER-6849] Remove --cpu flag Created: 24/Aug/12 Updated: 15/Nov/21 Resolved: 15/Nov/21 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Diagnostics |
| Affects Version/s: | 2.2.0-rc0 |
| Fix Version/s: | 5.2.0 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Randolph Tan | Assignee: | Benety Goh |
| Resolution: | Done | Votes: | 0 |
| Labels: | neweng, newgrad | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||
| Operating System: | ALL | ||||||||||||||||||||
| Sprint: | Execution Team 2021-11-29 | ||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Description |
|
Currently, the --cpu displays the elapsed time between now and the last time the log for "cpu utilization" was written, which is almost a constant 4 because the thread sleeps for 4 seconds. This does not show cpu utilization and can be misleading, so either: fix the help message to reflect what it really shows, fix the code to actually show cpu utilization or remove it altogether. |
| Comments |
| Comment by Githook User [ 15/Nov/21 ] |
|
Author: {'name': 'Benety Goh', 'email': 'benety@mongodb.com', 'username': 'benety'}Message: |
| Comment by Randolph Tan [ 03/Nov/21 ] |
|
Note: this commit removed the code that spins the thread mentioned in the description. The cpu parameter appears to be still in master but it doesn't look like it is used anywhere. |
| Comment by Andrew Morrow (Inactive) [ 24/Mar/17 ] |
|
Whether or not the flag does anything anymore, we have better tools to achieve this now. We should remove the flag. |