Most of commands utilized by Service Mapping for discovery and mapping do not require elevated rights.

Review this list of commands to understand how Service Mapping uses them and to make sure that the virtual security of your company is not compromised.

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

Operating systems

Applications

Table 8. A10 load balancers
Command Parameter Description
show partition Various options Get the partition configured.
sh-run all-partitions Various options Get details like virtual-server, port, service group, and pool members information.
show slb virtual-server all-partitions Various options Get the status of the virtual server and hit count details.
Table 12. Apache Web Server (on Windows)
Command Parameter Description
httpd.exe -V Gets the version.
opmnctl

status -fmt %cmp32%prt32%por40%pid

and

@farm status -noheaders -fsep "|" -fmt %cmp%prt%clu%ins%por
This command is used only for discovering the OC4J connectivity.

Gets the status of the OPMN CTRL service.

Table 15. App TNS Service (on Windows)
Command Parameter Description
dir Various options (On Windows only) Lists files and folders in the specified folder.
netstat Various options (On Windows only) Lists open ports.
grep Various options (On Windows only) Extracts strings from the output.
Table 16. BIG-IP Global Traffic Manager (GTM) F5 (on F5 BIG-IP)
Command Parameter Description
show /gtm pool [wide_ip_pool_4_cmd[1].pool] members

This command is used only to create connections to pool members.

Gets the pool members.
list /gtm server [servers_from_cmd[].server] addresses

This command is used only to create connections to pool members.

Lists the alias server addresses.
Table 17. BIG-IP Local Traffic Manager (LTM ) F5 (on F5 BIG-IP)
Command Parameter Description
b

rule [rule name] list

and

virtual address [entry_point.ip_address]
This command is used only for creating connections from rules.

Lists existing rules on BIGPipe.

list

ltm rule [rule name]

and

data-group wts_routing_destination_prod | grep -A 1 [ep_uri]
This command is used only for creating connections from rules.

Lists existing rules on TMSH.

Table 18. BIG-IP Device Service Clustering
Command Parameter Description
show cm traffic-group – get Various options This command is used to get traffic and clustering information.
Table 19. BMC CTRL-M Enterprise Manager (on UNIX or Windows)
Command Parameter Description
findstr Various options (For Windows only) Extracts strings from the output.
netstat Various options (For Windows only) Lists open ports.
Table 21. BMC IT Asset Management (ITAM) Software
Command Parameter Description
tnsping Various options Retrieves information about Oracle connections.
Table 22. CA Identity Manager Provisioning Server (for Windows)
Command Parameter Description
dir Various options Lists files and folders in the specified folder.
Table 24. Cisco ACE Command Line Interface (on Cisco CSM)
Command Parameter Description
show context, running Shows the requested information.
include - Extracts strings from the output.
echo - Displays strings to the output.
Table 25. Cisco Global Site Selector (on Cisco CSM)
Command Parameter Description
show gslb-config domain-list Shows the domain list.
show gslb-config dns rule Shows the DNS rule output.
show gslb-config answer-group Show the VIP answer.
Table 26. Citrix Delivery Controller (on Windows)
Command Parameter Description
powershell

Add-PSSnapin Citrix.Broker.Admin.V2; Get-BrokerApplication -Name [entry_point.name] | select Name,CommandLineExecutable,CommandLineArguments,WorkingDirectory,ApplicationType,BrowserName | Format-List

and

Add-PSSnapin Citrix.Broker.Admin.V2; Get-BrokerApplication -Name [entry_point.name] | select Name,CommandLineExecutable,CommandLineArguments,WorkingDirectory,ApplicationType,BrowserName | Format-List

And

Add-PSSnapin Citrix.Broker.Admin.V2; Get-BrokerMachine -DesktopGroupName ‘ [delivery_groups[1].name]
Gets applications managed by this Delivery Controller.
Table 27. Citrix Usage Collector (on Windows)
Command Parameter Description
qfarm Discovers epic icons.
Table 28. Citrix XenApp (on Windows)
Command Parameter Description
get_xenapp_apps.ps1 [entry_point.icon_path] Runs powershell commands that retrieve the Citrix icon info from the Citrix repository.
powershell Various options Runs powershell commands.
Table 29. Citrix Presentation Server (on Windows)
Command Parameter Description
cscript //NoLogo Runs VB scripts without a popup box.
GetAppsInFolder.wsf [entry_point.icon_path] Runs vbscript commands that retrieve the Citrix icon info from the Citrix repository.
Table 30. Citrix Netscaler (on Citrix Netscaler)
Command Parameter Description
show cs policy, cs action,cs Policy, lb vserver

