License Management for Green Hills Software

Green Hills Software, founded in 1982 by Dan O’Dowd and Carl Rosenberg, is the leading independent provider of software for embedded systems.

License Management for Green Hills Software

Green Hills Software, founded in 1982 by Dan O’Dowd and Carl Rosenberg, is the leading independent provider of software for embedded systems.

Its products include:

  • INTEGRITY, a POSIX real-time operating system (RTOS), a variant of the RTOS called INTEGRITY-178B, and a real-time microkernel named µ-velOSity.
  • A C, C++, Fortran, and Ada compiler for both 32-bit and 64-bit systems on ARM, PowerPC, XScale, ARC, and other platforms…
  • An IDE called MULTI for C, C++, EC++, and Ada;
  • TimeMachine, a debugging tool for C and C++

Observer supports the Green Hills Software (hereinafter GHS) license manager and is available by default.
Below, we’ll explain how to run an LM query and how to read the results.

How to Run the Query

To find out the server name and port on which the license manager is running, simply connect to it and run the following command from the command line:

On Windows:

$ path_completo\lic_find_licenses.exe -w -l hostname

On Linux:

$ path_completo/lic_find_licenses -w -l hostname

The license manager will display details of the available licenses, the licenses currently in use, and the users who are using them. Here is an example:

GHS LM TARPON:2009 (119.118.9.1):
ecomppc (470): 10 installed, 1 in use, 7 hwm, expiration 0
g369b@119.118.9.18  3h29m {0}

The output

The first line indicates that LM is running on the server named TARPON and is listening on port 2009.

GHS LM TARPON:2009 (119.118.9.1)

The host’s IP address is shown in parentheses. Next, we find a list of the software used and the related statistics. More specifically, we note that there are:

  • 10 installed licenses for the Power Architecture C/C++ compiler.
  • 1 license used
  • There have been 7 licenses in use since the LM was launched (hwm stands for “high water mark”)
  • The expiration date is set to 0, meaning the license does not expire (permanent)

The -w option specified with the command formats the user information as follows:

utente@host  tempo_utilizzo {id_client}

where:

  • “user” is the username of the end user who requested the license. In our example, it is g369b
  • “host” is the IP address of the computer from which the license was requested. In our example, it is 119.118.9.18
  • tempo_utilizzo indicates the amount of time that has elapsed since the license was checked out. In our example, it is 3h29m, meaning the license has been active for 3 hours and 29 minutes.
  • id_client is a hexadecimal number used by the LM to track the license internally.

A license may be displayed as “not in use,” but it is still assigned to a user. In this case, the row appears as follows:

! utente@host {id_client}

This line indicates that the “user” on the “host” PC has reserved the license for use, but is not currently using it.

Green Hills is monitored by Observer version 6. For more information, contact us!

News

Try Observer for FREE
for 60 days.

Start tracking your licenses!

Main license managers used:
Privacy Policy - I have read and consent to the processing of my personal data
Try the free demo
Enjoy. Call us!