Service Mapping commands not requiring a privileged user

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
Some commands are mandatory. The discovery process fails if Service Mapping cannot run these commands.

Operating systems

Table 1. AIX commands
Command Parameter Mandatory/Optional Description
awk various options Mandatory Parses the string.
istat file_name Optional Gets last modification time of file.
nslookup hostname Mandatory Resolve DNS host name.
ping -c count ip/host Mandatory Pings the host.
arp -an various options Mandatory Shows ARP table.
grep String to search Mandatory Finds string in previous command output.
traceroute -n ip_address Mandatory Shows layer 3 network route to target host.
netstat

-an

-Aan

Mandatory Shows open network connections.
ps -eo user, pid, ppid, comm, args Mandatory Gets the process list.
grep various options Mandatory Searches text in previous command output
find Directory and parameters to search Mandatory Searches for files by name or type.
Table 2. HP-UX commands
Command Parameter Mandatory/Optional Description
ping -c count ip/host Mandatory Pings the host.
arp -an Optional (required by network discovery) Shows the ARP table.
grep String to search Mandatory Finds string in previous command output.
awk various options Mandatory Parses the string.
traceroute -n ip_address Mandatory Shows layer 3 network route to target host.
netstat -an Mandatory Shows open network connections.
ps -eo user, pid, ppid, comm, args Mandatory Gets the process list.
grep various options Mandatory Searches text in previous command output
ps -eo user, pid, ppid, comm, args Mandatory Gets the process list.
find Directory and parameters for search Mandatory Searches for files by name or type.
Table 3. Linux
Commands Parameter Mandatory/Optional Description
nslookup hostname Mandatory Resolves the DNS host name.
ping -c count ip/host Mandatory Pings the host.
arp -an Optional (required for network path calculations) Shows the ARP table.
grep String to search Mandatory Finds the string in previous command output.
awk Various options Mandatory Parses the string.
netstat -an Mandatory Shows open network connections.
ps -eo user, pid, ppid, comm, args Mandatory Gets the process list.
grep Various options Mandatory Searches text in previous command output.
egrep Various options Mandatory Searches text in previous command output.
find Directory and parameters for search Mandatory Searches for files by name or type.
traceroute -n ip_address Optional (required for network path calculation) Shows the layer 3 network route to target host.
Table 4. Solaris
Command Parameter Mandatory/optional Description
nslookup hostname Mandatory Resolves the DNS host name.
ping -c count ip/host Mandatory Pings the host.
arp -an Optional (required for network path calculation) Shows the ARP table.
grep String to search Mandatory Finds the string in previous command output.
awk Various options Mandatory Parses the string.
traceroute -n ip_address Optional (required for network path calculation) Shows the layer 3 network route to target host.
netstat -an Mandatory Shows the open network connections.
zoneadm List Mandatory Shows the list of zones.
grep Various options Mandatory Searches text in previous command output.
egrep Various options Mandatory Searches text in previous command output.
find for search Directory and parameters Mandatory Searches for files by name or type.
Table 5. Windows WMI Queries
Query Description
Select * from Win32_ComputerSystem Gets the server basic information like serial number.
Select LastModified from CIM_LogicalFile Where Name=... Gets the last modification time of a file.
Select AddressWidth from Win32_Processor Gets the computer architecture (32 bit or 64 bit).
Select * From Win32_Process where (ProcessId = ?) Gets the process list running on the computer.
Select Name from CIM_LogicalDisk Gets the file systems on the computer, such as C: or D:.
Select FileName, Extension from CIM_Directory where Drive=’drive’ and Path='path' Gets the list of files in a specific directory.
Table 6. Windows commands
Command Parameter Mandatory/optional Description
get_process_info.exe Process_id Mandatory Extracts information on the processes using executable created by ServiceNow.
type File_name Mandatory Shows the text file content.
nslookup Host_name Mandatory DNS lookup
arp -a Optional (required for network path calculation) Shows the ARP table.
netstat -ano Mandatory Shows the network connections.
findstr Various options Mandatory Finds the string in the previous command output.
dir

/q

/s /b

Mandatory Lists files in the directories.
paping

--nocolor -c 1 -p

port_num

ip_address

Mandatory Utility to run TCP ping against given host.
ping

-n 1

ip_address/host

Mandatory Pings the host.
tracert Ip_address Optional (required for network path calculation) Shows the layer 3 network route to the target host.

Applications

Table 7. ABAP SAP Central Services (ASCS) (on Unix or Windows)
Command Parameter Mandatory/Optional Description
dir Various options Mandatory (For Windows only) Lists files and folders in the specified folder.
msg_server -V Optional Gets the version.
ping -n 1 Mandatory (For Windows only) Verifies that the host is answering.
netstat Various options Mandatory Lists open ports.
Table 8. Active Directory Domain Controller (on Windows)
Command Parameter Mandatory/Optional Description
netstat Various options Mandatory Gets open ports on
hostname - Mandatory Gets the hostname.
dir Various options Mandatory Lists all files in the specified folder.
Table 9. Apache Web Server (on Unix)
Command Parameter Mandatory/Optional Description
httpd -V Optional Gets the version.
cut Various options Mandatory Splits the output line.
opmnctl

status -fmt %cmp32%prt32%por40%pid

and

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

Gets the status of the OPMN CTRL service.

sort -u Optional This command is used only discovering the Weblogic connectivity.

Sorts the output.

Table 10. Apache Web Server (on Windows)
Command Parameter Mandatory/Optional Description
httpd.exe -V Optional Gets the version.
opmnctl

status -fmt %cmp32%prt32%por40%pid

and

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

Gets the status of the OPMN CTRL service.

Table 11. Apache Tomcat (on Unix or Windows)
Command Parameter Mandatory/Optional Description
dir Various options Mandatory (On Windows only) Lists files and folders in the specified folder.
findstr Various options Mandatory (On Windows only) Extracts strings from the output.
find Various options Mandatory (For Windows only) Finds specific strings in files and folders.
version.sh/version.bat - Optional Gets the Tomcat version.
java -cp " + $install_directory + "/lib/catalina.jar org.apache.catalina.util.ServerInfo - Optional Gets the Tomcat version.
netstat Various options Mandatory Lists the open ports.
find -name Optional This command is used only for creating the web services connections.

