---
sourceDocument: Yokohama IT Operations Management
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/yokohama/it-operations-management

 Release :

    - yokohama

ft:locale :

    - en-US

ft:publication_title :

    - Yokohama IT Operations Management

ft:clusterId :

    - itom

bundleId :

    - itom

workflow :

    - Technology


---

# Using the lsof Command

# Using the lsof Command {#ariaid-title1}

* Release version: Yokohama
* 
* Updated January 30, 2025
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 minute to read

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 DefinitionCI ClassificationUNIX.
3. Select Solaris from the list.
4. In the UNIX Classification form for Solaris, select the Triggers probes related list, and then click Edit.
5. Move Linux - Active Connections from the Collections list to the Triggers probe List.  
   This probe is configured to use `lsof`.  
   Figure 1. Solaris Active Connections lsof
6. Click Save.
7. Repeat this procedure for the AIX classification probe.

*[\>]: and then


