Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Service Mapping commands requiring a privileged user

Service Mapping uses commands requiring elevated rights to discover and map Unix-based hosts in your organization. In addition to configuring necessary credentials, configure servers in your organization to allow Service Mapping to run these commands with elevated rights.

You do not run these commands directly. Service Mapping uses commands requiring elevated rights as part of the following processes:

  • host detection
  • process identification on port
  • discovering CIs using patterns

Some of these commands do not require elevated rights, unless directories that Service Mapping must access are protected. For more information, see Service Mapping commands not requiring a privileged user.

Operating system commands requiring elevated rights

CommandParameterDescription
`cat`file-nameShows the file content.
`ls`

-F-1

-1HF

-w 1

-1

Lists the directory content.
`procwdx`Process_idGets working directory of a process.
`rmsock`Socketname tcpcpFinds process listening on a specific port.
`lsof`-Pnl +M -iShows files or connections associated with the process.
`lstat`Various optionsFetches information about a link.
`ps`ewwFetches environment variables for the process on AIX.
CommandParameterDescription
`cat`file-nameShows the file content.
`ls`

-F-1

-1HF

-w 1

-1

Lists the directory content.
`pfiles`Process_idShows files or connections associated with the process.
`lsof`-Pnl +M -iShows files or connections associated with the process.
CommandParameterDescription
`cat`File_nameShows the file content.
`ls`

ls -F-1

ls -1HF

ls -w 1

ls -1

Lists the directory content.
e-lFetches file attributes used for file caching decision.
`pargs`-eGets the executable directory.
`pargs`-aGets the process.
`lsof`-Pnl +M -iShows files and connections associated with the process.
`netstat`-anuLists the open ports. Required for Solaris version 11.2 or later.
`Ifconfig`Ifconfig -aShows interface information \(need sudo to get the MAC addresses\).
`pwdx`Process_idGets the process information.
`pargs`-e process_idGets the process information.
`ps`-eo user, pid, ppid, comm, argsGets the process list.
`inetadm`-l or without paramsHandles the case of application using the inet daemon.
CommandsParameterDescription
`cat`

File_name

scsi

tr '\\n'

/proc

/proc/cpuinfo

sys

sys/hypervisor

sys/hypervisor/compilation

sys/hypervisor/compilation/compiled by

Shows information about file content.
`cut`

-d

-f1

Shows the entire output of a file.
`dmidecode`

-t 17

-s bios-vendor

-t 1

-t 2

-t 3

Shows information about hardware of the Linux server in a readable format.
`lshw` Shows information about hardware of the Linux server in a readable format.
`ls`

ls -F-1

ls -1HF

ls -w 1

ls -1

ls -l

Lists directory content.
`netstat`

-ltnup

-ltnp

-ntup

-an

Shows the open network connections.
IsofNote: Used in some cases as an alternative to netstat.-Pnl +M -iShows files and connections associated with the process.
`ss`

-ltnup

-ntup

-an

Shows the open network connections.
`stat`

--format="%Y"

-L file_name

Shows the modification time of the file.
`fdisk`-lDisplays all disk partitions

Application commands requiring elevated rights

Service Mapping uses some of these commands in patterns.

