systemd · Example Payload

Systemd1 Listunits Example

Sample of one element from the array returned by org.freedesktop.systemd1.Manager.ListUnits.

BootCgroupsContainerD-BusInitIPCJournalLinuxLoggingNetworkOpen SourcePID 1Service ManagerSystemSystemdVarlink

Systemd1 Listunits Example is an example object payload from systemd, with 3 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationdescriptionexample

Example Payload

Raw ↑
{
  "operation": "ListUnits",
  "description": "Sample of one element from the array returned by org.freedesktop.systemd1.Manager.ListUnits.",
  "example": {
    "name": "nginx.service",
    "description": "A high performance web server and a reverse proxy server",
    "load_state": "loaded",
    "active_state": "active",
    "sub_state": "running",
    "follower": null,
    "object_path": "/org/freedesktop/systemd1/unit/nginx_2eservice",
    "job_id": 0,
    "job_type": "",
    "job_object_path": "/"
  }
}