Service Mapping commands not requiring a privileged user
-
- UpdatedJan 30, 2025
- 29 minutes to read
- Yokohama
- Service Mapping
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.
- host detection
- process identification on port
- discovering CIs using patterns
Operating systems
Applications
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. |
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. |
netstat | Various options | (On Windows only) Lists open ports. |
grep | Various options | (On Windows only) Extracts strings from the output. |
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 |
---|---|---|
show cm traffic-group – get | Various options | This command is used to get traffic and clustering information. |
Command | Parameter | Description |
---|---|---|
findstr | Various options | (For Windows only) Extracts strings from the output. |
netstat | Various options | (For Windows only) Lists open ports. |
Command | Parameter | Description |
---|---|---|
tnsping | Various options | Retrieves information about Oracle connections. |
Command | Parameter | Description |
---|---|---|
dir | Various options | Lists files and folders in the specified folder. |
Command | Parameter | Description |
---|---|---|
show | context, running | Shows the requested information. |
include | - | Extracts strings from the output. |
echo | - | Displays strings to the output. |
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. |
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 |
---|---|---|
qfarm | Discovers epic icons. |
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. |
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. |
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 |
---|---|---|
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. |
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. |
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. |
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. |
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. |
Command | Parameter | Description |
---|---|---|
tnsping | Various options | Retrieves information about Oracle connections. |
netstat | Various options | Lists open ports. |
ss | Various options | Lists open ports. |
Command | Parameter | Description |
---|---|---|
netstat | Various options | Lists open ports. |
Command | Parameter | Description |
---|---|---|
netstat | Various options | Lists open ports. |
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) Extracts strings from the output. |
dir | Various options | (For Windows only) Lists files and folders in the specified folder. |
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 |
---|---|---|
netstat | Various options | Gets the DB2 name. |
Command | Parameter | Description |
---|---|---|
versionInfo.sh | - | Gets the Websphere Application Server version. |
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 |
---|---|---|
dspmq | - | Gets the queue manager status. |
dspmqver | - | Gets the queue manager version. |
runmqsc | [queue manager] | Gets the queue information. |
Command | Parameter | Description |
---|---|---|
dspmq | - | Gets the queue manager status. |
dspmqver | - | Gets the queue manager version. |
runmqsc | [queue manager] | Gets the queue information. |
Command | Parameter | Description |
---|---|---|
dspmq | - | Gets the queue manager status. |
dspmqver | - | Gets the queue manager version. |
runmqsc | [queue manager] | Gets the queue information. |
Command | Parameter | Description |
---|---|---|
dir | Various options | Lists files and folders in the specified folder. |
Command | Parameter | Description |
---|---|---|
echo | Various options | Prints strings in 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. |
tasklist | Various options | Lists all running tasks. |
Command | Parameter | Description |
---|---|---|
netstat | Various options | Lists open ports. |
hostname | - | Gets the hostname. |
tasklist | Various options | Lists all running tasks. |
Command | Parameter | Description |
---|---|---|
dir | Various options | Lists files and folders in the specified folder. |
findstr | Various options | Extracts strings from the output. |
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 |
---|---|---|
hostname | - | Gets the hostname. |
Command | Parameter | Description |
---|---|---|
findstr | Various options | Extracts strings from the output. |
netstat | Various options | Lists open ports. |
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. |
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 |
---|---|---|
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 |
---|---|---|
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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 |
---|---|---|
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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 | -v | Gets the version. |
Command | Parameter | Description |
---|---|---|
hdbsql | Various options |
|
Command | Parameter | Description |
---|---|---|
MsMdSrv.exe | -n | Gets the instance name. |
netstat | Various options | Lists the open ports. |
Command | Parameter | Description |
---|---|---|
slapd-dirserv | -D [instance] -v | Gets the version. |
netstat | Various options | Lists the open ports. |
Command | Parameter | Description |
---|---|---|
configutil | - | Gets the JES configuration. |
Command | Parameter | Description |
---|---|---|
dataserverv | -v | Gets the version. |
dir | Various options | (For Windows only) Lists files and folders in the specified folder. |
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. |
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. |
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. |
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. |
On this page
Related Content
- Service Mapping commands requiring a privileged user
Service Mapping uses commands requiring elevated rights to discover and map Unix-based hosts in your organization. In addition to configuring necessary credentials, configure servers in your organization to allow Service Mapping to run these commands with elevated rights.