CommandParameterDescription
grepVarious optionsExtracts strings from the output.
netstatVarious optionsLists open ports.
ssVarious optionsLists open ports.
lsVarious optionsLists files and folders in the specified folder.
CommandParameterDescription
`grep`Various optionsExtracts strings from the output.
`ls`Various optionsLists files and folders in the specified folder.
`cat`-Shows the file content.
`netstat`Various optionsLists the open ports.
`ss`Various optionsLists open ports.
`find`-nameThis command is used only for creating the web services connections. Finds specific strings in files and folders.
CommandParameterDescription
`grep`Various optionsExtracts strings from the output.
`ls`Various optionsLists files and folders in the specified folder.
`cat`-Shows the file content.
`version.sh/version.bat`-Gets the Tomcat version.
`netstat`Various optionsLists the open ports.
`ss`Various optionsLists open ports.
`find`-nameThis command is used in connection sections of the pattern for discovering Apache Tomcat WAR connections. Finds specific strings in files and folders.
CommandParameterDescription
lsVarious optionsLists files and folders in the specified folder.
netstatVarious optionsLists open ports.
ssVarious optionsLists open ports.
grepVarious optionsExtracts strings from the output.
CommandParameterDescription
ping-a -c 1 [url[1].host]Gets the host IP.
CommandParameterDescription
grepVarious optionsExtracts strings from the output.
netstatVarious optionsLists open ports.
ssVarious optionsLists open ports.
CommandParameterDescription
`grep`Various optionsExtracts strings from the output.
`find`Various optionsThis command is used only to create connections to Control M Server.Finds file and folder paths.
CommandParameterDescription
grepVarious optionsExtracts strings from the output.
showVarious optionsRetrieves Netscaler IP address.
CommandParameterDescription
`find`Various optionsFinds connections to Docbase.
CommandParameterDescription
grepVarious options(On Unix only) Extracts strings from the output.
lsVarious options(On Unix only) Lists files and folders in the specified folder.
cat-(On Unix only) Shows the file content.
CommandParameterDescription
netstatVarious optionsLists open ports.
ssVarious optionsLists open ports.
grepVarious optionsExtracts strings from the output.
CommandParameterDescription
`grep`Various options\(For Unix only\) Extracts strings from the output.
`find`Various options\(For Unix only\)Finds file and folder paths.
CommandParameterDescription
grepVarious options(For Unix only) This command is used only to create CICS connections. Extracts strings from the output.
cat-(For Unix only) This command is used only to create CICS connections. Displays the file content in the output.
findVarious options(For Unix only) This command is used only to create CICS connections. Finds specific strings in files and folders.
CommandParameterDescription
grepVarious optionsExtracts strings from the output.
cat-Displays the file content in the output.
CommandParameterDescription
grepVarious optionsExtracts strings from the output.
netstatVarious optionsLists open ports.
ssVarious optionsLists open ports.
find-nameFinds files and folders in the specified folder.
CommandParameterDescription
`grep`Various optionsExtracts strings from the output.
`ls`Various optionsLists files and folders in the specified folder.
`cat`-Shows the file content.
`find`

-name

-type