This command is used only for discovering outgoing connections.

Shows the requested information.
grep Various options Extracts strings from the output.
Table 31. Citrix Netscaler Global Server Load Balancer (on Citrix Netscaler)
Command Parameter Description
show ns.conf

This command is used only for discovering outgoing connections if SNMP or SSH credentials are not provided.

Shows the contents of the ns.conf file.
Table 32. Connect-IT Service (on UNIX or Windows)
Command Parameter Description
findstr Various options (For Windows only) Extracts strings from the output.
dir Various options (For Windows only) Lists files and folders in the specified folder.
Table 33. EMC Documentum Docbase (on Windows)
Command Parameter Description
dir Various options Lists files and folders in the specified folder.
findstr Various options Extracts strings from the output.
find Various options Finds specific strings in files and folders.
Table 34. FormEngine (on UNIX or Windows)
Command Parameter Description
dir Various options (On Windows only) Lists files and folders in the specified folder.
findstr Various options (On Windows only) Extracts strings from the output.
find Various options (For Windows only) Finds specific strings in files and folders.
Table 35. Generic application (on UNIX or Windows)
Command Parameter Description
findstr Various options (On Windows only) Extracts strings from the output.
tasklist Various options Lists all running tasks.
netsh http show servicestate Shows a snapshot of the HTTP service.
Table 37. HAProxy (on UNIX or Windows)
Command Parameter Description
ls Various options (On Unix only) Lists files and folders in the specified folder.
tail Various options (On Unix only) Displays the end of the output.
Table 38. HP Service Manager Application Server
Command Parameter Description
tnsping Various options Retrieves information about Oracle connections.
netstat Various options Lists open ports.
ss Various options Lists open ports.
Table 39. HP Service Manager Index (on Windows)
Command Parameter Description
netstat Various options Lists open ports.
Table 40. HP Service Manager Knowledge Base (on Windows)
Command Parameter Description
netstat Various options Lists open ports.
Table 41. IBM WebSphere Message Broker (on Windows)
Command Parameter Description
dmqdocbroker

-s -c getdocbasemap

and

-t [computer_system.primaryHostname] -s -c getdocbasemap

and

-s -c getservermap [docbas]

-t [computer_system.primaryHostname] -s -c getdocbasemap

[docbase]
Gets the docbase information.
del Various options Deletes the XML file containing the old binding information.
BTSTask ExportBindings /Destination:%TEMP%\MyBindings.xml /Database:[MgmtDbName] /server:[serverName] This command is used only if there are not MSSQL credentials.

Extracts the binding info and places it into the XML file.

Table 42. IBM CTRL-M Server (on Unix or Windows)
Command Parameter Description
findstr Various options (For Windows only) Extracts strings from the output.
dir Various options (For Windows only) Lists files and folders in the specified folder.
Table 43. IBM CICS Transaction Gateway CTG (on UNIX or Windows)
Command Parameter Description
findstr Various options (For Windows only) This command is used only to create CICS connections.

Extracts strings from the output.

dir Various options (For Windows only) This command is used only to create CICS connections. Lists files and folders in the specified folder.
type - (For Windows only) This command is used only to create CICS connections. Displays the file content in the output.
Table 46. IBM DB2 (on IBM z/OS)
Command Parameter Description
netstat Various options Gets the DB2 name.
Table 48. IBM Websphere Application Server (on UNIX)
Command Parameter Description
versionInfo.sh - Gets the Websphere Application Server version.
Table 50. IBM Websphere Portal (on Linux)
Command Parameter Description
grep Various options Extracts strings from the output.
find

-name

-type

This command is used only for creating the Web Services connections.

Finds files and folders for the specific name.

Table 56. IBM MQ (on UNIX) — formerly IBM WebSphere MQ
Command Parameter Description
dspmq - Gets the queue manager status.
dspmqver - Gets the queue manager version.
runmqsc [queue manager] Gets the queue information.
Table 59. IBM MQ Queue (on UNIX) — formerly IBM WebSphere MQ Queue
Command Parameter Description
dspmq - Gets the queue manager status.
dspmqver - Gets the queue manager version.
runmqsc [queue manager] Gets the queue information.
Table 60. IBM MQ Queue (on Windows)
Command Parameter Description
dspmq - Gets the queue manager status.
dspmqver - Gets the queue manager version.
runmqsc [queue manager] Gets the queue information.
Table 63. JRun (on Windows)
Command Parameter Description
dir Various options Lists files and folders in the specified folder.
Table 67. Microsoft BizTalk Orchestration (on Windows)
Command Parameter Description
echo Various options Prints strings in the output.
Table 68. Microsoft BizTalk Server (on Windows)
Command Parameter Description
echo Various options Prints strings in the output.
del Various options Deletes the XML file containing the old binding information.
BTSTask ExportBindings /Destination:%TEMP%\MyBindings.xml /Database:[MgmtDbName] /server:[serverName] This command is used only if there are not MSSQL credentials.