Finds specific strings in files and folders.

Table 12. Apache Tomcat WAR (on Unix or Windows)
Command Parameter Mandatory/Optional Description
dir Various options Mandatory (On Windows only) Lists files and folders in the specified folder.
findstr Various options Mandatory (On Windows only) Extracts strings from the output.
find Various options Mandatory (For Windows only) Finds specific strings in files and folders.
version.sh/version.bat - Optional Gets the Tomcat version.
netstat Various options Mandatory (Windows only) Lists the open ports.
Table 13. App TNS Service (on Windows)
Command Parameter Mandatory/Optional Description
dir Various options Mandatory (On Windows only) Lists files and folders in the specified folder.
netstat Various options Mandatory (On Windows only) Lists open ports.
grep Various options Mandatory (On Windows only) Extracts strings from the output.
Table 14. BIG-IP Global Traffic Manager (GTM) F5 (on F5 BIG-IP)
Command Parameter Mandatory/Optional Description
show /gtm pool [wide_ip_pool_4_cmd[1].pool] members Optional

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

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

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

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

rule [rule name] list

and

virtual address [entry_point.ip_address]
Optional 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]
Optional This command is used only for creating connections from rules.

Lists existing rules on TMSH.

Table 16. BMC CTRL-M Enterprise Manager (on Unix or Windows)
Command Parameter Mandatory/Optional Description
findstr Various options Mandatory (For Windows only) Extracts strings from the output.
netstat Various options Mandatory (For Windows only) Lists open ports.
Table 17. BMC CTRL-M Gateway (on Unix or Windows)
Command Parameter Mandatory/Optional Description
findstr Various options Mandatory (For Windows only) Extracts strings from the output.
dir Various options Mandatory (For Windows only) Lists files and folders in the specified folder.
find Various options Optional This command is used only to create connections to Control M Server.

Finds file and folder paths.

xargs grep <string> Optional This command is used only to create connections to IBM CTRL-M Server.

Runs the command on all lists from the output.

Table 18. BMC IT Asset Management (ITAM) Software
Command Parameter Mandatory/Optional Description
tnsping Various options Mandatory Retrieves information about Oracle connections.
Table 19. CA Identity Manager Provisioning Server (for Windows)
Command Parameter Mandatory/Optional Description
dir Various options Mandatory Lists files and folders in the specified folder.
Table 20. Cisco ACE Command Line Interface (on Cisco CSM)
Command Parameter Mandatory/Optional Description
show context, running Mandatory Shows the requested information.
include - Mandatory Extracts strings from the output.
echo - Mandatory Displays strings to the output.
Table 21. Cisco Global Site Selector (on Cisco CSM)
Command Parameter Mandatory/Optional Description
show gslb-config domain-list Mandatory Shows the domain list.
show gslb-config dns rule Mandatory Shows the DNS rule output.
show gslb-config answer-group Mandatory Show the VIP answer.
Table 22. Citrix Delivery Controller (on Windows)
Command Parameter Mandatory/Optional 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

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

This command is used only for discovering outgoing connections.

Shows the requested information.
grep Various options Mandatory Extracts strings from the output.
Table 26. Connect-IT Service (on Unix or Windows)
Command Parameter Mandatory/Optional Description
findstr Various options Mandatory (For Windows only) Extracts strings from the output.
dir Various options Mandatory (For Windows only) Lists files and folders in the specified folder.
Table 27. EMC Documentum Docbase (on Windows)
Command Parameter Mandatory/Optional Description
dir Various options Mandatory Lists files and folders in the specified folder.
findstr Various options Mandatory Extracts strings from the output.
find Various options Mandatory Finds specific strings in files and folders.
Table 28. FormEngine (on Unix or Windows)
Command Parameter Mandatory/Optional Description
dir Various options Mandatory (On Windows only) Lists files and folders in the specified folder.
findstr Various options Mandatory (On Windows only) Extracts strings from the output.
find Various options Mandatory (For Windows only) Finds specific strings in files and folders.
Table 29. Generic application (on Unix or Windows)
Command Parameter Mandatory/Optional Description
findstr Various options Mandatory (On Windows only) Extracts strings from the output.
tasklist Various options Mandatory Lists all running tasks.
Table 30. HAProxy (on Unix or Windows)
Command Parameter Mandatory/Optional Description
ls Various options Mandatory (On Unix only) Lists files and folders in the specified folder.
tail Various options Mandatory (On Unix only) Displays the end of the output.
Table 31. HP Service Manager Application Server
Command Parameter Mandatory/Optional Description
tnsping Various options Mandatory Retrieves information about Oracle connections.
netstat Various options Mandatory Lists open ports.
Table 32. HP Service Manager Index (on Windows)
Command Parameter Mandatory/Optional Description
netstat Various options Mandatory Lists open ports.
Table 33. HP Service Manager Knowledge Base (on Windows)
Command Parameter Mandatory/Optional Description
netstat Various options Mandatory Lists open ports.
Table 34. IBM WebSphere Message Broker (on Windows)
Command Parameter Mandatory/Optional 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]
Mandatory Gets the docbase information.
del Various options Mandatory Deletes the XML file containing the old binding information.
BTSTask ExportBindings /Destination:%TEMP%\MyBindings.xml /Database:[MgmtDbName] /server:[serverName] Optional This command is used only if there are not MSSQL credentials.

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

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

Extracts strings from the output.

dir Various options Optional (For Windows only) This command is used only to create CICS connections. Lists files and folders in the specified folder.
type - Optional (For Windows only) This command is used only to create CICS connections. Displays the file content in the output.
Table 37. IBM DB2 (on Linux)
Command Parameter Mandatory/Optional Description
source [installed_dir]db2profile Mandatory Sets the DB2 variables.
db2 list database directory Mandatory Displays the DB2 installation parameters.
grep Various options Mandatory Extracts strings from the output.
head -1 Mandatory Displays only the first line from the output.
db2level - Mandatory Displays the DB2 version.
cat - Mandatory Displays the file content in the output.
xargs -I {} echo list tablespace containers for {} ';' Optional This command is used only to create storage connections. Runs the command on all lists from the output.
Table 38. IBM DB2 (on Windows)
Command Parameter Mandatory/Optional Description
db2cmd /c /w /i Mandatory Lists the DB2 directories.
db2 list database directory Mandatory Displays the DB2 installation parameters.
find Various options Mandatory Finds specific strings in files, folders, or standard output.
dir Various options Mandatory Lists files and folders in the specified folder.
db2level - Mandatory Displays the DB2 version.
echo Various options Optional This command is used only for storage connectivity. Prints the strings in the output.
findstr Various options Optional This command is used only for storage connectivity.

