From Fedora Project Wiki
(cgtop)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
= introduction =
= introduction =
= quickstart, cheat sheet =
= quickstart, cheat sheet =
= for users =
= systemd for users =
== theory of operation ==
== theory of operation ==
* initial system setup, manager loop
* initial system setup, manager loop
* units
* units
** types
** their types
** dependencies
*** ordering
*** requirement
* jobs
* jobs
** types, transactions, installed jobs
** types, transactions, installed jobs
* dependencies
** ordering
** requirement
* cgroups
* cgroups
* socket activation


== usage, detailed ==
== usage, detailed ==
* everything about systemctl
* everything about systemctl
* overriding units, .include
* overriding units, .include, exact symlink targets (non-)issue
* systemd-cgls
* systemd-delta
* systemd-cgls, systemd-cgtop
* systemd-analyze
* systemd-analyze
* separately? journalctl, loginctl, systemd-nspawn


== diagnosing problems ==
== diagnosing problems ==
Line 28: Line 29:
* startup, shutdown
* startup, shutdown


= for developers =
= systemd for developers =
== writing units ==
== writing units ==
* organization of manpages: systemd.unit, systemd.exec, systemd.service, ...
* organization of manpages: systemd.unit, systemd.exec, systemd.service, ...
* good practices, note some bad ones
* systemd-tmpfiles, ...


== patching daemons ==
== patching daemons ==
Line 36: Line 39:
* sd_notify()
* sd_notify()
* sd_listen_fds()
* sd_listen_fds()
* password agent
= the journal =
* what it is, how it works
* journalctl
= logind =
* what it is, how it works
* loginctl
= systemd-nspawn =
* example usage

Latest revision as of 12:31, 16 May 2012

introduction

quickstart, cheat sheet

systemd for users

theory of operation

  • initial system setup, manager loop
  • units
    • their types
    • dependencies
      • ordering
      • requirement
  • jobs
    • types, transactions, installed jobs
  • cgroups
  • socket activation

usage, detailed

  • everything about systemctl
  • overriding units, .include, exact symlink targets (non-)issue
  • systemd-delta
  • systemd-cgls, systemd-cgtop
  • systemd-analyze

diagnosing problems

  • common issues
  • increasing verbosity
  • log targets
  • early shell
  • kbrequest
  • startup, shutdown

systemd for developers

writing units

  • organization of manpages: systemd.unit, systemd.exec, systemd.service, ...
  • good practices, note some bad ones
  • systemd-tmpfiles, ...

patching daemons

  • racy fork+exit
  • sd_notify()
  • sd_listen_fds()
  • password agent

the journal

  • what it is, how it works
  • journalctl

logind

  • what it is, how it works
  • loginctl

systemd-nspawn

  • example usage