This command is used only for creating the Web Services connections. Finds files and folders for the specific name.
CommandParameterDescription
lsVarious optionsLists files and folders in the specified folder.
cat-Shows the file content.
netstatVarious optionsLists the open ports.
ssVarious optionsLists open ports.
CommandParameterDescription
grepVarious optionsExtracts strings from the output.
lsVarious optionsLists files and folders in the specified folder.
cat-Shows the file content.
ps-efGets the process information.
netstatVarious optionsLists the open ports.
ssVarious optionsLists open ports.
CommandParameterDescription
ps-efGets the process information.
netstatVarious optionsLists the open ports.
grepVarious optionsExtracts strings from the output.
lsVarious optionsLists files and folders in the specified folder.
cat-Shows the file content.
CommandParameterDescription
grepVarious optionsExtracts strings from the output.
CommandParameterDescription
grepVarious optionsExtracts strings from the output.
CommandParameterDescription
grepVarious optionsExtracts strings from the output.
netstatVarious optionsLists open ports.
ssVarious optionsLists open ports.
CommandParameterDescription
lsVarious options(On Unix only) Lists files and folders in the specified folder.
grepVarious optionsExtracts strings from the output.
dirVarious options(On Windows only) Lists files and folders in the specified folder.
findVarious options(For Windows only) Finds specific strings in files and folders.
netstatVarious optionsLists open ports.
ssVarious optionsLists open ports.
CommandParameterDescription
dirVarious optionsLists files and folders in the specified folder.
CommandParameterDescription
lsVarious optionsLists files and folders in the specified folder.
grepVarious optionsExtracts strings from the output.
netstatVarious optionsLists open ports.
ssVarious optionsLists open ports.
CommandParameterDescription
Get-ExchangeServer-status -Identity "+$hostname+"| export-clixml $env:TEMP\exchange_pwrshell_output.xmlExtracts the list of Microsoft Exchange hosts and role
Get-ExchangeServerformat-table -autosize -HideTableHeaders Name,Fqdn,IsMailboxServerExtracts the list of Microsoft Exchange hosts and role in table format
Get-MailboxServerformat-listExtracts the list of Microsoft Exchange Mailbox servers.
Get-ClusteredMailBoxServerStatusformat-table -Property OperationalMachinesExtracts information about Microsoft Exchange Mailbox clusters.
Get-ExchangeServerformat-table -autosize -HideTableHeaders Name,Fqdn,IsHubTransportServerExtracts information on Microsoft Exchange Hub Transport servers
Get-StorageGroup-server "+$hname+" | select SystemFolderPath | Export-Csv out.csv -notype;cat out.csvExtracts information about storage and exports it into a file.
Get-MailboxDatabase| select LogFolderPath | format-table -autosize -hideTableHeaders; Get-MailboxDatabase | select EdbFilePath| format-table -autosize -hideTableHeaders;Get-MailboxDatabase | select TemporaryDataFolderPath| format-table -autosize -hideTableHeadersExtracts information about the Microsoft Exchange Mailbox database.
CommandParameterDescription
grepVarious options(On Unix only) Extracts strings from the output.
netstatVarious optionsLists open ports.
ssVarious optionsLists open ports.
ps--pid=[process.pid] --no-headers -o " %U : %p : %a”Gets the userid parameter value.
CommandParameterDescription
netstatVarious optionsLists open ports.
ssVarious optionsLists open ports.
ps--pid=[process.pid] --no-headers -o " %U : %p : %a”(On Unix only) Gets the userid parameter value.
CommandParameterDescription
`netstat`Various optionsLists open ports.
`ss`Various optionsLists open ports.
`ps`--pid=[process.pid] --no-headers -o " %U : %p : %a”Gets the userid parameter value.
`ls`[IncludeTabletmp[].files]This command is used if necessary to create HTTP connections. Lists files and folders in the specified folder.
`cat`[IncludeTabletmp[].files]This command is used if necessary to create HTTP connections.Shows the file content.
CommandParameterDescription
lsVarious optionsLists files and folders in the specified folder.
grepVarious optionsExtracts strings from the output.
export-Sets variables.
echoVarious optionsPrints strings in the output.
sqlplusVarious optionsCreates the connection to the Oracle instance.
awkVarious optionsManipulates the output.
netstatVarious optionsGets open ports.
CommandParameterDescription
netstatVarious optionsLists open ports.
ssVarious optionsLists open ports.
CommandParameterDescription
grepVarious options(For Unix only) Extracts strings from the output.
netstatVarious optionsLists open ports.
ssVarious optionsLists open ports.
awkVarious options(For Unix only) Manipulates the output.
lsVarious options(For Unix only) Lists files and folders in the specified folder.
cat-(For Unix only) Displays the file content in the output.
findVarious optionsFinds specific strings in files and folders.
CommandParameterDescription
lsVarious optionsLists files and folders in the specified folder.
grepVarious optionsExtracts strings from the output.
cat-Shows the file content.
CommandParameterDescription
lsVarious optionsLists files and folders in the specified folder.
grepVarious optionsExtracts strings from the output.
cat-Shows the file content.
CommandParameterDescription
grepVarious optionsExtracts strings from the output.
lsVarious optionsLists files and folders in the specified folder.
cat-Shows the file content.
CommandParameterDescription
grepVarious optionsExtracts strings from the output.
lsVarious optionsLists files and folders in the specified folder.
cat-Shows the file content.
CommandParameterDescription
grepVarious optionsExtracts strings from the output.
lsVarious optionsLists files and folders in the specified folder.
cat-Shows the file content.
CommandParameterDescription
grepVarious optionsExtracts strings from the output.
lsVarious optionsLists files and folders in the specified folder.
cat-Shows the file content.
CommandParameterDescription
grepVarious optionsExtracts strings from the output.
lsVarious optionsLists files and folders in the specified folder.
cat-Shows the file content.
CommandParameterDescription
grepVarious optionsExtracts strings from the output.
lsVarious optionsLists files and folders in the specified folder.
cat-Shows the file content.
CommandParameterDescription
grepVarious optionsExtracts strings from the output.
lsVarious optionsLists files and folders in the specified folder.
cat-Shows the file content.
ps-efGets the process information.
netstatVarious optionsLists open ports.
ssVarious optionsLists open ports.
CommandParameterDescription
grepVarious optionsExtracts strings from the output.
lsVarious options(For Unix only) Lists files and folders in the specified folder.
cat-(For Unix only) Shows the file content.
netstatVarious optionsLists open ports.
ssVarious optionsLists open ports.
CommandParameterDescription
grepVarious optionsExtracts strings from the output.
lsVarious optionsLists files and folders in the specified folder.
cat-Shows the file content.
CommandParameterDescription
grepVarious optionsExtracts strings from the output.
lsVarious optionsLists files and folders in the specified folder.
cat-Shows the file content.
CommandParameterDescription
grepVarious optionsExtracts strings from the output.
lsVarious optionsLists files and folders in the specified folder.
cat-Shows the file content.
CommandParameterDescription
`grep`Various optionsExtracts strings from the output.
`ls`Various optionsLists files and folders in the specified folder.
`cat`-Shows the file content.
`find`

