zhangshenghang opened a new issue, #1871:
URL: https://github.com/apache/hertzbeat/issues/1871
### Is there an existing issue for this?
- [X] I have searched the existing issues
### Current Behavior
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
```
### Expected Behavior
_No response_
### Steps To Reproduce
_No response_
### Environment
```markdown
HertzBeat version(s):1.5
```
### Debug logs
_No response_
### Anything else?
_No response_
--
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]