summaryrefslogtreecommitdiff
path: root/man/systemd-analyze.xml
Commit message (Collapse)AuthorAgeFilesLines
* man: drop unused <authorgroup> tags from man sourcesZbigniew Jędrzejewski-Szmek2018-06-141-15/+0
| | | | | | | | | | | | Docbook styles required those to be present, even though the templates that we use did not show those names anywhere. But something changed semi-recently (I would suspect docbook templates, but there was only a minor version bump in recent years, and the changelog does not suggest anything related), and builds now work without those entries. Let's drop this dead weight. Tested with F26-F29, debian unstable. $ perl -i -0pe 's/\s*<authorgroup>.*<.authorgroup>//gms' man/*xml
* tree-wide: remove Lennart's copyright linesLennart Poettering2018-06-141-2/+0
| | | | | | | | | | | These lines are generally out-of-date, incomplete and unnecessary. With SPDX and git repository much more accurate and fine grained information about licensing and authorship is available, hence let's drop the per-file copyright notice. Of course, removing copyright lines of others is problematic, hence this commit only removes my own lines and leaves all others untouched. It might be nicer if sooner or later those could go away too, making git the only and accurate source of authorship information.
* tree-wide: drop 'This file is part of systemd' blurbLennart Poettering2018-06-141-3/+0
| | | | | | | | | | | | | | | | This part of the copyright blurb stems from the GPL use recommendations: https://www.gnu.org/licenses/gpl-howto.en.html The concept appears to originate in times where version control was per file, instead of per tree, and was a way to glue the files together. Ultimately, we nowadays don't live in that world anymore, and this information is entirely useless anyway, as people are very welcome to copy these files into any projects they like, and they shouldn't have to change bits that are part of our copyright header for that. hence, let's just get rid of this old cruft, and shorten our codebase a bit.
* doc: more spelling fixesMichael Biebl2018-06-121-1/+1
|
* Merge pull request #8824 from keszybz/analyze-show-configLennart Poettering2018-05-101-0/+41
|\ | | | | systemd-analyze show-config
| * analyze: allow full paths for cat-configZbigniew Jędrzejewski-Szmek2018-05-071-2/+6
| | | | | | | | | | | | | | | | | | $ systemd-analyze cat-config systemd/logind.conf $ systemd-analyze cat-config /etc/systemd/logind.conf $ systemd-analyze cat-config /usr/lib/systemd/logind.conf are all equvalent, $ systemd-analyze cat-config /var/systemd/logind.conf is an error.
| * analyze: add --root option for cat-configZbigniew Jędrzejewski-Szmek2018-04-271-0/+7
| |
| * analyze: add 'cat-config' verbZbigniew Jędrzejewski-Szmek2018-04-271-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is used as 'systemd-analyze show-config systemd/logind.conf', which will dump /etc/systemd/system/user@.service /etc/systemd/system/user@.service.d/*.conf /run/systemd/system/user@.service.d/*.conf /usr/local/lib/systemd/system/user@.service.d/*.conf /usr/lib/systemd/system/user@.service.d/*.conf The idea is to make it easy to dump the configuration using the same locations and order that systemd programs use themselves (including masking, in the right order, etc.). This is the generic variant that works with any configuration scheme that follows the same general rules: $ systemd-analyze cat-config systemd/system.conf $ systemd-analyze cat-config systemd/user.conf $ systemd-analyze cat-config systemd/logind.conf $ systemd-analyze cat-config systemd/sleep.conf $ systemd-analyze cat-config systemd/journald.conf $ systemd-analyze cat-config systemd/journal-remote.conf $ systemd-analyze cat-config systemd/journal-upload.conf $ systemd-analyze cat-config systemd/coredump.conf $ systemd-analyze cat-config systemd/resolved.conf $ systemd-analyze cat-config systemd/timesyncd.conf $ systemd-analyze cat-config udev/udev.conf
* | man: updated systemd-analyze blame description for service-units with ↵Mikhail Kasimov2018-04-271-1/+5
|/ | | | | Type=simple (#8834) Fixes #5121.
* tree-wide: drop license boilerplateZbigniew Jędrzejewski-Szmek2018-04-061-13/+0
| | | | | | | | | | Files which are installed as-is (any .service and other unit files, .conf files, .policy files, etc), are left as is. My assumption is that SPDX identifiers are not yet that well known, so it's better to retain the extended header to avoid any doubt. I also kept any copyright lines. We can probably remove them, but it'd nice to obtain explicit acks from all involved authors before doing that.
* analyze: add unit-paths verbZbigniew Jędrzejewski-Szmek2018-02-091-0/+17
|
* analyze: add --global optionZbigniew Jędrzejewski-Szmek2018-02-081-3/+10
| | | | This is somewhat useful for 'verify', and will be used later with 'unit-paths'.
* man: fix awkward sentence in systemd-analyze(8)Zbigniew Jędrzejewski-Szmek2018-02-021-3/+2
| | | | Closes #8070.
* analyze: merge {get,set}-log-{level,target} to log-{level,target} (#8020)Yu Watanabe2018-01-271-31/+16
| | | | Also, service-watchdogs now shows current watchdog state when no optional argument is provided.
* systemd-analyze: add service-watchdogs verbJan Klötzke2018-01-221-2/+16
| | | | | | New debug verb that enables or disables the service runtime watchdogs and emergency actions during runtime. This is the systemd-analyze version of the systemd.service_watchdogs command line option.
* analyze: add new "calendar" commandLennart Poettering2017-11-201-0/+12
| | | | | | | This little new command can parse, validate, normalize calendar events, and calculate when they will elapse next. This should be useful for anyone writing calendar events and who'd like to validate the expression before running them as timer units.
* Add SPDX license identifiers to man pagesZbigniew Jędrzejewski-Szmek2017-11-191-0/+2
|
* analyze-verify: add --generators switch to enable generators againZbigniew Jędrzejewski-Szmek2017-09-191-1/+11
|
* analyze: add get-log-level, get-log-target verbsLucas Werkmeister2017-09-071-0/+16
| | | | | | | They’re counterparts to the existing set-log-level and set-log-target verbs, simply printing the current value to stdout. This makes it slightly easier to temporarily change the log level and/or target and then restore the old value(s).
* man: fix systemd-analyze plot commands (#6761)John Lin2017-09-071-2/+2
|
* man: fix typos (#5109)Jakub Wilk2017-01-191-1/+1
|
* man: two trivial formatting fixesZbigniew Jędrzejewski-Szmek2016-12-111-1/+1
|
* man: use unicode ellipsis in more placesZbigniew Jędrzejewski-Szmek2016-12-111-3/+3
| | | | | | | | | | | | | | As requested in https://github.com/systemd/systemd/pull/4864#pullrequestreview-12372557. docbook will substitute triple dots for the ellipsis in man output, so this has no effect on the troff output, only on HTML, making it infinitesimally nicer. In some places we show output from programs, which use dots, and those places should not be changed. In some tables, the alignment would change if dots were changed to the ellipsis which is only one character. Since docbook replaces the ellipsis automatically, we should leave those be. This patch changes all other places.
* analyze: add syscall-filter verbZbigniew Jędrzejewski-Szmek2016-11-031-0/+11
| | | | | This should make it easier for users to understand what each filter means as the list of syscalls is updated in subsequent systemd versions.
* analyze-verify: honour $SYSTEMD_UNIT_PATH, allow system paths to be ignoredZbigniew Jędrzejewski-Szmek2016-10-011-8/+9
| | | | | | | | | SYSTEMD_UNIT_PATH=foobar: systemd-analyze verify barbar/unit.service will load units from barbar/, foobar/, /etc/systemd/system/, etc. SYSTEMD_UNIT_PATH= systemd-analyze verify barbar/unit.service will load units only from barbar/, which is useful e.g. when testing systemd's own units on a system with an older version of systemd installed.
* core: remove support for RequiresOverridable= and RequisiteOverridable=Lennart Poettering2015-11-121-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | As discussed at systemd.conf 2015 and on also raised on the ML: http://lists.freedesktop.org/archives/systemd-devel/2015-November/034880.html This removes the two XyzOverridable= unit dependencies, that were basically never used, and do not enhance user experience in any way. Most folks looking for the functionality this provides probably opt for the "ignore-dependencies" job mode, and that's probably a good idea. Hence, let's simplify systemd's dependency engine and remove these two dependency types (and their inverses). The unit file parser and the dbus property parser will now redirect the settings/properties to result in an equivalent non-overridable dependency. In the case of the unit file parser we generate a warning, to inform the user. The dbus properties for this unit type stay available on the unit objects, but they are now hidden from usual introspection and will always return the empty list when queried. This should provide enough compatibility for the few unit files that actually ever made use of this.
* doc: correct punctuation and improve typography in documentationJan Engelhardt2015-11-061-1/+1
|
* man: add "systemd-analyze set-log-target" to synopsis tooLennart Poettering2015-10-061-0/+6
| | | | It's already documented in prose, now add it to the synopsis too.
* man: LEVEL in systemd-analyze set-log level is not optionalLukas Nykryn2015-10-051-1/+1
| | | | rhbz#1268336
* analyze: add new set-log-target subcommandLennart Poettering2015-09-301-0/+7
| | | | | We already have the property writable, hence let's add a command to set it.
* man: revert dynamic paths for split-usr setupsTom Gundersen2015-06-181-4/+1
| | | | | | | | | | | | | | | | | | | | | | | This did not really work out as we had hoped. Trying to do this upstream introduced several problems that probably makes it better suited as a downstream patch after all. At any rate, it is not releaseable in the current state, so we at least need to revert this before the release. * by adjusting the path to binaries, but not do the same thing to the search path we end up with inconsistent man-pages. Adjusting the search path too would be quite messy, and it is not at all obvious that this is worth the effort, but at any rate it would have to be done before we could ship this. * this means that distributed man-pages does not make sense as they depend on config options, and for better or worse we are still distributing man pages, so that is something that definitely needs sorting out before we could ship with this patch. * we have long held that split-usr is only minimally supported in order to boot, and something we hope will eventually go away. So before we start adding even more magic/effort in order to make this work nicely, we should probably question if it makes sense at all.
* man: generate configured paths in manpagesFilipe Brandenburger2015-05-281-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In particular, use /lib/systemd instead of /usr/lib/systemd in distributions like Debian which still have not adopted a /usr merge setup. Use XML entities from man/custom-entities.ent to replace configured paths while doing XSLT processing of the original XML files. There was precedent of some files (such as systemd.generator.xml) which were already using this approach. This addresses most of the (manual) fixes from this patch: http://anonscm.debian.org/cgit/pkg-systemd/systemd.git/tree/debian/patches/Fix-paths-in-man-pages.patch?h=experimental-220 The idea of using generic XML entities was presented here: http://lists.freedesktop.org/archives/systemd-devel/2015-May/032240.html This patch solves almost all the issues, with the exception of: - Path to /bin/mount and /bin/umount. - Generic statements about preference of /lib over /etc. These will be handled separately by follow up patches. Tested: - With default configure settings, ran "make install" to two separate directories and compared the output to confirm they matched exactly. - Used a set of configure flags including $CONFFLAGS from Debian: http://anonscm.debian.org/cgit/pkg-systemd/systemd.git/tree/debian/rules Installed the tree and confirmed the paths use /lib/systemd instead of /usr/lib/systemd and that no other unexpected differences exist. - Confirmed that `make distcheck` still passes.
* man: fix a bunch of linksZbigniew Jędrzejewski-Szmek2015-03-131-2/+2
| | | | All hail linkchecker!
* analyze: change behaviour of combined --to/from--patternZbigniew Jędrzejewski-Szmek2015-02-161-7/+16
| | | | | | | | We would require a match against all three: patterns specified with --to, with --from, and as positional arguments to show an edge. This does not seem useful. Let instead the positional args behave like they were specified in both --to and --from, which is fairly intuitive and should be more useful.
* Reindent man pages to 2chZbigniew Jędrzejewski-Szmek2015-02-031-335/+307
|
* doc: fix stale references to systemd-verifyDave Reisner2015-01-081-2/+2
| | | | This was subsumed into systemd-analyze back in 142c4ecaa98.
* man: merge systemd-verify with systemd-analyzeZbigniew Jędrzejewski-Szmek2014-07-211-15/+107
|
* man: xinclude --host/--machineZbigniew Jędrzejewski-Szmek2014-02-201-22/+3
| | | | As usual, those common options are pushed to the end.
* man: xinclude --help/--version/--no-pagerZbigniew Jędrzejewski-Szmek2014-02-201-15/+3
|
* man: use xinclude to de-deduplicate common textZbigniew Jędrzejewski-Szmek2014-02-121-22/+3
| | | | | I only tested with python-lxml. I'm not sure if xml.etree should be deprecated.
* pager: support SYSTEMD_LESS environment variableJason A. Donenfeld2014-02-121-0/+4
| | | | | | This allows customization of the arguments used by less. The main motivation is that some folks might not like having --no-init on every invocation of less.
* man: improvements to comma placementJan Engelhardt2013-12-251-1/+1
| | | | | This is a recurring submission and includes corrections to: comma placement.
* man: wording and grammar updatesJan Engelhardt2013-11-071-2/+2
| | | | | This is a recurring submission and includes corrections to various issue spotted: comma setting, missing words/preposition choice.
* analyze: port over to use bus_open_transport()Lennart Poettering2013-11-061-0/+30
|
* man: wording and grammar updatesJan Engelhardt2013-09-121-2/+2
| | | | | | | | | | | | This is a recurring submission and includes corrections to various issue spotted. I guess I can just skip over reporting ubiquitous comma placement fixes… Highligts in this particular commit: - the "unsigned" type qualifier is completed to form a full type "unsigned int" - alphabetic -> lexicographic (that way we automatically define how numbers get sorted)
* man: typoZbigniew Jędrzejewski-Szmek2013-08-221-1/+1
| | | | ohsix> ooh theres a typo in the example
* systemctl: move set-log-level to systemd-analyzeLennart Poettering2013-07-261-2/+18
| | | | | | "systemctl set-log-level" is a command for analysis and tracing hence "systemd-analyze" should be the better home for it, thus allowing us to make the overly large "systemctl" a bit smaller.
* systemctl: move "dump" command from systemctl to systemd-analyzeLennart Poettering2013-07-261-1/+38
| | | | | | | | | | It's an analysis command and its format is explicitly not covered by any stability guarantees, hence move away from systemctl and into systemd-analyze, minimizing the already large interface of systemctl a bit. This patch also adds auto-paging to the various systemd-analyze commands where that makes sense
* man: improve grammar and word formatting in numerous man pagesJason St. John2013-07-021-11/+11
| | | | | | | | | | Use proper grammar, word usage, adjective hyphenation, commas, capitalization, spelling, etc. To improve readability, some run-on sentences or sentence fragments were revised. [zj: remove the space from 'file name', 'host name', and 'time zone'.]
* man: always supply quotes around literalsZbigniew Jędrzejewski-Szmek2013-06-261-1/+1
| | | | | | | | When manpages are displayed on a terminal, <literal>s are indistinguishable from surrounding text. Add quotes everywhere, remove duplicate quotes, and tweak a few lists for consistent formatting. https://bugzilla.redhat.com/show_bug.cgi?id=874631