IBM XL Compiler Usage Logger Tool

Downloadable files


Abstract

The IBM XL Compiler Usage Logger Tool is a utility that provides you with a list of user IDs that have invoked the XL C, XL C/C++, and XL Fortran for AIX compilers.

Download Description

This tool will replace XL compiler invocation commands with a script that will collect information about the invoking users. The information is recorded as the name of a file, in a user-specified directory. For example, user1_1001_myhostname

After you install this tool and enable users to invoke the compiler for the desired data collection period, you can inspect the files in the directory to determine the user IDs that have invoked the compiler during that period.

Prerequisites

The IBM XL Compiler Usage Logger Tool can be used with the following products:

  • C for AIX, V6.0
  • XL C Enterprise Edition for AIX, V7.0
  • XL C Enterprise Edition for AIX, V8.0
  • VisualAge C++ for AIX, V6.0
  • XL C/C++ Enterprise Edition for AIX, V7.0
  • XL C/C++ Enterprise Edition for AIX, V8.0
  • XL Fortran for AIX, V8.1
  • XL Fortran Enterprise Edition for AIX, V9.1
  • XL Fortran Enterprise Edition for AIX, V10.1

Note: For more recent compiler versions, use the Utilization Reporting Tool (URT) instead of the Compiler Usage Logger Tool.
URT is included with the following XL compiler products:
  • XL C for AIX, V11.1,
  • XL C/C++ for AIX, V11.1
  • XL Fortran for AIX, V13.1

For the following XL compiler products, you can download the utilization tracking library and reporting tool from here.
  • XL C Enterprise Edition for AIX, V9.0
  • XL C for AIX, V10.1
  • XL C/C++ Enterprise Edition for AIX, V9.0
  • XL C/C++ for AIX, V10.1
  • XL Fortran Enterprise Edition for AIX, V11.1
  • XL Fortran for AIX, V12.1

Installation Instructions

Installing the IBM XL Compiler Usage Logger Tool In order to log the invoking user IDs, this tool will replace the installed compiler invocation commands and will be configured to execute the original commands from a new location. This will require modifications to your compiler installation. The modifications might cause the AIX package checking tools to report errors. You should refrain from running and correcting errors reported by the AIX package checking tools when you are running the XL Compiler Usage Logger Tool.

The following instructions are for a default installation of the XL compilers:

1. Customize the install script if needed. More information on customization can be found in the README.

2. After customizing the install script you can execute it (you must have super-user authority) to install the XL Compiler Usage Logger Tool as follows:

If you have the XL C, C/C+ compilers:
./xlc_install.ksh

If you have the XL Fortran compilers:
./xlf_install.ksh

After installation, depending on your customizations, the XL Compiler Usage Logger Tool should begin logging compiler executions immediately.

During the installation a backup file will be created. You will need this backup file, if you want to uninstall the tool.

Uninstalling the IBM XL Compiler Usage Logger Tool
Follow these instructions to uninstall the XL Compiler Usage Logger Tool:

1. Customize the uninstall script if needed. More information on customization can be found in the README.

2. After customizing the uninstall script you can execute it (you must have super-user authority) to uninstall the XL Compiler Usage Logger Tool as follows:

If you have the XL C, C/C+ compilers:
./xlc_uninstall.ksh

If you have the XL Fortran compilers:
./xlf_uninstall.ksh

Running the uninstall script will restore the back-up file created by the install script.

Usage Instructions and Collecting Data:

Once the tool has been customized and installed, each invocation will log usage data to the selected location. No additional actions are required.

In order to inspect the data collected, you simply need to list the contents of the directory where data is being collected. If desired you may archive this directory to keep the report.

By default output will be of the form:
username_userid_hostname

For example:
user1_1001_myhostname

Terms and Conditions:

By downloading and using the IBM XL Compiler Usage Logger Tool you agree to the terms of the license as specified in the following files:

  • LicenseAgreement.pdf
  • license.pdf

These files are located in the root directory of the installation media. You will need a PDF viewer to view these files.

Download package

The download package cul.tar.gz contains:

  • LicenseAgreement.pdf
  • README.txt
  • cul.ksh
  • license.pdf
  • xlc_install.ksh
  • xlc_uninstall.ksh
  • xlf_install.ksh
  • xlf_uninstall.ksh

Download RELEASE DATE LANGUAGE SIZE(Bytes) Download Options
cul.tar.gz 7 Sep 2011 English 2415092 FTP
LicenseAgreement.pdf 7 Sep 2011 English 2428366 FTP
license.pdf 7 Sep 2011 English 280962 FTP

Cross Reference information
Segment Product Component Platform Version Edition
Software Development XL Fortran for AIX Downloads AIX 10.1, 8.0, 9.0 Not Applicable

Rate this page:

(0 users)Average rating

Document information


More support for:

XL C/C++ for AIX
Downloads

Software version:

6.0, 7.0, 8.0

Operating system(s):

AIX

Reference #:

4030841

Modified date:

2011-09-12

Translate my page

Machine Translation

Content navigation