Log in Sign up
4 Matching Annotations
  1. Nov 2020
  2. bbs.archlinux.org bbs.archlinux.org
    Getting machine-readable process list of a systemd unit / System Administration / Arch Linux Forums
    1
    1. TylerRick 02 Nov 2020
      in Public
      I want the process list of a systemd unit - just like systemctl status $unitname does - but in machine-readable output, to look for specific processes.
      machine-readable format/output systemd
    Visit annotations in context

    Tags

    • systemd
    • machine-readable format/output

    Annotators

    • TylerRick

    URL

    bbs.archlinux.org/viewtopic.php
  3. github.com github.com
    Use DBus instead of CLI output? · Issue #8 · Josef-Friedrich/check_systemd
    1
    1. TylerRick 02 Nov 2020
      in Public
      D-Bus systemd machine-readable format/output
    Visit annotations in context

    Tags

    • D-Bus
    • systemd
    • machine-readable format/output

    Annotators

    • TylerRick

    URL

    github.com/Josef-Friedrich/check_systemd/issues/8
  4. serverfault.com serverfault.com
    How get systemd status in json format?
    2
    1. TylerRick 02 Nov 2020
      in Public
      systemctl show --no-page iptables \ | jq --slurp --raw-input \ 'split("\n") | map(select(. != "") | split("=") | {"key": .[0], "value": (.[1:] | join("="))}) | from_entries'
      jq systemd machine-readable format/output
    2. TylerRick 02 Nov 2020
      in Public
      machine-readable format/output
    Visit annotations in context

    Tags

    • systemd
    • machine-readable format/output
    • jq

    Annotators

    • TylerRick

    URL

    serverfault.com/questions/907857/how-get-systemd-status-in-json-format
Share:
Group. Only group members will be able to view this annotation.
Only me. No one else will be able to view this annotation.
Hypothes.is
  • About
  • Blog
  • Bioscience
  • Education
  • Jobs
  • Help
  • Contact
  • Terms of Service
  • Privacy Policy