Red Hat NETSCAPE MANAGEMENT SYSTEM 4.5 User Manual Page 237

  • Download
  • Add to my manuals
  • Print
  • Page
    / 286
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 236
Resource Management
237
www.vmware.com
/proc/vmware/vm/<id>/cpu/shares
Reading from this file reports the number of shares allocated to the virtual machine
identified by <id>.
Writing a number <nshares> to this file changes the number of shares allocated to
the virtual machine identified by <id> to <nshares>. The valid range of values for
<nshares> is 1 to 100000.
/proc/vmware/vm/<id>/cpu/affinity
Reading from this file reports the number of each CPU in the current affinity set for the
virtual machine identified by <id>.
Writing a comma-separated list of CPU numbers to this file, such as 0,2,3, changes
the affinity set for the virtual machine identified by <id>. Writing all or default
to this file changes the affinity set to contain all available processors.
/proc/vmware/vm/<id>/cpu/status
Reading from this file reports current status information for the virtual machine
identified by <id>, including the specified shares and affinity parameters, as well as
the virtual machine name, state (running, ready, waiting), current CPU assignment and
cumulative CPU usage in seconds.
/proc/vmware/sched/cpu.<n>
Reading from this file reports the status information for all active virtual machines
currently assigned to cpu number <n>, as well as some aggregate totals.
/proc/vmware/sched/cpu
Reading from this file reports the status information for all virtual machines in the
entire system.
/proc/vmware/config/CpuBalancePeriod
This ESX Server option specifies the periodic time interval, in seconds, for automatic
multiprocessor load balancing based on active shares. Defaults to 1 second.
Examples
Suppose that we are interested in the CPU allocation for the virtual machine with ID
103. To query the number of shares allocated to virtual machine 103, simply read the
file.
cat /proc/vmware/vm/103/cpu/shares
The number of shares is displayed.
1000
Page view 236
1 2 ... 232 233 234 235 236 237 238 239 240 241 242 ... 285 286

Comments to this Manuals

No comments