Parameter watch-Scripte erweitert und ausgeschrieben (#17)

This commit is contained in:
Quotengrote 2020-08-29 11:01:20 +02:00 committed by GitHub
parent 40d575e9a1
commit 05095f16fb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 5 additions and 6 deletions

View file

@ -1,2 +1,2 @@
#!/bin/bash
watch -c -n 5 -t "hddtemp /dev/disk/by-id/ata-* | grep -v "part" | sed -r 's#(/dev/disk/by-id/ata-)([^:]+).*: ([0-9]{1,3}°C)#\3\t\2#g' | sort -n -r"
watch --interval 10 --differences --color --no-title "hddtemp /dev/disk/by-id/ata-* | grep -v "part" | sed -r 's#(/dev/disk/by-id/ata-)([^:]+).*: ([0-9]{1,3}°C)#\3\t\2#g' | sort -n -r"

View file

@ -1,2 +1,2 @@
#!/bin/bash
watch -n 10 --color --no-title "ipmitool sensor | cut -d '|' -f 1-3 | grep -i "degrees" | sort -k2 -r | sed -r 's/degrees C/°C/'"
watch --interval 10 --differences --color --no-title "ipmitool sensor | cut -d '|' -f 1-3 | grep -i "degrees" | sort -k2 -r | sed -r 's/degrees C/°C/'"

View file

@ -81,5 +81,5 @@
become: yes
template:
mode: 0555
src: zfs-free.sh.j2
src: zfs-free.sh
dest: /usr/local/bin/zfs-free.sh

View file

@ -0,0 +1,2 @@
#! /bin/bash
watch --interval 60 --differences --color --no-title "zfs list -o space | grep -v /"

View file

@ -1,3 +0,0 @@
#! /bin/bash
zfs list -o space | grep -v /