Eclipse Equinox Documentation

Logo

This is the documentation of the Eclipse Equinox Framework.

View the Project on GitHub eclipse-equinox/equinox

Equinox Console Commands

Description

Core OSGi framework management commands

The Equinox Console provides a comprehensive set of commands for managing and inspecting OSGi bundles and the framework. These commands are available in the equinox scope and cover bundle lifecycle management, service inspection, system properties, and diagnostics.

Command Categories

Controlling the OSGi Framework

Controlling Bundles

Displaying Status

Start Level Commands

Eclipse Runtime Commands

Other Commands

Common Abbreviations

Many commands have short aliases for convenience:

Examples

List all installed bundles (short status)

g! ss
Framework is launched.

id	State       Bundle
0	ACTIVE      org.eclipse.osgi_3.21.0
1	ACTIVE      org.eclipse.equinox.console_1.4.800

Start a bundle

g! start 5

Display bundle details

g! bundle 1
org.eclipse.equinox.console_1.4.800 [1]
  Id=1, Status=ACTIVE
  ...

View services with filter

g! services (objectClass=org.osgi.service.*)

Display thread information

g! threads

Set framework start level

g! setfwsl 6

Diagnose bundle problems

g! diag 5

Notes

Related links: