| United States-English |
|
|
|
![]() |
HP XC System Software : Administration Guide > Chapter 7 Monitoring the SystemThe collectl Utility |
|
The collectl utility collects data on the nodes of the HP XC system. As a development or debug tool, the collectl utility typically gathers more detail more frequently than the supermon utility. The collectl utility does have some overhead, but for most situations, it consumes less than 0.1 percent of the CPU and has minimal effect on user applications. However, even this low level can have a significant impact on some applications, so use the collectl utility with care. The collectl utility also enables you to play back the data in either raw ASCII characters or in a plot form, which can be used to display the data with GnuPlot or Microsoft Excel. Figure 7-3 shows one example of the plotted graph based on the collectl utility's collection of CPU data. Example 7-1 provides an illustration of collectl utility's ASCII output. You can use any of the following methods to run the collectl utility: The default action of this utility is to collect data at 10-second intervals and to display the data in ASCII characters on the terminal screen. Example 7-1 shows the invocation and first record reported from the collectl utility. The information has been edited to fit horizontally on the page. Example 7-1 Using the collectl Utility from the Command Line
The collectl utility provides alternate output formats:
For a discussion of the options to the collectl utility and a description of its output, see collectl(1). After it is enabled, the collectl utility can be run as a service. You can use the service command to stop and start the collectl service. You can also obtain the current status of this service, as shown in the following example:
The collectl service is set up to collect normally reported summary data and to write it in a compressed text file in the /var/log/collectl directory. The actions of the collectl service are specified by the /opt/hptc/config/services/collectl.ini file. By default, the collectl service gathers information on the following subsystems: The collectl(1) manpage discusses running the collectl utility as a service. You can run the collectl utility as one job in a batch job submission. In a batch job submission, the purpose of the collectl utility is to monitor the node while the batch job processes. You must modify the job submission script, as follows:
Another alternative is to log in to one of the compute nodes used by the application, and run the collectl utility on the command line. |
||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||