Parameter watch-Scripte erweitert und ausgeschrieben (#17)
This commit is contained in:
parent
40d575e9a1
commit
05095f16fb
5 changed files with 5 additions and 6 deletions
|
@ -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"
|
||||
|
|
|
@ -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/'"
|
||||
|
|
|
@ -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
|
||||
|
|
2
roles/mgrote.zfs_tools/templates/zfs-free.sh
Normal file
2
roles/mgrote.zfs_tools/templates/zfs-free.sh
Normal file
|
@ -0,0 +1,2 @@
|
|||
#! /bin/bash
|
||||
watch --interval 60 --differences --color --no-title "zfs list -o space | grep -v /"
|
|
@ -1,3 +0,0 @@
|
|||
#! /bin/bash
|
||||
|
||||
zfs list -o space | grep -v /
|
Loading…
Reference in a new issue