Extracts strings from the output.

for Various options Optional This command is used only for storage connectivity. Runs loops.
Table 39. IBM J2EE EAR (on Windows)
Command Parameter Mandatory/Optional Description
netstat Various options Mandatory Lists open ports.
find Various options Mandatory Finds specific strings in files and folders.
dir Various options Mandatory Lists files and folders in the specified folder.
findstr Various options Mandatory Extracts strings from the output.
Table 40. IBM Websphere Application Server (on Unix)
Command Parameter Mandatory/Optional Description
versionInfo.sh - Optional Gets the Websphere Application Server version.
Table 41. IBM Websphere Portal (on Linux)
Command Parameter Mandatory/Optional Description
grep Various options Mandatory Extracts strings from the output.
find

-name

-type

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

Finds files and folders for the specific name.

Table 42. IBM Websphere Portal (on Windows)
Command Parameter Mandatory/Optional Description
dir Various options Mandatory Lists files and folders in the specified folder.
findstr Various options Mandatory Extracts strings from the output.
netstat Various options Mandatory Lists the open ports.
find Various options Mandatory Finds specific strings in files and folders.
Table 43. IBM WebSphere Message Broker Flow (on Unix)
Command Parameter Mandatory/Optional Description
find

-name

-type

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

Finds files and folders for the specific name.

mqsiprofile - Mandatory Sets the variables for WebSphere Message Broker.
mqsireportbroker [broker name] Mandatory Gets the WebSphere Message Broker information.
mqsibrowse [broker name] -t BROKERRESOURCES Mandatory Displays the Message Broker information resources.
echo $ODBCINI Optional (On Unix only) This command is used only to create connections to IBM DB2.

Prints strings in the output.

Table 44. IBM WebSphere Message Broker Flow (on Windows)
Command Parameter Mandatory/Optional Description
mqsiprofile - Mandatory Sets the variables for WebSphere Message Broker.
mqsireportbroker [broker name] Mandatory Gets the WebSphere Message Broker information.
ps -ef Mandatory Gets the process information.
mqsibrowse [broker name] -t BROKERRESOURCES Mandatory Displays the Message Broker information resources.
echo $ODBCINI Optional (On Unix only) This command is used only to create connections to IBM DB2.

Prints strings in the output.

db2

list database directory

and

list node directory

Mandatory Displays DB2 installation parameters.
Table 45. IBM WebSphere Message Broker (on Unix)
Command Parameter Mandatory/Optional Description
mqsiprofile - Mandatory Sets the variables for WebSphere Message Broker.
mqsireportbroker [broker name] Mandatory Gets the WebSphere Message Broker information.
mqsibrowse [broker name] -t BROKERRESOURCES Mandatory Displays the Message Broker information resources.
find

-name

-type

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

Finds files and folders for the specific name.

Table 46. IBM WebSphere Message Broker (on Windows)
Command Parameter Mandatory/Optional Description
mqsiprofile - Mandatory SSets the variables for WebSphere Message Broker.
mqsireportbroker [broker name] Mandatory Gets the WebSphere Message Broker information.
ps -ef Mandatory Gets the process information.
mqsibrowse [broker name] -t BROKERRESOURCES Mandatory Displays the Message Broker information resources.
Table 47. IBM WebSphere MQ (on Unix)
Command Parameter Mandatory/Optional Description
dspmq - Mandatory Gets the queue manager status.
dspmqver - Mandatory Gets the queue manager version.
runmqsc [queue manager] Mandatory Gets the queue information.
Table 48. IBM WebSphere MQ (on Windows)
Command Parameter Mandatory/Optional Description
grep Various options Mandatory Extracts strings from the output.
dspmq - Mandatory Gets the queue manager status.
dspmqver - Mandatory Gets the queue manager version.
runmqsc [queue manager] Mandatory Gets the queue information.
Table 49. IBM WebSphere MQ Queue (on Unix)
Command Parameter Mandatory/Optional Description
dspmq - Mandatory Gets the queue manager status.
dspmqver - Mandatory Gets the queue manager version.
runmqsc [queue manager] Mandatory Gets the queue information.
Table 50. IBM WebSphere MQ Queue (on Windows)
Command Parameter Mandatory/Optional Description
dspmq - Mandatory Gets the queue manager status.
dspmqver - Mandatory Gets the queue manager version.
runmqsc [queue manager] Mandatory Gets the queue information.
Table 51. Jboss Module (on Unix or Windows)
Command Parameter Mandatory/Optional Description
dir Various options Mandatory (On Windows only) Lists files and folders in the specified folder.
findstr Various options Mandatory (On Windows only) Extracts strings from the output.
find Various options Mandatory (On Windows only) Finds specific strings in files and folders.
netstat Various options Mandatory (On Windows only) Lists open ports.
Table 52. Jboss (on Unix and Windows)
Command Parameter Mandatory/Optional Description
find -name Mandatory Finds files and folders in the specified folder.
xargs grep <string> Optional Finds strings in all files found in the output file.
dir Various options Mandatory (On Windows only) Lists files and folders in the specified folder.
findstr Various options Mandatory (On Windows only) Extracts strings from the output.
find Various options Mandatory (For Windows only) Finds specific strings in files and folders.
netstat Various options Mandatory Lists open ports.
Table 53. JRun (on Windows)
Command Parameter Mandatory/Optional Description
dir Various options Mandatory Lists files and folders in the specified folder.
Table 54. JRun WAR Inc (on Unix and Windows)
Command Parameter Mandatory/Optional Description
find -name Mandatory Finds files and folders in the specified folder.
xargs grep <string> Optional Finds strings in the files found in the output file.
grep Various options Mandatory Extracts strings from the output.
dir Various options Mandatory (On Windows only) Lists files and folders in the specified folder.
findstr Various options Mandatory (On Windows only) Extracts strings from the output.
find Various options Mandatory (For Windows only) Finds specific strings in files and folders.
netstat Various options Mandatory Lists open ports.
Table 55. Microsoft Exchange CAS (on Windows)
Command Parameter Mandatory/Optional Description
netstat Various options Mandatory Lists open ports.
hostname - Mandatory Gets the hostname.
dir Various options Mandatory Lists files and folders in the specified folder.
tasklist Various options Mandatory Lists all running tasks.
del Various options Mandatory Deletes the XML file containing the old binding information.
echo Various options Mandatory Prints strings in the output.
powershell

