Process detection fails on certain OS types during pattern execution. When discovery patterns are run against Linux servers, during the Process Detection phase, the ps command used to retrieve the command line attributes for the running process ireturns all port processes ather than retuning only the process details for the specified port. Therefore, the remainder of the pattern does not have the correct information to complete the mapping accurately. As a result, items can be misclassified as Generic Application or not classified at all.

During the Process Detection of the Service Mapping discovery, note whether the following SSH command to detect the process is being used for a non-Macintosh machine:

lsof -n -i4TCP:80 | grep LISTEN | awk '{print $2}'

This command should be used only for Macintosh machines.

Steps to Reproduce


  1. Go to the Mapping Discovery Commands (sa_mapping_ext_commands).

  2. Look for "process on port - mac".

    Notice whether the Operating System Type shows numbers.



  1. Go to the Mapping Discovery Commands (sa_mapping_ext_commands) and look for "process on port - mac".

  2. Open the record.

  3. Unlock the Operating System Type.

  4. Make sure the list contain only the following items:

  5. Do a Run discovery or Resume discovery for the business service again.

Related Problem: PRB1242240

Seen In

There is no data to report.

Intended Fix Version


Fixed In

Jakarta Patch 7
Kingston Patch 1

Safe Harbor Statement

This "Intended Fix Version" information is meant to outline ServiceNow's general product direction and should not be relied upon in making a purchasing decision. The information provided here is for information purposes only and may not be incorporated into any contract. It is not a commitment, promise, or legal obligation to deliver any material, code, or functionality. The development, release, and timing of any features or functionality described for our products remains at ServiceNow's sole discretion.

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2018-05-23 21:02:31