diff options
author | Sylvain Pineau <sylvain.pineau@canonical.com> | 2020-07-13 10:32:31 +0200 |
---|---|---|
committer | Sylvain Pineau <sylvain.pineau@canonical.com> | 2020-07-13 10:32:31 +0200 |
commit | 9e0ef0cdbc3fc8d8594f32bd1a0acef1424d57c3 (patch) | |
tree | 80c9219fc10f23c0c000a238c54e81d4b7b8a775 | |
parent | 377093805b533b449a9ab23f9fcffd38602bea09 (diff) |
bin:disk_cpu_load -> disk_cpu_load.sh
-rwxr-xr-x | bin/disk_cpu_load.sh (renamed from bin/disk_cpu_load) | 4 | ||||
-rw-r--r-- | units/disk/jobs.pxu | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/bin/disk_cpu_load b/bin/disk_cpu_load.sh index 93b1569..adad55f 100755 --- a/bin/disk_cpu_load +++ b/bin/disk_cpu_load.sh @@ -23,8 +23,8 @@ # stress-ng program. # # Usage: -# disk_cpu_load [ --max-load <load> ] [ --xfer <mebibytes> ] -# [ --verbose ] [ <device-filename> ] +# disk_cpu_load.sh [ --max-load <load> ] [ --xfer <mebibytes> ] +# [ --verbose ] [ <device-filename> ] # # Parameters: # --max-load <load> -- The maximum acceptable CPU load, as a percentage. diff --git a/units/disk/jobs.pxu b/units/disk/jobs.pxu index caafbad..4bb8c04 100644 --- a/units/disk/jobs.pxu +++ b/units/disk/jobs.pxu @@ -127,7 +127,7 @@ requires: package.name == 'bc' or executable.name == 'bc' _summary: Check of CPU load imposed by {product_slug} _description: Check to ensure CPU load of {product_slug} is not too high -command: disk_cpu_load {name} +command: disk_cpu_load.sh {name} plugin: shell category_id: com.canonical.plainbox::disk |