ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

How to run individual scripts to view data gathered by Inventory Solution for Unix, Linux and Macintosh 8.x


Article ID: 179940


Updated On:


Inventory Solution for Unix/Linux Inventory Solution Inventory Solution for Mac Inventory Pack for Servers




Inventory for ULM includes individual scripts to gather inventory data. These scripts are found at:


There are scripts to gather memory, processor, disk and much more inventory data. Running these scripts from a shell will display the results to a screen. This provides a method to see exactly what inventory solution is gathering from a client computer.
Scripts are categorized as follows: Hardware (HW), Operating System (OS), Software (SW) and User & Group (UG). Sub-directories for each of these categories, each of which contains multiple inventory scripts, are:
  • CltInv_HW
  • CltInv_OS
  • CltInv_SW
  • CltInv_UG
If Inventory Pack for Servers is installed, the following directories will also exist here: 
  • SrvInv_DB 
  • SrvInv_OS 
  • SrvInv_VM 
  • SrvInv_WEB
To run these inventory scripts: 
  1. cd to:                   /opt/altiris/notification/inventory/var/repo/providers/CltInv_Common/aex-shellprovider/scripts/
  2. Run the script:   ./CltInv_<category>/<scriptname>

Output should display to the screen. (The "Invalid GUID" messages can be ignored when running the scripts manually.)

Note: You will need to run these with root privileges (log in as 'root' or use sudo). Also, some data may not be returned if authentication is required, i.e., Inventory Pack for Servers database inventory.

The figure above shows an example of how to find and run the script on a Solaris Machine. The bash shell can be opened by entering bash into the terminal.

 IMPORTANT: Do NOT modify these scripts. Doing so could break inventory solution.