View and Manage Services

Cockpit administrators can use the Services page to monitor and manage the services running on the host system. For example:
  • includes properties for activating, deactivating, restarting, or managing the automatic start-up setting at boot.
  • provides filters that help you find the service you want to change.
  • The names of the services appear in an easy-to-read table format. Each row displays the service name, description, state, and automatic start-up behavior.
  • The tabs at the top of the Services page enable you to switch the view between Services, Targets, Sockets, Timers, and Paths.
The Services page has the following components:
  • [Properties] for activating, deactivating, or restarting services, or managing the automatic start-up setting at boot.
  • Filters help you find the service you want to view or change.
  • The names of the services appear in an easy-to-read table format. Each row displays the service name, description, state, and automatic start-up behavior.
  • Tabs at the top of the Services page correspond to a selection of systemd units. You can view a list of Services, Targets, Sockets, Timers, and Paths.

Note:

Cockpit uses systemd to manage host service processes.

What Do You Need?

Steps

Using the Cockpit web console, follow these steps to view and manage the behavior of system processes on the host system:

  1. In the Cockpit navigation pane, click Services.
    The Services page appears.
  2. In the Services page, click a tab to display the systemd unit type you want to view.
    For example, Services, Targets, Sockets, Timers, and Paths. A list of processes for that unit type appears in a table format as follows:
    Column Displays
    1 Name of service process.
    2 Description of service process.
    3 Status of service process.
    4 Operating state of service process.
  3. In the selected unit type tab page, perform any of the following operations:
    Operation Instructions
    Filter page output Filter the page output by:
    • User or system processes – Click System or User (at top right side of page).
    • Process name or description – In the text box, enter a process name or process description of interest.
    • Active process state or file process state – Select the state of interest from the Active State drop-down list or File State drop-down list.
    Change the operating state Perform these steps:
    1. In the first column of the table, select a service name of interest.

      The service-name page appears.

    2. Perform the applicable action(s):
      • To activate or deactivate the process, turn on or off the Account Service toggle switch.
      • To start, stop, or reload the process, click the Account Service Additional Actions [] menu.
    View system logs Perform these steps:
    1. In the first column of the table, select the service name of interest.

      The service-name page appears.

    2. Navigate to the Service Logs panel and then click View all logs.

    Create Timer (Timer tab only)

    Perform these steps in the Timer tab:

    1. Click Create timer at the upper right top of the page.

      A Create timer dialog appears.

    2. Configure the required properties.

      For more details about creating systemd timers, see Systemd Timers in Manage System Time and Schedule Tasks on Oracle Linux.