jyjj
[root@localhost:~] for id in `vim-cmd vmsvc/getallvms | awk '{ print $1 }' | sort | sed -n '/[0-9]/p'` ; do vim-cmd vmsvc/device.getdevices $id | egrep -B 4 'deviceName|fileName' | egrep 'label|deviceName|fileName'; done
[root@localhost:~] for id in `vim-cmd vmsvc/getallvms | awk '{ print $1 }' | sort | sed -n '/[0-9]/p'` ; do vim-cmd vmsvc/device.getdevices $id | egrep -B 4 'deviceName|fileName' | egrep 'label|deviceName|fileName'; done首頁/2019-03-25 (last edited 2019-03-25 11:25:14 by localhost)