Skip to main content

XenServer troubleshooting tools

Citrix have released three tools to troubleshoot a XenServer environment.

Perfco.sh – Performance Data Collection Script for XenServer Dom0
Lstdomco.sh- Domain and XenStore Data Collection Script
Memco.sh – Memory Data Collection Script for XenServer Dom0 or Linux Systems

Perfco.sh – Performance Data Collection Script for XenServer Dom0

Description

Use Perfco.sh when you require detailed logging of Dom0 performance.

The script collects iostat, process usage (CPU/MEM), and, xentop output information every 10 seconds. The sleep interval can be modified to change the sample rate.

The script has a log size limit of 100 megabytes to prevent Dom0 from filling up with log data. If any one of the three log files reaches 100 megabytes, the script terminates.

Read more how to configure Perfco.sh here

Lstdomco.sh

Description

Use Lstdomco.sh when you require detailed logging of virtual machine domain ID’s and XenStore activity.

This script collects output of the list_domains command and xenstore-ls every 10 minutes. The sleep interval can be adjusted to the required sample rate.

The script has a log size limit of 100 megabytes to prevent Dom0 from filling up with log data. If any one of the two log files reaches 100 megabytes, the script terminates.

Read more about Lstdomco.sh – how to install and use

Memco.sh – Memory Data Collection Script for XenServer Dom0 or Linux Systems

Memco.sh- Memory Data Collection Script for XenServer Dom0 or Linux Systems

Description

Use Memco.sh when you require detailed logging of Dom0 or Linux systems memory utilization.

This script collects kernel memory information every 10 minutes and has been used to identify memory leaks outside of userspace.
The sleep interval can be adjusted to the required sample rate.

The script has a log size limit of 100 megabytes to prevent Dom0 from filling up with log data. If any one of the two log files reaches 100 megabytes, the script terminates.

Read more about Memco.sh – HowTo configure and use

Leave a Reply

Your email address will not be published. Required fields are marked *

Turn on pictures to see the captcha *