Teljes szöveg:
- Oracle VM CPU pin map
- print $2}') else ACT_TTY=$(tty|grep -oP '(?<=/dev/pts/).*') fi SSH_USER=$(w | awk '/pts\/'${ACT_TTY... i set +x komment CURR_DIR=$(pwd) cd ${OVMC%/*} >/dev/null 2>&1 if [[ $? -gt 0 || ! -e $OVMC ]]; then ... MIN_PASSWD -h localhost -v "$VM_NAME" -c rmvcpu >/dev/null else $OVMC -u admin -p $... alhost -v "$VM_NAME" -c setvcpu -s "$VCPU_LIST" >/dev/null fi [[ $? -eq 0 ]] && echo -e
- VM-ek diszkjeinek listázása
- | sort -k1 </file> Fizikai diszkek listája guest device névvel és UUID-val: <file> #!/bin/bash . ovm_f... _FILE}.1 | egrep 'Vm' | awk '{print $4}') LNX_DEV=$(ovm_cli "getVmCfgFileContent vm id=$VM_ID" |gre... rint $2}') echo -e "${SOR}\t${VM_NAME}\t${LNX_DEV}\t${PHYS_DISK}\t${SLOT_NR}" done | tee -a $OUT_FI