VMware GSX Server 3 Administration Instalační příručka Strana 392

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 436
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 391
www.vmware.com
400
VMware ESX Server Administration Guide
2000
To query the affinity set for virtual machine 103, simply read the file:
cat /proc/vmware/vm/103/cpu/affinity
The identifying numbers of the processors in the affinity set are displayed.
0,1
This indicates that virtual machine 103 is allowed to run on CPUs 0 and 1. To restrict
virtual machine 103 to run only on CPU 1, simply write to the file. Note that you need
root privileges in order to change affinity sets.
echo 1 > /proc/vmware/vm/103/cpu/affinity
The change can be confirmed by reading the file again.
Note: The affinity set must contain at least as many CPUs as virtual CPUs; that is, 1
CPU for a uniprocessor (UP) virtual machine, and 2 CPU for a SMP virtual machine.
Monitoring CPU Statistics
The VMware Management Interface provides information on the current use of CPU
by the physical computer and the virtual machines running on it. View the Status
Monitor page in the management interface.
Zobrazit stránku 391
1 2 ... 387 388 389 390 391 392 393 394 395 396 397 ... 435 436

Komentáře k této Příručce

Žádné komentáře