Teljes szöveg:
- Oracle VM CPU pin map
- atus ; then # nohup esetén ACT_TTY=$(ps -ef | awk "/$$/{if ("'$2'"=$$"') print $6}' | head -n1 | awk -F'/' '{print $2}') else ACT_TTY=$(tty|grep -oP '(?<=/dev/pts/).*') fi SSH_USER=$(w | awk '/pts\/'${ACT_TTY}'\s/{print $1}') red=$'\e[1;31... -oP '(?<=\[).*(?=\])') VM_ID=$(echo $VM | awk '{print $5}') PINS=$($OVMC -u admin -p $O
- VM-ek listázása
- " 2>&1 > ${TMP_FILE} NAME=$(cat ${TMP_FILE} | awk -F'=' '/Name/{print $2}') MEMORY=$(cat ${TMP_FILE} | grep -v Max | awk -F'=' '/Memory/{print $2}') VCPU=$(cat ${TMP_FILE} | grep -v Max | awk -F'=' '/Processors/{print $2}') OS=$(cat ${TMP_FILE} | awk -F'=' '/Operating System/{print $2}') IP=$(ho
- VM-ek diszkjeinek listázása
- k_name" "Repository/WWN" "Disk_Size" "Virt/Phys"| awk '{printf "%-40s %-30s %-40s %10s %3s\n",$1,$2,$3,... "$DISK_NAME" "[$DISK_REPO]" "${DISK_SIZE}G" "V" | awk '{printf "%-40s %-30s %-40s %10s %3s\n",$1,$2,$3,... "$DISK_NAME" "[$DISK_WWN]" "${DISK_SIZE}G" "P" | awk '{printf "%-40s %-30s %-40s %10s %3s\n",$1,$2,$3,... TMP_FILE=${0}.tmp ovm_cli "list vmdiskmapping" | awk -F' ' '/id:/{print $2}' | sed 's/id://' | while r
- Fizikai diszkeket átnevező szkript
- erkent."; exit 1; } ovm_cli "list PhysicalDisk" | awk -F' ' '/:/{print $2}' | sed 's/id://' | while read SOR; do #ovm_cli "list PhysicalDisk" | awk -F' ' '/ \([0-9]/{print $2}' | sed 's/id://' | wh... cut -d' ' -f 4 | sed 's/,/ /g') DISK_ID=$(awk -F';' "/$DISK_UUID/"'{print $1}' $TMP_FILE) ... d=\"$VM_ID\"" | grep -oP "VmDiskMapping.*(?==)" | awk 'END{print $NF}') echo -e "$(env
- Fizikai diszkek tömeges mappelése VM(ek)hez
- d=\"$VM_ID\"" | grep -oP "VmDiskMapping.*(?==)" | awk 'END{print $NF}') echo -e "$(env printf '