Jump to: navigation, search

Xen Monitoring Tools and Techniques

1,747 bytes added, 19:39, 22 April 2008
Monitoring Performance with XenTop
== Monitoring Performance with XenTop ==
Anyone who has been using UNIX or Linux for any length of time (particularly since the days before GUI desktop environments) is probably familiar with the ''top'' command. This long standing toll is used to display information, such as CPU and memory usage, about processes running on a particular system. One of the best features of ''top'' is that is puts the process making the heaviest use of a particular resource at the top of the list. When a system is exhibiting performance degradation the ''top'' command is often the first port of call for the experienced system administrator.
''XenTop'' is essentially a Xen version of the origianl ''top'' utility and is used to show information about all the domains running on a particular system.
The ''XenTop'' tool is launched by typing ''xentop'' as root at the command-line. Whilst xentop can be launched without any commaond-line options it is worth knowing that a range of options are available and can be listed using the --help flag:
xentop --help
Usage: xentop [OPTION]
Displays ongoing information about xen vm resources
-h, --help display this help and exit
-V, --version output version information and exit
-d, --delay=SECONDS seconds between updates (default 3)
-n, --networks output vif network data
-x, --vbds output vbd block device data
-r, --repeat-header repeat table header before each domain
-v, --vcpus output vcpu data
-b, --batch output in batch mode, no user input accepted
-i, --iterations number of iterations before exiting
Report bugs to <[email protected]>.
The following figure shows sample output from a XenTop session:
[[Image:XenTop_display.jpg|Monitoring Xen Domains with XenTop]]

Navigation menu