diff --git a/scripts/scripts-library.sh b/scripts/scripts-library.sh index ce40dc8583..a4d645960c 100755 --- a/scripts/scripts-library.sh +++ b/scripts/scripts-library.sh @@ -190,7 +190,7 @@ function run_dstat { } function generate_dstat_charts { - kill $(pgrep dstat) + kill $(pgrep -f dstat) if [[ ! -d /opt/dstat_graph ]]; then git clone https://github.com/Dabz/dstat_graph /opt/dstat_graph fi