-name

-type

This command is used only for creating the Web Services connections. Finds files and folders for the specific name.
CommandParameterDescription
grepVarious optionsExtracts strings from the output.
lsVarious optionsLists files and folders in the specified folder.
cat-Shows the file content.
CommandParameterDescription
grepVarious optionsExtracts strings from the output.
lsVarious optionsLists files and folders in the specified folder.
cat-Shows the file content.
CommandParameterDescription
`grep`VariousExtracts strings from the output
`ls`VariousLists files and folders on the given folder.
`cat`-Displays the file content in the output.
`find`-nameThis command is used only to create web service connections. Finds files and folders for specific name.
`netstat`VariousGets open ports.
`ss`Various optionsLists open ports.
`ps`-ef\(For Unix only\) Gets process attributes.
CommandParameterDescription
grepVariousExtracts strings from the output
lsVariousLists files and folders on the given folder.
cat-Displays the file content in the output.
CommandParameterDescription
`ls`[IncludeTabletmp[].files]This command is used only to create the HTTP connections.Lists files and folders in the specified folder.
CommandParameterDescription
ps - efps -ef | grep "+$process.parentProcessId+" |egrep -v -e grep -e beamGets the parent process.
CommandParameterDescription
clustat-xDisplays the cluster configuration and the status in XML format.
CommandParameterDescription
`pargs`-eGets the executable directory.
`ls`Various optionsLists files and folders in the specified folder.
`ping`-c 1Verifies that the host is answering.
`netstat`Various optionsLists open ports.
IsofNote: Used in some cases as an alternative to netstat.-Pnl +M -iShows files and connections associated with the process.
`CVERS`-Retrieves the version of installed SAP modules.
`DBCONS`-Retrieves the connection strings to SAP DB.
`RFCDES`-Retrieves the connection string to systems integrated with SAP.
`sapcontrol`-function ABAPGetComponentListRetrieves the sysid for SAP applications and components.
CommandParameterDescription
netstatVarious optionsLists the open ports.
CommandParameterDescription
lsVarious optionsLists files and folders in the specified folder.
netstatVarious optionsLists the open ports.
CommandParameterDescription
lsVarious optionsLists files and folders in the specified folder.
grepVarious optionsExtracts strings from the output.
CommandParameterDescription
lsVarious optionsLists files and folders in the specified folder.
CommandParameterDescription
cat-Shows the file content.
netstatVarious optionsLists open ports.
ssVarious optionsLists open ports.
CommandParameterDescription
hostname-Gets the hostname.
lsVarious optionsLists files and folders in the specified folder.
grepVarious optionsExtracts strings from the output.
cat-Shows the file content.
netstatVarious optionsLists open ports.
ssVarious optionsLists open ports.
CommandParameterDescription
`hostname`-Gets the hostname.
`ls`Various optionsLists files and folders in the specified folder.
`grep`Various optionsExtracts strings from the output.
`cat`-Shows the file content.
`findstr`\(for Windows\)Various optionsExtracts strings from the output.
`netstat`Various optionsLists open ports.
`ss`Various optionsLists open ports.
`cut`Various optionsSplits the output line.
CommandParameterDescription
lsVarious optionsLists files and folders in the specified folder.
CommandParameterDescription
lsVarious optionsLists files and folders in the specified folder.

Parent Topic:Prerequisites for performing top-down discovery using Service Mapping

Related topics

Service Mapping commands not requiring a privileged user