LLP2333 opened a new pull request, #1868: URL: https://github.com/apache/hertzbeat/pull/1868
## What's changed? I fixed the issue with command monitoring without paths.This problem exists for Top10 CPU processes and Top10 Memory processes. For example ### Before Top10 memory processes  ### Now Top10 memory processes   ### In addition I modified the process sorting method to use the --sort parameter of ps, which I think is more flexible and performs better than using the sort command.  ## Checklist - [x] I have read the [Contributing Guide](https://hertzbeat.apache.org/docs/community/code_style_and_quality_guide) - [ ] I have written the necessary doc or comment. - [ ] I have added the necessary unit tests and all cases have passed. ## Add or update API - [ ] I have added the necessary [e2e tests](https://github.com/apache/hertzbeat/tree/master/e2e) and all cases have passed. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
