This commit is contained in:
conetadm
2024-11-14 21:11:06 +01:00
commit 5718e70f15
657 changed files with 9401652 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
#!/usr/bin/expect -f
set host [lindex $argv 0]
spawn ssh connac6 -l admin
expect "Password:"
send "Netapp123\n"
expect "::>"
send "rows 0\n"
expect "::>"
send "set -showseparator :\n"
expect "::>"
send "set -units GB\n"
expect "::>"
set date [timestamp -format %C%y%m%d]
log_file /scripts/root/netapp_usage_decide/log6
send "vol show -vserver connac6_PDV_NAS -volume * -fields volume,Size,available,percent-used\n"
expect "::>"
send "exit\n"
interact