--- title: Using the lsof Command description: Use the ls of command to return active TCP connections and can be installed on Solaris and AIX target machines. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/it-operations-management/itom-visibility/t\_UsingTheLsofCommand.html release: australia product: ITOM Visibility classification: itom-visibility topic_type: task last_updated: "2026-03-12" reading_time_minutes: 1 breadcrumb: [Application Mapping for UNIX, Software discovery, Data collected by ITOM Visibility, ITOM Visibility reference, ITOM Visibility, IT Operations Management] --- # Using the lsof Command Use the ls of command to return active TCP connections and can be installed on Solaris and AIX target machines. ## Before you begin Role required: admin ## Procedure 1. Install `lsof` on the Solaris and AIX machines on which you want to gather application relationship data. 2. In the instance, navigate to **Discovery Definition** > **CI Classification** > **UNIX**. 3. Select **Solaris** from the list. 4. In the UNIX Classification form for Solaris, select the **Triggers probes** related list, and then select **Edit**. 5. Move **Linux - Active Connections** from the Collections list to the Triggers probe List. This probe is configured to use `lsof`. 6. Select **Save**. 7. Repeat this procedure for the AIX classification probe. **Parent Topic:**[Application Mapping for UNIX discovery](https://raw.githubusercontent.com/ServiceNow/ServiceNowDocs/australia/markdown/australia/it-operations-management/itom-visibility/c_DiscoveryAppMapForUNIX.md)