--- title: Service Mapping commands not requiring a privileged user description: Most of commands utilized by Service Mapping for discovery and mapping do not require elevated rights. locale: en-US canonical_url: https://www.servicenow.com/docs/r/australia/it-operations-management/service-mapping/r\_NonSudoCommands.html release: australia product: Service Mapping classification: service-mapping topic_type: reference last_updated: "2026-03-12" reading_time_minutes: 40 breadcrumb: [Prerequisites for performing top-down discovery, Configuring Service Mapping, Service Mapping, ITOM Visibility, IT Operations Management] --- # 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 ## Operating systems
| Command | Parameter | Description |
|---|---|---|
| `awk` | various options | Parses the string. |
| `istat` | **file\_name** | Gets last modification time of file. |
| `nslookup` | **hostname** | Resolve DNS host name. |
| `ping` | **-c count ip/host** | Pings the host. |
| `arp -an` | various options | Shows ARP table. |
| `grep` | String to search | Finds string in previous command output. |
| `traceroute` | **-n ip\_address** | Shows layer 3 network route to target host. |
| `netstat` | **-an** **-Aan** | Shows open network connections. |
| `ps` | **-eo user, pid, ppid, comm, args** | Gets the process list. |
| `find` | Directory and parameters to search | Searches for files by name or type. |
| Commands | Parameter | Description |
|---|---|---|
| `nslookup` | **hostname** | Resolves the DNS host name. |
| `ping` | **-c count ip** **host** | Pings the host. |
| `arp` | **-an/n** | Shows the ARP table. |
| `lp n` | **-an/n** | Shows the ARP table. |
| `grep` | String to search **-v** **hypervisor** **proc** **cpuinfo** **-i 'attached scsi'** **var** **log** **dmesg** **'SCSI device'** **'Disk** **UUID** | Finds the string in previous command output. |
| `awk` | Various options | Parses the string. |
| `netstat` | **-an** | Shows open network connections. |
| `ss` | **-an** | Shows open network connections. |
| `ps` | **-eo user, pid, ppid, comm, args, wwwx** | Gets the process list. |
| `egrep` | Various options | Searches text in previous command output. |
| `find` | Directory and parameters for search | Searches for files by name or type. |
| `traceroute` | **-n ip\_address** | Shows the layer 3 network route to target host. |
| `df` | **-kP, echo** | Extracts the information about the file system, including the size in KB. |
| `uptime` | Various options | Shows the current time, how long the system has been running, how many users are currently logged on, and the system load averages for the past 1, 5, and 15 minutes. |
| `date` | Various options | Displays the date in the time zone on which Linux operating system is configured. |
| `perl` | **-e 'print time** | Opens the Perl shell and prints time. |
| `command` | **-v vxprint** | This command is used in the Debug mode. |
| `uname` | **-a** **-r** | Displays the information about the system. |
| `ipfconfig` | **-a** | Shows the configuration of the network interface. |
| `ip` | route list **-4 -o addr show** **-6 -o a** **r** String to parse | Displays information about network interface, including the routing table. |
| `route` | **-n** | Shows the IP routing table. |
| `ip r` | Shows the IP routing table. | |
| `sed` | **-n '2!p'** | Executes a function using the SED stream editor. |
| `bash` | **-c** | Executes the command using the UNIX shell or command language. |
| `waagent` | **-version 2>/dev/null** | Displays the information extracted from the Microsoft Azure Linux agent. |
| Command | Parameter | Description |
|---|---|---|
| `get_process_info.exe` | **Process\_id** | Extracts information on the processes using executable created by ServiceNow. |
| `type` | **File\_name** | Shows the text file content. |
| `nslookup` | **Host\_name** | DNS lookup |
| `arp` | **-a** | Shows the ARP table. |
| `netstat` | **-ano** | Shows the network connections. |
| `findstr` | Various options | Finds the string in the previous command output. |
| `dir` | **/q** **/s /b** | Lists files in the directories. |
| `paping` | **--nocolor -c 1 -p** **port\_num** **ip\_address** | Utility to run TCP ping against given host. |
| `ping` | **-n 1** **ip\_address/host** | Pings the host. |
| `tracert` | **Ip\_address** | Shows the layer 3 network route to the target host. |
| Command | Parameter | Description |
|---|---|---|
| `httpd` | **-V** | Gets the version. |
| `cut` | Various options | Splits the output line. |
| `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. |
| `sort` | **-u** | This command is used only for discovering the Weblogic connectivity. Sorts the output. |
| 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. |
| 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. |
| `find` | **-name** | Creates the web services connections. Finds specific strings in files and folders. |
| `version.sh/version.bat` | **-** | Gets the Tomcat version. |
| `java -cp " + $install_directory + "/lib/catalina.jar org.apache.catalina.util.ServerInfo` | **-** | Gets the Tomcat version. |
| `netstat` | Various options | Lists the open ports. |
| `find` | **-name** | This command is used only for creating the web services connections. Finds specific strings in files and folders. |
| `ss` | Various options | \(For Linux only\) Lists the open ports. |
| 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. |
| 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. |
| 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. |
| `find` | Various options | This command is used only to create connections to Control M Server.Finds file and folder paths. |
| `xargs` | **grep <string>** | This command is used only to create connections to IBM CTRL-M Server.Runs the command on all lists from the output. |
| 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. |
| 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. |
| 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. |
| 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. |
| 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. |
| Command | Parameter | Description |
|---|---|---|
| `db2cmd` | **/c /w /i** | Lists the DB2 directories. |
| `db2` | list database directory | Displays the DB2 installation parameters. |
| `find` | Various options | Finds specific strings in files, folders, or standard output. |
| `dir` | Various options | Lists files and folders in the specified folder. |
| `db2level` | **-** | Displays the DB2 version. |
| `echo` | Various options | This command is used only for storage connectivity. Prints the strings in the output. |
| `findstr` | Various options | This command is used only for storage connectivity.Extracts strings from the output. |
| `for` | Various options | This command is used only for storage connectivity. Runs loops. |
| 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. |
| Command | Parameter | Description |
|---|---|---|
| `find` | **-name** **-type** | This command is used only for creating the Web Services connections. Finds files and folders for the specific name. |
| `mqsiprofile` | **-** | Sets the variables for WebSphere Message Broker. |
| `mqsireportbroker` | **\[broker name\]** | Gets the WebSphere Message Broker information. |
| `mqsibrowse` | **\[broker name\] -t BROKERRESOURCES** | Displays the Message Broker information resources. |
| `echo` | **$ODBCINI** | \(On Unix only\) This command is used only to create connections to IBM DB2. Prints strings in the output. |
| Command | Parameter | Description |
|---|---|---|
| `mqsiprofile` | **-** | Sets the variables for WebSphere Message Broker. |
| `mqsireportbroker` | **\[broker name\]** | Gets the WebSphere Message Broker information. |
| `mqsibrowse` | **\[broker name\] -t BROKERRESOURCES** | Displays the Message Broker information resources. |
| `find` | **-name** **-type** | This command is used only for creating the Web Services connections. Finds files and folders for the specific name. |
| `echo` | **$ODBCINI** | This command is used only to create connections to IBM DB2. Prints strings in the output. |
| Command | Parameter | Description |
|---|---|---|
| `netstat` | Various options | Lists open ports. |
| `hostname` | **-** | Gets the hostname. |
| `dir` | Various options | Lists files and folders in the specified folder. |
| `tasklist` | Various options | Lists all running tasks. |
| `del` | Various options | Deletes the XML file containing the old binding information. |
| `echo` | Various options | 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** | This command is used only if you do not use TCP connections.Gets the CAS status, server roles, and Exchange setup structure. **Important:** 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 | This command is used only if PowerShell is not operational.Finds specific strings in the files and folders. |
| `findstr` | Various options | Extracts strings from the output. |
| 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. |
| Command | Parameter | Description |
|---|---|---|
| `netstat` | Various options | Lists open ports. |
| `hostname` | **-** | Gets the hostname. |
| `dir` | Various options | Lists files and folders in the specified folder. |
| `tasklist` | Various options | Lists all running tasks. |
| `echo` | Various options | Prints strings in the output. |
| `del` | Various options | 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** | This command is used only if you do not use TCP connections.Gives the CAS status, server roles, and Exchange setup structure. **Important:** 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 | Extracts strings from the output. |
| `find` | Various options | Finds specific strings in files and folders. |
| 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. |
| 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. |
| `iisapp.vbs` | Various options | This command is used only for IIS version 6.Retrieves information about the specified application name. |
| `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. |
| `netstat` | Various options | Lists open ports. |
| Command | Parameter | Description |
|---|---|---|
| `ildasm.exe` | text that contains process exe path | 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 | Gets the strings from the output. |
| `dir` | Various options | Lists all files in the specified folder. |
| `connection_strings_browser.exe` | **\[encrypted\_configs\[\*\].Name\]** | 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. |
| Command | Parameter | Description |
|---|---|---|
| `netstat` | Various options | Lists open ports. |
| `hostname` | **-** | Gets the hostname. |
| `dir` | Various options | Lists files and folders in the specified folder. |
| `tasklist` | Various options | Lists all running tasks. |
| `del` | Various options | Deletes the XML file containing old binding information. |
| `echo` | Various options | 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** and **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** and **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** | This command is used only if you do not use TCP connections.Gets the status, server roles, and the setup structure of Exchange Mailbox. **Important:** 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 | This command is used only if PowerShell is not operational.Finds specific strings in the files and folders. |
| `findstr` | Various options | Extracts strings from the output. |
| Command | Parameter | Description |
|---|---|---|
| `findstr` | Various options | Extracts strings from the output. |
| `hostname` | **-** | Gets the hostname. |
| `findstr` | Various options | Extracts strings from the output. |
| `sqlcmd` | **-Stcp:\[computer\_system.primaryManagementIP\],\[port\] -d \[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.primaryManagementIP\],\[port\] -d \[entry\_point.database\] -U \[username\] -P '\[password\]' -y 0 -h-1 -Qselect nID,nvcName,nApplicationID from bts\_receiveport** and **-Stcp:\[computer\_system.primaryManagementIP\],\[port\] -d \[entry\_point.database\] -U \[username\] -P '\[password\]' -y 0 -h-1 -Qselect nID,nvcName,nApplicationID from bts\_sendport** and **-Stcp:\[computer\_system.primaryManagementIP\],\[port\] -d \[entry\_point.database\] -U \[username\] -P '\[password\]' -y 0 -h-1 -Qselect nOrcPortID,nReceivePortID,nSendPortid from bts\_orchestration\_port\_binding** and **-Stcp:\[computer\_system.primaryManagementIP\],\[port\] -d \[entry\_point.database\] -U \[username\] -P '\[password\]' -y 0 -h-1 -Qselect nID,nOrchestrationID from bts\_orchestration\_port** and **-Stcp:\[computer\_system.primaryManagementIP\],\[port\] -d \[entry\_point.database\] -U \[username\] -P '\[password\]' -y 0 -h-1 -Qselect nID,nvcFullName from bts\_orchestration** and **-Stcp:\[computer\_system.primaryManagementIP\],\[port\] -d \[entry\_point.database\] -U \[username\] -P '\[password\]' -y 0 -h-1 -Qselect 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.primaryManagementIP\],\[port\] -d \[entry\_point.database\] -U \[username\] -P '\[password\]' -y 0 -h-1 -Qselect nID,nSendPortID,nvcAddress from bts\_sendport\_transport** | This command is used only to discover Microsoft BizTalk.Gets the BizTalk information from the database. |
| 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. |
| Command | Parameter | Description |
|---|---|---|
| `findstr` | Various options | \(On Windows only\) Extracts strings from the output. |
| `netstat` | Various options | Lists open ports. |
| `ss` | Various options | Lists open ports. |
| `ps` | **--pid=\[process.pid\] --no-headers -o " %U : %p : %a”** | Gets the userid parameter value. |
| `mysqld-nt/mysqld/mysqld.exe` | **-V** | 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%%';;”** | This command is used only to create cluster node connections, primary replications, and the secondary.Gets the deployment structure of the MySQL server. |
| `which` | **mysql** | This command is used only to create cluster node connections, primary replications, and the secondary.Gets the full path of MySQL cluster nodes. |
| 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. |
| 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. |
| Command | Parameter | Description |
|---|---|---|
| `export` | **-** | Sets the variable. |
| `sqlplus` | **-s \[username\]/\[password\]@\[entry\_point.instance\]** | 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** | 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** | This command is used only for discovering the real application cluster \(RAC\) version. Gets the RAC version. |
| Command | Parameter | Description |
|---|---|---|
| `set` | **-** | Sets the variable. |
| `sqlplus` | **-s \[username\]/\[password\]@\[entry\_point.instance\]** | 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** | 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** | This command is used only for discovering the real application cluster \(RAC\) version. Gets the RAC version. |
| `netstat` | Various options | Lists open ports. |
| 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 | This command is used only to create the Web Services connections. Finds specified strings in the file and folders. |
| `netstat` | Various options | Lists open ports. |
| 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. |
| Command | Parameter | Description |
|---|---|---|
| `findstr` | Various | \(For Windows only\) Extracts strings from the output |
| `dir` | Various | \(For Windows only\) Lists all existing files in the given folder. |
| `find` | Various | \(For Windows only\) Finds specific strings in files and folders. |
| `find` | **-name** | This command is used only to create web service connections. Finds files and folders for specific name. |
| `tmadmin` | **-v** | Gets the Tuxedo version. |
| `netstat` | Various | Gets open ports. |
| `ss` | Various options | Lists open ports. |
| Command | Parameter | Description |
|---|---|---|
| `findstr` | Various | \(For Windows only\) Extracts strings from the output |
| `dir` | Various | \(For Windows only\) Lists all existing files in the given folder. |
| `find` | Various | \(For Windows only\) Finds specific strings in files and folders. |
| `find` | **-name** | This command is used only to create web service connections. Finds files and folders for specific name. |
| 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. |
| Command | Parameter | Description |
|---|---|---|
| `hdbsql` | Various options | - Gets schemas info - Gets time zone - Gets disk size |
| Command | Parameter | Description |
|---|---|---|
| `MsMdSrv.exe` | **-n** | Gets the instance name. |
| `dir` | Various options | Lists files and folders in the specified folder. |
| `findstr` | Various options | Extracts strings from the output. |
| `find` | Various options | Finds specified strings in the file and folders. |
| `sqlcmd` | **-Stcp:\[computer\_system.primaryManagementIP\],\[port\] -y 0 -h-1 -E -Qselect convert\(varchar\(max\), convert\(varbinary\(max\),packagedata\)\)from msdb.dbo.sysssispackages where name = '\[name\]' -o \[tmp\_dir\]/\[name\].xml** and **-Stcp:\[computer\_system.primaryManagementIP\],\[port\] -y 0 -h-1 -E -Qselect convert\(varchar\(max\), job\_id\)\#\#\#\[command\]@@@ from msdb.dbo.sysjobsteps** and **-Stcp:\[computer\_system.primaryManagementIP\],\[port\] -y 0 -h-1 -E -Qselect \[name\]\#\#\#convert\(varchar\(max\), job\_id\) from msdb.dbo.sysjobs** | This command is used only for discovering jobs. |
| 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 specified strings in the file and folders. |
| `sqlcmd` | **-Stcp:\[computer\_system.primaryManagementIP\],\[port\] -h-1 -E -QSELECT \[name\]\#\#\#DB FROM msdb.dbo.sysssispackages** and **-Stcp:\[computer\_system.managementIP\],\[port\] -h-1 -E -QSELECT \[name\]\#\#\#DB FROM msdb.dbo.sysssispackages** and **-Stcp:\[computer\_system.primaryManagementIP\],\[port\] -h-1 -E -QSELECT \[name\]\#\#\#JOB FROM msdb.dbo.sysjobs** and **-Stcp:\[computer\_system.managementIP\],\[port\] -h-1 -E -Q SELECT \[name\]\#\#\#JOB FROM msdb.dbo.sysjobs** | This command is used only if you need to discover jobs. |