Skip to content

Commit

Permalink
bugfix: linux collect warning: bad syntax, perhaps a bogus '-' (#1151)
Browse files Browse the repository at this point in the history
Signed-off-by: Mr.zhou <12735770@qq.com>
  • Loading branch information
Mr-zhou315 authored Aug 7, 2023
1 parent e9c8983 commit 8e6d624
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manager/src/main/resources/define/app-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -387,8 +387,8 @@ metrics:
password: ^_^password^_^
privateKey: ^_^privateKey^_^
timeout: ^_^timeout^_^
script: ps aux | sort -k3nr | awk 'BEGIN{ print "pid cpu_usage mem_usage command" } {print $2, $3, $4, $11}'| head -n 10
reuseConnection: ^_^reuseConnection^_^
script: ps -aux | sort -k3nr | awk 'BEGIN{ print "pid cpu_usage mem_usage command" } {print $2, $3, $4, $11}'| head -n 10
parseType: multiRow

- name: top_mem_process
Expand Down

0 comments on commit 8e6d624

Please sign in to comment.