zhangshenghang opened a new pull request, #1870:
URL: https://github.com/apache/hertzbeat/pull/1870
## What's changed?
Top 10 memory and CPU monitoring, only Top 9 is actually displayed
### The script for the current query
```
script: ps -aux | sort -k3nr | awk 'BEGIN{ print "pid cpu_usage mem_usage
command" } {print $2, $3, $4, $11}'| head -n 10
```
### Modified script
```
script: ps -aux | sort -k3nr | awk 'BEGIN{ print "pid cpu_usage mem_usage
command" } {print $2, $3, $4, $11}'| head -n 11
```
## Checklist
- [x] I have read the [Contributing
Guide](https://hertzbeat.apache.org/docs/community/code_style_and_quality_guide)
- [x] I have written the necessary doc or comment.
--
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]