service
The <service> inspectors provide access to all services configured on supported operating systems. Using an inspector for which there is no service results in an error referring to a nonexistent object.
- Q: relay service
- E: Singular expression refers to nonexistent object.
To avoid errors, check if the service exists before trying to use its inspector.
- Q: exists relay service
- A: False
Version | Platforms |
---|---|
8.0.584.0 | AIX, HP-UX, Red Hat, SUSE, Solaris, Windows |
8.1.535.0 | Debian, Ubuntu |
9.5.13.130 | Raspbian |
Creation
Returns a service object for the main gathering service, typically located on the main server.Note: On a Macintosh, returns <nothing>. Included for compatibility.
Version | Platforms |
---|---|
8.0.584.0 | AIX, HP-UX, Red Hat, SUSE, Solaris, Windows |
8.1.535.0 | Debian, Ubuntu |
9.5.13.130 | Raspbian |
Returns the running service object matching the name provided. The service name must be passed between double quotes (e.g. "BESClient"). On Debian, Raspbian, Ubuntu, AIX, HP-UX and Solaris, the inspector only works for BigFix services. The BigFix service names are: BESClient, BESExplorer, BESFillDB, BESGatherDB, BESPluginPortal, BESRelay, BESRootServer, BESWebReportsServer and BESWebUI.
Version | Platforms |
---|---|
8.0.584.0 | AIX, HP-UX, Red Hat, SUSE, Solaris, Windows |
8.1.535.0 | Debian, Ubuntu |
9.5.13.130 | Raspbian |
Returns the service object matching the name provided, regardless of its running state.On a Macintosh, returns a <dummy> type. The service name must be passed between double quotes (e.g. "BESClient"). On Debian, Raspbian, Ubuntu, AIX, HP-UX and Solaris, the inspector only works for BigFix services. The BigFix service names are: BESClient, BESExplorer, BESFillDB, BESGatherDB, BESPluginPortal, BESRelay, BESRootServer, BESWebReportsServer and BESWebUI.
Version | Platforms |
---|---|
8.0.584.0 | AIX, HP-UX, Red Hat, SUSE, Solaris, Windows |
8.1.535.0 | Debian, Ubuntu |
9.5.13.130 | Raspbian |
Properties
Returns the file object that corresponds to the executable of the specified <service>.
Note: On Debian, Raspbian, Ubuntu, AIX and Solaris, this inspector only works for BigFix services.
Example running the QnA on a Windows computer.
- Q: file of service "BESRootServer"
- A: "BESRootServer.exe" "99.99.5.878" "Server component of BigFix" "99.99.5.878" "HCL Technologies Limited"
Example running the QnA on a Linux computer.
- Q: file of service "BESClient"
- A: /opt/BESClient/bin/BESClient
Version | Platforms |
---|---|
8.0.584.0 | Windows |
11.0.5.0 | Red Hat, SUSE |
Returns the full file system path to the executable image associated with the specified <service>.
Note: On Debian, Raspbian, Ubuntu, AIX and Solaris, this inspector only works for BigFix services.
Example running the QnA on a Windows computer.
- Q: image path of service "BESRootServer"
- A: "C:\Program Files (x86)\BigFix Enterprise\BES Server\BESRootServer.exe"
Example running the QnA on a Linux computer.
- Q: image path of service "BESClient"
- A: /opt/BESClient/bin/BESClient
Version | Platforms |
---|---|
8.0.584.0 | Windows |
11.0.5.0 | Red Hat, SUSE |
The service name must be passed between double quotes (e.g. "BESClient"). On Debian, Raspbian, Ubuntu, AIX, HP-UX and Solaris, the inspector only works for BigFix services. The BigFix service names are: BESClient, BESExplorer, BESFillDB, BESGatherDB, BESPluginPortal, BESRelay, BESRootServer, BESWebReportsServer and BESWebUI.
Version | Platforms |
---|---|
8.2.1078.0 | AIX, Debian, HP-UX, Red Hat, SUSE, Solaris, Ubuntu, Windows |
9.5.13.130 | Raspbian |
Returns a string that represents the service startup configuration. It describes when the driver is loaded, which can be one of:boot: started by OS loader (usually these are needed to launch the OS).system: started during OS initialization (used by PnP drivers that do device detection after the loader is finished).auto: started by the Service Control Manager (SCM).demand: started on demand, either by PnP manager when a device is enumerated or by the SCM in response to user demand.disabled: can't be started (used to temporarily disable driver services).
Version | Platforms |
---|---|
8.0.584.0 | Windows |
Returns one of Continuing, Pausing, Paused, Running, Starting, Stopping, Stopped, Unknown. The service name must be passed between double quotes (e.g. "BESClient"). On Debian, Raspbian, Ubuntu, AIX, HP-UX and Solaris, the inspector only works for BigFix services. The BigFix service names are: BESClient, BESExplorer, BESFillDB, BESGatherDB, BESPluginPortal, BESRelay, BESRootServer, BESWebReportsServer and BESWebUI.
Version | Platforms |
---|---|
8.0.584.0 | AIX, HP-UX, Red Hat, SUSE, Solaris, Windows |
8.1.535.0 | Debian, Ubuntu |
9.5.13.130 | Raspbian |
This inspector takes the specified service property and retrieves its version (file version). The service name must be passed between double quotes (e.g. "BESClient"). On Debian, Raspbian, Ubuntu, AIX, HP-UX and Solaris, the inspector only works for BigFix services. The BigFix service names are: BESClient, BESExplorer, BESFillDB, BESGatherDB, BESPluginPortal, BESRelay, BESRootServer, BESWebReportsServer and BESWebUI.
Version | Platforms |
---|---|
8.0.584.0 | AIX, HP-UX, Red Hat, SUSE, Solaris, Windows |
8.1.535.0 | Debian, Ubuntu |
9.5.13.130 | Raspbian |