Add-PSSnapin Microsoft.Exchange.Management.PowerShell.E2010; Get-ExchangeServer -status -Identity [hostname]| export-clixml $env:TEMP\exchange_pwrshell_output.xml

and

Add-PSSnapin Microsoft.Exchange.Management.PowerShell.Admin; Get-ExchangeServer -status -Identity [hostname]| export-clixml $env:TEMP\exchange_pwrshell_output.xml

and

Add-PSSnapin Microsoft.Exchange.Management.PowerShell.E2010; Get-ExchangeServer| format-table -autosize -HideTableHeaders Name,Fqdn,IsMailboxServer

and

Add-PSSnapin Microsoft.Exchange.Management.PowerShell.Admin; Get-ExchangeServer | format-table -autosize -HideTableHeaders Name,Fqdn,IsMailboxServer

and

Add-PSSnapin Microsoft.Exchange.Management.PowerShell.Admin; Get-MailboxServer | format-list
Optional This command is used only if you do not use TCP connections.

Gets the CAS status, server roles, and Exchange setup structure.

Caution: Do not use the dollar sign ($) in credentials for Exchange CAS, because Service Mapping uses the dollar sign for pattern variables in the powershell command.
find Various options Optional This command is used only if PowerShell is not operational.

Finds specific strings in the files and folders.

findstr Various options Mandatory Extracts strings from the output.
Table 56. Microsoft Dynamic CRM (on Windows)
Command Parameter Mandatory/Optional Description
netstat Various options Mandatory Lists open ports.
dir Various options Mandatory Lists files and folders in the specified folder.
findstr Various options Mandatory Extracts strings from the output.
find Various options Mandatory Finds specific strings in files and folders.
Table 57. Microsoft BizTalk Orchestration (on Windows)
Command Parameter Mandatory/Optional Description
echo Various options Mandatory Prints strings in the output.
Table 58. Microsoft BizTalk Server (on Windows)
Command Parameter Mandatory/Optional Description
echo Various options Mandatory Prints strings in the output.
del Various options Mandatory Deletes the XML file containing the old binding information.
BTSTask ExportBindings /Destination:%TEMP%\MyBindings.xml /Database:[MgmtDbName] /server:[serverName] Optional This command is used only if there are not MSSQL credentials.

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

Table 59. Microsoft Exchange BackEnd Server (on Windows)
Command Parameter Mandatory/Optional Description
netstat Various options Mandatory Lists open ports.
hostname - Mandatory Gets the hostname.
tasklist Various options Mandatory Lists all running tasks.
Table 60. Microsoft Exchange FrontEnd Server (on Windows)
Command Parameter Mandatory/Optional Description
netstat Various options Mandatory Lists open ports.
hostname - Mandatory Gets the hostname.
tasklist Various options Mandatory Lists all running tasks.
Table 61. Microsoft FAST Search Server (on Windows)
Command Parameter Mandatory/Optional Description
dir Various options Mandatory Lists files and folders in the specified folder.
findstr Various options Mandatory Extracts strings from the output.
Table 62. Microsoft Exchange Hub Transport Server (on Windows)
Command Parameter Mandatory/Optional Description
netstat Various options Mandatory Lists open ports.
hostname - Mandatory Gets the hostname.
dir Various options Mandatory Lists files and folders in the specified folder.
tasklist Various options Mandatory Lists all running tasks.
echo Various options Mandatory Prints strings in the output.
del Various options Mandatory Deletes the XML file containing the old binding information.
powershell

Add-PSSnapin Microsoft.Exchange.Management.PowerShell.E2010; Get-ExchangeServer -status -Identity [entry_point.host_name]| export-clixml $env:TEMP\exchange_pwrshell_output.xml

And

"Add-PSSnapin Microsoft.Exchange.Management.PowerShell.Admin; Get-ExchangeServer -status -Identity [entry_point.host_name] | export-clixml $env:TEMP\exchange_pwrshell_output.xml
Optional This command is used only if you do not use TCP connections.

Gives the CAS status, server roles, and Exchange setup structure.

Caution: Do not use the dollar sign ($) in credentials for Exchange Hub Transport Server, because Service Mapping uses the dollar sign for pattern variables in the powershell command.
findstr Various options Mandatory Extracts strings from the output.
find Various options Mandatory Finds specific strings in files and folders.
Table 63. Microsoft Internet Information Services (IIS) (on Windows)
Command Parameter Mandatory/Optional Description
appcmd.exe Various options Optional This command is used only for IIS version 7 and later.

Retrieves information about the specified application name.

Table 64. Microsoft Internet Information Services (IIS) Virtual Directory (on Windows)
Command Parameter Mandatory/Optional Description
appcmd.exe Various options Optional This command is used only for IIS version 7 and later.

Retrieves information about the specified application name.

iisapp.vbs Various options Optional This command is used only for IIS version 6.

Retrieves information about the specified application name.

dir Various options Mandatory Lists files and folders in the specified folder.
findstr Various options Mandatory Extracts strings from the output.
find Various options Mandatory Finds specific strings in files and folders.
netstat Various options Mandatory Lists open ports.
Table 65. Microsoft .NET commands (on Windows)
Command Parameter Mandatory/Optional Description
ildasm.exe

text that contains process exe path

Mandatory This file is necessary for performing the put file operation on the ILDisassembler alias. This file disassembles strings from the command .exe file.
.findstr Various options Mandatory Gets the strings from the output.
dir Various options Mandatory Lists all files in the specified folder.
connection_strings_browser.exe [encrypted_configs[*].Name] Optional: This command is used only for creating database encrypted connections.

