sfdk-emulator-show
Show running emulator status and information
TLDR
View documentation for sfdk emulator set
SYNOPSIS
sfdk-emulator-show [<emulator_id>]
PARAMETERS
<emulator_id>
An optional argument specifying the unique identifier of a particular Sailfish OS emulator. If provided, the command will display detailed information only for that specific emulator. If omitted, it typically lists summary information for all known or running emulators.
DESCRIPTION
The sfdk-emulator-show command is an essential utility within the Sailfish OS SDK (SFDK), a comprehensive toolkit for developing applications targeting the Sailfish OS mobile platform. This command provides developers with a convenient way to inspect and retrieve detailed information about the virtual devices, commonly known as 'emulators,' that are configured and managed by the SDK. Developers extensively use these emulators to test their applications in an environment that closely resembles actual Sailfish OS devices, eliminating the need for physical hardware during initial development and debugging phases.
When invoked without arguments, sfdk-emulator-show typically lists all available emulators, providing key details such as their unique identifiers, the specific Sailfish OS version they emulate, their current operational status (e.g., Running, Stopped), and network connectivity information like IP addresses. When a specific emulator identifier is provided as an argument, the command focuses on displaying more in-depth information for that single emulator. This command is crucial for debugging, verifying the correctness of emulator setups, and ensuring applications perform as expected across various Sailfish OS versions and configurations. It significantly contributes to an efficient development workflow by offering clear insights into the testing environment.
CAVEATS
This command requires the Sailfish OS SDK to be installed and properly configured on the system. Emulator details, particularly network IP addresses, are generally only available for emulators that are currently running. The exact output format and the specific details provided may vary slightly depending on the SFDK version installed.
EMULATOR STATES
The command frequently reports the operational state of an emulator. Common states include Running (the emulator is active and usable), Stopped (the emulator is powered off), Configured (the emulator exists but is not currently running), or Error (indicating a problem with the emulator setup or operation). Understanding these states is crucial for effective troubleshooting and managing your development environment.
NETWORK DETAILS
When an emulator is in the Running state, sfdk-emulator-show typically provides its IP address. This IP address is essential for establishing network connections from the host development machine to the emulator, enabling actions such as secure shell (SSH) access, direct application deployment, or testing network-dependent features of an application.
HISTORY
The functionality provided by sfdk-emulator-show, often integrated as the `sfdk emulator show` subcommand, has been a foundational element of the Sailfish OS SDK since its early stages of development. As Sailfish OS evolved, the SDK consolidated its command-line tools under the unified `sfdk` interface. The ability for developers to easily inspect and manage the status and details of their testing emulators was deemed fundamental for productivity. Consequently, this 'show' functionality has remained a core component, reflecting the SDK's commitment to providing immediate and relevant information for an efficient virtual testing environment.
SEE ALSO
sfdk(1), sfdk-emulator-create(1), sfdk-emulator-start(1), sfdk-emulator-stop(1), sfdk-emulator-list(1)