Extracts the binding information and places it into the XML file.

Table 69. Microsoft Exchange BackEnd Server (on Windows)
Command Parameter Description
netstat Various options Lists open ports.
hostname - Gets the hostname.
tasklist Various options Lists all running tasks.
Table 70. Microsoft Exchange FrontEnd Server (on Windows)
Command Parameter Description
netstat Various options Lists open ports.
hostname - Gets the hostname.
tasklist Various options Lists all running tasks.
Table 71. Microsoft FAST Search Server (on Windows)
Command Parameter Description
dir Various options Lists files and folders in the specified folder.
findstr Various options Extracts strings from the output.
Table 73. Microsoft Internet Information Services (IIS) (on Windows)
Command Parameter Description
appcmd.exe Various options This command is used only for IIS version 7 and later.

Retrieves information about the specified application name.

Table 77. Microsoft SharePoint (on Windows)
Command Parameter Description
hostname - Gets the hostname.
Table 79. Microsoft Message Queuing (MSMQ) (on Windows)
Command Parameter Description
findstr Various options Extracts strings from the output.
netstat Various options Lists open ports.
Table 80. Microsoft SQL Database (on Windows)
Command Parameter Description
findstr Various options Extracts strings from the output.
netstat Various options Lists open ports.
sqlservr.exe Gets the version of the database from the executable file.
Table 81. MongoDB Database (on Windows or UNIX)
Command Parameter Description
mongo

--eval db.printShardingStatus()

Retrieves the status of MondoDB that is used for load balancing.
mongo --db.Name() Retrieves the name of the database connected to MongoDB server.
Table 83. MySQL Cluster MGM Node (on Windows or UNIX)
Command Parameter Description
netstat Various options Lists open ports.
ss Various options Lists open ports.
ndb_mgmd

-V

and

-e show
Gets the version and status of the MySQL Cluster MGM node.
Table 84. Nginx (on UNIX)
Command Parameter Description
nginx -v Gets the version.
egrep -v -e ^# -e "\t#" This command is used if necessary to create HTTP connections.

Ignores special characters.

Table 88. Oracle Discoverer Engine (on Windows)
Command Parameter Description
dir Various options Lists files and folders in the specified folder.
findstr Various options Extracts strings from the output.
find Various options Finds specific strings in files and folders.
Table 89. Oracle Discoverer UI (on Windows)
Command Parameter Description
dir Various options Lists files and folders in the specified folder.
findstr Various options Extracts strings from the output.
find Various options Finds specific strings in files and folders.
Table 90. Oracle Form UI (on Windows)
Command Parameter Description
dir Various options Lists files and folders in the specified folder.
findstr Various options Extracts strings from the output.
find Various options Finds specific strings in files and folders.
Table 91. Oracle Fulfillment Server (on Windows)
Command Parameter Description
dir Various options Lists files and folders in the specified folder.
findstr Various options Extracts strings from the output.
find Various options Finds specific strings in files and folders.
Table 92. Oracle HTTP Server (on Windows)
Command Parameter Description
dir Various options Lists files and folders in the specified folder.
findstr Various options Extracts strings from the output.
find Various options Finds specific strings in files and folders.
Table 93. Oracle Metric Client (on Windows)
Command Parameter Description
dir Various options Lists files and folders in the specified folder.
findstr Various options Extracts strings from the output.
find Various options Finds specific strings in files and folders.
Table 94. Oracle OACORE Server (on Windows)
Command Parameter Description
findstr Various options Extracts strings from the output.
dir Various options Lists files and folders in the specified folder.
find Various options Finds specified strings in the file and folders.
Table 95. Oracle OAFM Server (on Windows)
Command Parameter Description
findstr Various options Extracts strings from the output.
dir Various options Lists files and folders in the specified folder.
find Various options Finds specified strings in the file and folders.
Table 99. Oracle Net Listener (on UNIX)
Command Parameter Description
lsnrctl

version

and

status

Gets the version and status of the Oracle Net Listener.
export - Sets the variable.
crsctl

status res -t

and