This file is necessary for performing the put file operation on theConnectionStringsBrowser alias.

Decrypts the database connections.
Table 66. Microsoft Exchange Mailbox (on Windows)
Command Parameter Mandatory/Optional Description
netstat Various options Mandatory Lists open ports.
hostname - Mandatory Gets the hostname.
dir Various options Mandatory Lists files and folders in the specified folder.
tasklist Various options Mandatory Lists all running tasks.
del Various options Mandatory Deletes the XML file containing old binding information.
echo Various options Mandatory Prints strings in the output.
powershell

Add-PSSnapin Microsoft.Exchange.Management.PowerShell.Admin; Get-ExchangeServer -status -Identity [entry_point.host_name]| export-clixml $env:TEMP\exchange_pwrshell_output.xml

And

Add-PSSnapin Microsoft.Exchange.Management.PowerShell.Admin; Get-ExchangeServer -status | export-clixml $env:TEMP\exchange_pwrshell_output.xml

Add-PSSnapin Microsoft.Exchange.Management.PowerShell.E2010; Get-ExchangeServer -status -Identity [entry_point.host_name]| export-clixml $env:TEMP\exchange_pwrshell_output.xml

And

Add-PSSnapin Microsoft.Exchange.Management.PowerShell.Admin; Get-ClusteredMailBoxServerStatus | format-table -Property OperationalMachines

And

Add-PSSnapin Microsoft.Exchange.Management.PowerShell.Admin; Get-ExchangeServer | format-table -autosize -HideTableHeaders Name,Fqdn,IsHubTransportServer

Add-PSSnapin Microsoft.Exchange.Management.PowerShell.E2010; Get-ExchangeServer | format-table -autosize -HideTableHeaders Name,Fqdn,IsHubTransportServer

And

Add-PSSnapin Microsoft.Exchange.Management.PowerShell.Admin; Get-StorageGroup -server [hostname] | select SystemFolderPath | Export-Csv out.csv -notype;cat out.csv

And

Add-PSSnapin Microsoft.Exchange.Management.PowerShell.Admin; Get-StorageGroup | select SystemFolderPath | Export-Csv out.csv -notype;cat out.csv

And

Add-PSSnapin Microsoft.Exchange.Management.PowerShell.E2010; Get-MailboxDatabase | select LogFolderPath | format-table -autosize -hideTableHeaders; Get-MailboxDatabase | select EdbFilePath| format-table -autosize -hideTableHeaders;Get-MailboxDatabase | select TemporaryDataFolderPath| format-table -autosize -hideTableHeaders
Optional This command is used only if you do not use TCP connections.

Gets the status, server roles, and the setup structure of Exchange Mailbox.

Caution: Do not use the dollar sign ($) in credentials for Exchange Mailbox, because Service Mapping uses the dollar sign for pattern variables in the powershell command.
find Various options Optional This command is used only if PowerShell is not operational.

Finds specific strings in the files and folders.

findstr Various options Mandatory Extracts strings from the output.
Table 67. Microsoft SharePoint (on Windows)
Command Parameter Mandatory/Optional Description
hostname - Mandatory Gets the hostname.
Table 68. Microsoft SQL Database (on Windows)
Command Parameter Mandatory/Optional Description
findstr Various options Mandatory Extracts strings from the output.
hostname - Mandatory Gets the hostname.
findstr Various options Mandatory Extracts strings from the output.
sqlcmd

