summaryrefslogtreecommitdiff
path: root/roles/elevate/media/templates/dstat.sh.j2
blob: 1fb84dfd4b82c8154a8a90531e2c85dfd0713b96 (plain) (blame)
1
2
3
4
5
6
7
8
9
#!/bin/bash

SSD=$(readlink -f /dev/disk/by-id/ata-Samsung_SSD_840_Series_S14GNEACC92243K)
RAID_DISK0=$(readlink -f /dev/disk/by-id/ata-WDC_WD30EFRX-68EUZN0_WD-WCC4N6PJ1CSJ)
RAID_DISK1=$(readlink -f /dev/disk/by-id/ata-WDC_WD30EFRX-68EUZN0_WD-WCC4ND0PVLUE)
RAID_DISK2=$(readlink -f /dev/disk/by-id/ata-WDC_WD30EFRX-68EUZN0_WD-WCC4N2AYHY8E)
RAID_DISK3=$(readlink -f /dev/disk/by-id/ata-WDC_WD30EFRX-68EUZN0_WD-WCC4N2AYH7RF)

exec dstat -cymnd -D $SSD,$RAID_DISK0,$RAID_DISK1,$RAID_DISK2,$RAID_DISK3 --top-io --top-bio