config service -d
Gets the services status and configuration.
Table 100. Oracle PeopleSoft (on UNIX)
Command Parameter Description
psadmin Various options Retrieves information from the PeopleSoft repository or server.
tnsping Various options Retrieves information about the database instance given to the tnsping command.
sqlplus Various options Connects to the database instance and runs the sql query.
Table 101. Oracle Process Manager (on Windows)
Command Parameter Description
findstr Various options Extracts strings from the output.
dir Various options Lists files and folders in the specified folder.
find Various options Finds specified strings in the file and folders.
Table 102. Oracle Report Server (on Windows)
Command Parameter Description
findstr Various options Extracts strings from the output.
dir Various options Lists files and folders in the specified folder.
find Various options Finds specified strings in the file and folders.
Table 103. Oracle Tnslsnr Engine (on Windows)
Command Parameter Description
dir Various options Lists files and folders in the specified folder.
findstr Various options Extracts strings from the output.
find Various options Finds specific strings in files and folders.
Table 104. Oracle WebLogic Module (on Windows)
Command Parameter Description
dir Various options Lists files and folders in the specified folder.
findstr Various options Extracts strings from the output.
find Various options Finds specific strings in files and folders.
Table 105. Oracle WebLogic Server (version 10.3) (on Windows)
Command Parameter Description
dir Various options Lists files and folders in the specified folder.
findstr Various options Extracts strings from the output.
find Various options Finds specific strings in files and folders.
Table 109. PostgreSQL Database (on UNIX and Windows)
Command Parameter Description
postgres -v Gets the version.
findstr Various options (For Windows only) Extracts strings from the output.
dir Various options (For Windows only) Lists files and folders in the specified folder.
Table 111. SAP BO BOXI ScheduleRouter (on Windows)
Command Parameter Description
findstr Various options (For Windows only) Extracts strings from the output.
type -
tnsping instance This command is used to create connections to Oracle.
Table 112. SAP Business Objects CMS Server (on Windows)
Command Parameter Description
findstr Various options (For Windows only) Extracts strings from the output.
dir Various options Lists files and folders in the specified folder.
tnsping instance This command is used to create connections to Oracle.

Gets the version.

Table 116. SAP HANA Database (on UNIX or Windows)
Command Parameter Description
hdbsql -v Gets the version.
Table 117. SAP HANA Database Catalog on UNIX
Command Parameter Description
hdbsql Various options
  • Gets schemas info
  • Gets time zone
  • Gets disk size
Table 120. SQL Server Analysis Services (SSAS) (on Windows)
Command Parameter Description
MsMdSrv.exe -n Gets the instance name.
netstat Various options Lists the open ports.
Table 123. Sun Directory (on Solaris)
Command Parameter Description
slapd-dirserv -D [instance] -v Gets the version.
netstat Various options Lists the open ports.
Table 124. Sun JES (on Solaris)
Command Parameter Description
configutil - Gets the JES configuration.
Table 125. Sybase (on Unix or Windows)
Command Parameter Description
dataserverv -v Gets the version.
dir Various options (For Windows only) Lists files and folders in the specified folder.
Table 126. Symantec Enterprise Vault (on Windows)
Command Parameter Description
findstr Various options Extracts strings from the output.
netstat Various options Lists open ports.
ping -n 1[ip] Verifies that the SQL server is running.
Table 127. TIBCO ActiveMatrix Adapter (on UNIX or Windows)
Command Parameter Description
hostname - Gets the hostname.
"IFS=$'\n';for i in `find " + $tra_home + " -type f | grep -v /tmp | egrep \".process$|.substvar$\"`; do result=`grep \"" + $entry_point.queue + "\" $i`; echo $i###$result@@@; done| grep -v \"###@@@\"" - Scans the label file and brings the actual values.
Table 130. TIBCO Enterprise Message Service (EMS) Queue (on UNIX or Windows)
Command Parameter Description
rm -f /tmp/ems.cmd Prepares the EMS script.
tibemsadmin -server tcp://+[computer_system.primaryManagementIP]:[port] -user [username] -password [password] -script [script] Connects to the EMS administrator and gets the list of EMS Queue consumers.
echo Various options Prints strings in the output.
Table 131. TIBCO Enterprise Message Service (EMS) (on UNIX and Windows)
Command Parameter Description
rm -f /tmp/ems.cmd Prepares the EMS script.
tibemsadmin -server tcp://+[computer_system.primaryManagementIP]:[port] -user [username] -password [password] -script [script] Connects to the EMS administrator and gets the list of EMS Queue consumers.
echo Various options (On Windows only) Prints strings in the output.