-Stcp:[computer_system.primaryMan[entry_point.database] -U [username] -P [password] -y 0 -h-1 -Q"select nvcname+'###'+inboundtransporturl FROM adm_ReceiveLocation rl, bts_receiveport rp where rl.receiveportid=rp.nid”

and

-Stcp:[computer_system.primaryMan[entry_point.database] -U [username] -P [password] -y 0 -h-1 -Q" select nID,nvcName,nApplicationID from bts_receiveport”

and

-Stcp:[computer_system.primaryMan[entry_point.database] -U [username] -P [password] -y 0 -h-1 -Q" select nID,nvcName,nApplicationID from bts_sendport”

and

-Stcp:[computer_system.primaryMan[entry_point.database] -U [username] -P [password] -y 0 -h-1 -Q" select nOrcPortID,nReceivePortID,nSendPortid from bts_orchestration_port_binding”

and

- Stcp:[computer_system.primaryMan[entry_point.database] -U [username] -P [password] -y 0 -h-1 -Q"select nID,nOrchestrationID from bts_orchestration_port”

and

- Stcp:[computer_system.primaryMan[entry_point.database] -U [username] -P [password] -y 0 -h-1 -Q"select nID,nvcFullName from bts_orchestration”

and

- Stcp:[computer_system.primaryMan[entry_point.database] -U [username] -P [password] -y 0 -h-1 -Q" select ah.Name+'###'+bo.nvcNamespace+'.'+bo.nvcName+'###'+ase.Name from bts_orchestration bo, adm_Host ah,adm_server ase,adm_Server2HostMapping ash where bo.nAdminHostID = ah.ID and ase.ID = ash.ServerID and ah.ID = ash.HostID”

and

- Stcp:[computer_system.primaryMan[entry_point.database] -U [username] -P [password] -y 0 -h-1 -Q" select nID,nSendPortID,nvcAddress from bts_sendport_transport”
Optional This command is used only to discover Microsoft BizTalk.

Gets the BizTalk information from the database.

Table 69. Microsoft Message Queuing (MSMQ) (on Windows)
Command Parameter Mandatory/Optional Description
findstr Various options Mandatory Extracts strings from the output.
netstat Various options Mandatory Lists open ports.
Table 70. Microsoft SQL Database (on Windows)
Command Parameter Mandatory/Optional Description
findstr Various options Mandatory Extracts strings from the output.
netstat Various options Mandatory Lists open ports.
sqlservr.exe Optional Gets the version of the database from the executable file.
Table 71. MySQL Server (on Windows and Linux)
Command Parameter Mandatory/Optional Description
findstr Various options Mandatory (On Windows only) Extracts strings from the output.
netstat Various options Mandatory Lists open ports.
ps --pid=[process.pid] --no-headers -o " %U : %p : %a” Optional Gets the userid parameter value.
mysqld-nt/mysqld/mysqld.exe -V Mandatory Gets the version.
mysql

--user=[username] --password=[password] --port=[jdbc_port] --skip-column-names --silent --execute="SHOW ENGINE NDB STATUS;;”

and

--user=[username] --password=[password] --port=[jdbc_port] --skip-column-names --silent --execute="SHOW SLAVE STATUS;;”

and

--user=[username] --password=[password] --port=[jdbc_port] --skip-column-names --silent --execute="select host from information_schema.processlist where command like '%%binlog%%';;”
Optional This command is used only to create cluster node connections, master replications, and slaves.

Gets the deployment structure of the MySQL server.

which mysql Optional This command is used only to create cluster node connections, master replications, and slaves.

Gets the full path of MySQL cluster nodes.

Table 72. MySQL Cluster MGM Node (on Linux or Windows)
Command Parameter Mandatory/Optional Description
netstat Various options Mandatory Lists open ports.
ndb_mgmd

-V

and

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

Ignores special characters.

Table 74. Oracle E-Business Suite (on Unix or Windows)
Command Parameter Mandatory/Optional Description
dir Various options Mandatory (On Windows only) Lists files and folders in the specified folder.
findstr Various options Mandatory (On Windows only) Extracts strings from the output.
find Various options Mandatory (For Windows only) Finds specific strings in files and folders.
export - Mandatory (For Unix only) Sets variables.
echo Various options Mandatory Prints strings in the output.
sqlplus Various options Mandatory Creates the connection to the Oracle instance.
awk Various options Mandatory (For Unix only) Manipulates the output.
netstat Various options Mandatory (For Windows only) Gets open ports.
Table 75. Oracle Advanced Queue Queue (on Unix or Windows)
Command Parameter Mandatory/Optional Description
export - Mandatory (On Unix only) Sets a variable.
echo Various options Mandatory Prints strings in the output.
sqlplus Various options Mandatory Creates connection to the Oracle instance.
set - Optional (On Windows only) Sets a variable.
netstat Various options Mandatory (On Windows only) Lists open ports.
Table 76. Oracle Concurrent Server (on Unix or Windows)
Command Parameter Mandatory/Optional Description
findstr Various options Mandatory (For Windows only) Extracts strings from the output.
dir Various options Mandatory (For Windows only) Lists files and folders in the specified folder.
netstat Various options Mandatory (For Windows only) Lists open ports.
awk Various options Mandatory (For Unix only) Manipulates the output.
find Various options Mandatory (For Windows only) Finds specific strings in files and folders.
Table 77. Oracle Discoverer Engine (on Windows)
Command Parameter Mandatory/Optional Description
dir Various options Mandatory Lists files and folders in the specified folder.
findstr Various options Mandatory Extracts strings from the output.
find Various options Mandatory Finds specific strings in files and folders.
Table 78. Oracle Discoverer UI (on Windows)
Command Parameter Mandatory/Optional Description
dir Various options Mandatory Lists files and folders in the specified folder.
findstr Various options Mandatory Extracts strings from the output.
find Various options Mandatory Finds specific strings in files and folders.
Table 79. Oracle Form UI (on Windows)
Command Parameter Mandatory/Optional Description
dir Various options Mandatory Lists files and folders in the specified folder.
findstr Various options Mandatory Extracts strings from the output.
find Various options Mandatory Finds specific strings in files and folders.
Table 80. Oracle Fulfillment Server (on Windows)
Command Parameter Mandatory/Optional Description
dir Various options Mandatory Lists files and folders in the specified folder.
findstr Various options Mandatory Extracts strings from the output.
find Various options Mandatory Finds specific strings in files and folders.
Table 81. Oracle HTTP Server (on Windows)
Command Parameter Mandatory/Optional Description
dir Various options Mandatory Lists files and folders in the specified folder.
findstr Various options Mandatory Extracts strings from the output.
find Various options Mandatory Finds specific strings in files and folders.
Table 82. Oracle Metric Client (on Windows)
Command Parameter Mandatory/Optional Description
dir Various options Mandatory Lists files and folders in the specified folder.
findstr Various options Mandatory Extracts strings from the output.
find Various options Mandatory Finds specific strings in files and folders.
Table 83. Oracle OACORE Server (on Windows)
Command Parameter Mandatory/Optional Description
findstr Various options Mandatory Extracts strings from the output.
dir Various options Mandatory Lists files and folders in the specified folder.
find Various options Mandatory Finds specified strings in the file and folders.
Table 84. Oracle OAFM Server (on Windows)
Command Parameter Mandatory/Optional Description
findstr Various options Mandatory Extracts strings from the output.
dir Various options Mandatory Lists files and folders in the specified folder.
find Various options Mandatory Finds specified strings in the file and folders.
Table 85. Oracle Database (on Unix)
Command Parameter Mandatory/Optional Description
export - Mandatory Sets the variable.
sqlplus -s [username]/[password]@[entry_point.instance] Optional This command is used only for getting the advanced queue information.

Gets the Oracle version and information about advance queue.

echo

-e set head off feed off pages 0 line 3000\\n\"select NAME || '##' || QUEUE_TABLE || '##' || QID || '##' || QUEUE_TYPE || '##' || RETENTION from DBA_QUEUES where OWNER = UPPER([entry_point.scheme]);

and

set head off feed off pages 0 line 3000\\n\"select NAME || '##' || QUEUE_TABLE || '##' || QID || '##' || QUEUE_TYPE || '##' || RETENTION from DBA_QUEUES where OWNER = UPPER([entry_point.scheme]);

and

select member as NEEBULA from v\$logfile;

and

select value as NEEBULA from v\$parameter where name='log_archive_dest'

and

select file_name as NEEBULA from dba_data_files;

and

select DB_LINK,HOST from DBA_DB_LINKS
Optional This command is used only for getting the advance queue information.

Gets the information about advance queue, storage devices, and database links.

lsnrctl

version

And

services
Optional This command is used only for discovering the real application cluster (RAC) version.

Gets the RAC version.

Table 86. Oracle Database (on Windows)
Command Parameter Mandatory/Optional Description
set - Mandatory Sets the variable.
sqlplus -s [username]/[password]@[entry_point.instance] Optional This command is used only for getting the advance queue information.

Gets the Oracle version and information about advance queue.

echo

-e set head off feed off pages 0 line 3000\\n\"select NAME || '##' || QUEUE_TABLE || '##' || QID || '##' || QUEUE_TYPE || '##' || RETENTION from DBA_QUEUES where OWNER = UPPER([entry_point.scheme]);

and

set head off feed off pages 0 line 3000\\n\"select NAME || '##' || QUEUE_TABLE || '##' || QID || '##' || QUEUE_TYPE || '##' || RETENTION from DBA_QUEUES where OWNER = UPPER([entry_point.scheme]);

and

select member as NEEBULA from v\$logfile;

and

select value as NEEBULA from v\$parameter where name='log_archive_dest'

and

select file_name as NEEBULA from dba_data_files;

and

select DB_LINK,HOST from DBA_DB_LINKS
Optional This command is used only for getting the advance queue information.

Gets the information about advance queue, storage devices, and database links.

lsnrctl

version

And

services
Optional This command is used only for discovering the real application cluster (RAC) version.

Gets the RAC version.

netstat Various options Mandatory Lists open ports.
Table 87. Oracle iAS Web Module (on Windows)
Command Parameter Mandatory/Optional Description
findstr Various options Mandatory Extracts strings from the output.
dir Various options Mandatory Lists files and folders in the specified folder.
find Various options Optional This command is used only to create the Web Services connections.

Finds specified strings in the file and folders.

netstat Various options Mandatory Lists open ports.
Table 88. Oracle Net Listener (on Unix)
Command Parameter Mandatory/Optional Description
lsnrctl

version

and

status

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

status res -t

and

config service -d
Mandatory Gets the services status and configuration.
Table 89. Oracle Process Manager (on Windows)
Command Parameter Mandatory/Optional Description
findstr Various options Mandatory Extracts strings from the output.
dir Various options Mandatory Lists files and folders in the specified folder.
find Various options Mandatory Finds specified strings in the file and folders.
Table 90. Oracle Report Server (on Windows)
Command Parameter Mandatory/Optional Description
findstr Various options Mandatory Extracts strings from the output.
dir Various options Mandatory Lists files and folders in the specified folder.
find Various options Mandatory Finds specified strings in the file and folders.
Table 91. Oracle Tnslsnr Engine (on Windows)
Command Parameter Mandatory/Optional Description
dir Various options Mandatory Lists files and folders in the specified folder.
findstr Various options Mandatory Extracts strings from the output.
find Various options Mandatory Finds specific strings in files and folders.
Table 92. Oracle WebLogic Module (on Windows)
Command Parameter Mandatory/Optional Description
dir Various options Mandatory Lists files and folders in the specified folder.
findstr Various options Mandatory Extracts strings from the output.
find Various options Mandatory Finds specific strings in files and folders.
Table 93. Oracle WebLogic Server (version 10.3) (on Windows)
Command Parameter Mandatory/Optional Description
dir Various options Mandatory Lists files and folders in the specified folder.
findstr Various options Mandatory Extracts strings from the output.
find Various options Mandatory Finds specific strings in files and folders.
Table 94. Oracle WebLogic On-demand Router Load Balancer (on Unix or Windows)
Command Parameter Mandatory/Optional Description
dir Various options Mandatory (On Windows only) Lists files and folders in the specified folder.
findstr Various options Mandatory (On Windows only) Extracts strings from the output.
find Various options Mandatory (For Windows only) Finds specific strings in files and folders.
versionInfo.sh - Optional Gets the Websphere Application Server version.

Table 95. Oracle Tuxedo (on Unix or Windows)
Command Parameter Mandatory/Optional Description
findstr Various Mandatory (For Windows only) Extracts strings from the output
dir Various Mandatory (For Windows only) Lists all existing files in the given folder.
find Various Mandatory (For Windows only) Finds specific strings in files and folders.
find -name Optional

This command is used only to create web service connections.

Finds files and folders for specific name.
tmadmin -v Mandatory Gets the Tuxedo version.
netstat Various Mandatory Gets open ports.

Table 96. Oracle Tuxedo Portal (on Unix or Windows)
Command Parameter Mandatory/Optional Description
findstr Various Mandatory (For Windows only) Extracts strings from the output
dir Various Mandatory (For Windows only) Lists all existing files in the given folder.
find Various Mandatory (For Windows only) Finds specific strings in files and folders.
find -name Optional

This command is used only to create web service connections.

Finds files and folders for specific name.
Table 97. PostgreSQL Database (on Unix and Windows)
Command Parameter Mandatory/Optional Description
postgres -v Mandatory Gets the version.
findstr Various options Mandatory (For Windows only) Extracts strings from the output.
dir Various options Mandatory (For Windows only) Lists files and folders in the specified folder.
Table 98. SAP BO BOXI ScheduleRouter (on Windows)
Command Parameter Mandatory/Optional Description
findstr Various options Mandatory (For Windows only) Extracts strings from the output.
type - Mandatory
tnsping instance Optional This command is used to create connections to Oracle.
Table 99. SAP Business Objects CMS Server (on Windows)
Command Parameter Mandatory/Optional Description
findstr Various options Mandatory (For Windows only) Extracts strings from the output.
dir Various options Mandatory Lists files and folders in the specified folder.
tnsping instance Optional This command is used to create connections to Oracle.

Gets the version.

Table 100. SAP Central Instance (on Unix or Windows)
Command Parameter Mandatory/Optional Description
dir Various options Mandatory (For Windows only) Lists files and folders in the specified folder.
disp + work -V Optional Gets the version.
ping -n 1 Mandatory (For Windows only) Verifies that the host is answering.
netstat Various options Mandatory Lists open ports.
Table 101. SAP NetWeaver Dialog Instance (on Unix or Windows)
Command Parameter Mandatory/Optional Description
dir Various options Mandatory (For Windows only) Lists files and folders in the specified folder.
disp + work -V Optional Gets the version.
ping -c 1 Mandatory (For Unix only) Verifies that the host is answering.
ping -n 1 Mandatory (For Windows only) Verifies that the host is answering.
netstat Various options Mandatory Lists open ports.
Table 102. SAP Evaluated Receipt Settlement (ERS) (on Unix or Windows)
Command Parameter Mandatory/Optional Description
dir Various options Mandatory (For Windows only) Lists files and folders in the specified folder.
disp + work -V Optional Gets the version.
ping -n 1 Mandatory (For Windows only) Verifies that the host is answering.
netstat Various options Mandatory Lists open ports.
Table 103. SAP HANA Database (on Unix or Windows)
Command Parameter Mandatory/Optional Description
hdbsql -v Optional Gets the version.
Table 104. SAP Java Cluster (on Unix or Windows)
Command Parameter Mandatory/Optional Description
dir Various options Mandatory (For Windows only) Lists files and folders in the specified folder.
jlaunch -V Optional Gets the version.
ping -n 1 Mandatory (For Windows only) Verifies that the host is answering.
netstat Various options Mandatory Lists the open ports.
Table 105. SAP Central Services (SCS) (on Unix or Windows)
Command Parameter Mandatory/Optional Description
dir Various options Mandatory (For Windows only) Lists files and folders in the specified folder.
msg_server -V Optional Gets the version.
ping -n 1 Mandatory (For Windows only) Verifies that the host is answering.
netstat Various options Mandatory Lists the open ports.
Table 106. SQL Server Analysis Services (SSAS) (on Windows)
Command Parameter Mandatory/Optional Description
MsMdSrv.exe -n Mandatory Gets the instance name.
netstat Various options Mandatory Lists the open ports.
Table 107. SQL Server Integration Services (SSIS) Job (on Windows)
Command Parameter Mandatory/Optional Description
MsMdSrv.exe -n Mandatory Gets the instance name.
dir Various options Mandatory Lists files and folders in the specified folder.
findstr Various options Mandatory Extracts strings from the output.
find Various options Mandatory Finds specified strings in the file and folders.
sqlcmd -Stcp:[computer_system.primaryManagementIP],[port] -y 0 -h-1 -E -Q"select convert(varchar(max), convert(varbinary(max),packagedata))from msdb.dbo.sysssispackages where name = '[name]' -o [tmp_dir]/[name].xml Optional This command is used only for discovering jobs.
Table 108. SQL Server Integration Services (SSIS) (on Windows)
Command Parameter Mandatory/Optional Description
dir Various options Mandatory Lists files and folders in the specified folder.
findstr Various options Mandatory Extracts strings from the output.
find Various options Mandatory Finds specified strings in the file and folders.
sqlcmd

-Stcp:[computer_system.primaryManagementIP],[$port] -h-1 -E -Q"SELECT [name] + '###DB' FROM msdb.dbo.sysssispackages"

and

-Stcp:[computer_system.primaryManagementIP],[$port] -h-1 -E -Q"ELECT [name] + '###JOB' FROM msdb.dbo.sysjobs"
Optional This command is used only if you need to discover jobs.
Table 109. Sun Directory (on Solaris)
Command Parameter Mandatory/Optional Description
slapd-dirserv -D [instance] -v Mandatory Gets the version.
netstat Various options Mandatory Lists the open ports.
Table 110. Sun JES (on Solaris)
Command Parameter Mandatory/Optional Description
configutil - Mandatory Gets the JES configuration.
Table 111. Sybase (on Unix or Windows)
Command Parameter Mandatory/Optional Description
dataserverv -v Mandatory Gets the version.
dir Various options Mandatory (For Windows only) Lists files and folders in the specified folder.
Table 112. Symantec Enterprise Vault (on Windows)
Command Parameter Mandatory/Optional Description
findstr Various options Mandatory Extracts strings from the output.
netstat Various options Mandatory Lists open ports.
ping -n 1[ip] Mandatory Verifies that the SQL server is running.
Table 113. Tibco EMS Queue (on Unix or Windows)
Command Parameter Mandatory/Optional Description
rm -f /tmp/ems.cmd Mandatory Prepares the EMS script.
tibemsadmin -server tcp://+[computer_system.primaryManagementIP]:[port] -user [username] -password [password] -script [script] Mandatory Connects to the EMS administrator and gets the list of EMS Queue consumers.
echo Various options Mandatory Prints strings in the output.
Table 114. Tibco Enterprise Message Service (EMS) (on Unix and Windows)
Command Parameter Mandatory/Optional Description
rm -f /tmp/ems.cmd Mandatory Prepares the EMS script.
tibemsadmin -server tcp://+[computer_system.primaryManagementIP]:[port] -user [username] -password [password] -script [script] Mandatory Connects to the EMS administrator and gets the list of EMS Queue consumers.
echo Various options Mandatory (On Windows only) Prints strings in the output.
Table 115. Tibco ActiveMatrix BusinessWorks (on Unix or Windows)
Command Parameter Mandatory/Optional Description
TibcoFilesParser.ksh - Mandatory (For Unix only) This file is necessary for performing the put file operation. It replaces all tags in Tibco configuration files and puts them under the /tmp folder.
hostname - Mandatory Gets the hostname.
cd - Mandatory (On Unix only) Changes directory.
chmod - Mandatory (On Unix only) Changes file permissions.
for Various options Mandatory (On Unix only) Runs loops.
echo Various options Mandatory (On Unix only) Prints strings in the output.
if Various options Mandatory (On Unix only) Starts a condition.
wc -l Mandatory (On Unix only) Counts the output lines.
dir Various options Mandatory (On Windows only) Lists files and folders in the specified folder.
findstr Various options Mandatory (On Windows only) Extracts strings from the output.
netstat Various options Mandatory Lists open ports.
Table 116. Tibco ActiveMatrix BusinessWorks Process (on Unix or Windows)
Command Parameter Mandatory/Optional Description
hostname - Mandatory Gets the hostname.
cd - Mandatory (On Unix only) Changes directory.
chmod - Mandatory (On Unix only) Changes file permissions.
for Various options Mandatory (On Unix only) Runs loops.
echo Various options Mandatory (On Unix only) Prints strings in the output.
if Various options Mandatory (On Unix only) Starts a condition.
wc -l Mandatory (On Unix only) Counts the output lines.
dir Various options Mandatory (On Windows only) Lists files and folders in the specified folder.
findstr Various options Mandatory (On Windows only) Extracts strings from the output.
netstat Various options Mandatory Lists open ports.
cut Various options Mandatory (On Unix only) Splits the output line.