C H A P T E R 3 |
This chapter describes using the virtual shell, virsh(1M), which is a new shell environment and is a management user interface for logical domains. The virsh commands can be used to perform various actions on a logical domain. See TABLE 3-1 for the virsh commands you can use with LDoms.
Refer to the following site for overall information about virsh(1M) in the virsh(1M) man page. This man page contains all the commands available for use with OpenSolaris xVM.
http://opensolaris.org/os/community/xen/docs/
The following table shows the virsh commands that are available for use with the Logical Domains 1.0.1 software.
This section contains examples of using some of the virsh commands with LDoms and some output examples.
To obtain the following node, or system, information, type:
virsh # nodeinfo CPU model: SPARC CPU(s): 32 CPU frequency: 502 MHz CPU socket(s): 1 Core(s) per socket: 8 Thread(s) per core: 4 NUMA cell(s): 1 Memory size: 33481216 kB |
Verify CPU frequency by using the psrinfo -v command on the control domain.
Verify memory by using the ldm list-bindings and ldm list-devices commands and adding the memory sizes together.
Copyright © 2007, Sun Microsystems, Inc. All rights reserved.