Parent Directory | Revision Log
don't wrap df output
1 | #!/bin/sh -x |
2 | |
3 | . ./0-host.sh |
4 | . ./0-lxc.sh |
5 | |
6 | ssh_lxc() { |
7 | log=`basename $1` |
8 | ssh root@$lxc $* | tee $host/$log |
9 | } |
10 | |
11 | ssh_lxc /etc/init.d/lxc-watchdog status |
12 | mnt=`cat $host/lxc-watchdog | grep ^$host | awk '{ print $4 }' | tee $host/mnt` |
13 | ssh_lxc df -P -h $mnt |
14 | size=`cat $host/df | grep /mnt/$host | awk '{ print $2 }' | tee $host/size` |
15 |
Name | Value |
---|---|
svn:executable | * |
ViewVC Help | |
Powered by ViewVC 1.1.26 |