Carlos Morata Castillo
b4f91f2ba3
Updates in bash autocompletions
...
Hi,
I did ./check-undocumented.sh -b (my script just submitted) and checked
the results.
Cheers.
2015-01-29 00:44:30 -05:00
Zbigniew Jędrzejewski-Szmek
2c12a402cb
shell-completion: systemd-analyze verify, systemctl link
...
Some zsh completion helpers were not installed, so completion
was broken.
Add systemd-analyze verify. Make systemctl link complete only
unit names.
2014-07-21 22:33:51 -04:00
Thomas Hindoe Paaboel Andersen
64ae7f1864
update bash completion for systemd-analyze
2014-03-03 22:18:32 +01:00
Zbigniew Jędrzejewski-Szmek
3ce09b7da2
bash-completion: fix completion of complete verbs
...
When doing 'command verb<TAB>', the arguments for verb would be
proposed, but it is too early. We should complete verb first.
https://bugs.freedesktop.org/show_bug.cgi?id=74596
2014-02-06 00:45:00 -05:00
Zbigniew Jędrzejewski-Szmek
86cb0691b7
shell-completion: busctl
2013-12-05 21:33:08 -05:00
Zbigniew Jędrzejewski-Szmek
299c397c12
shell-completion: dump has moved to systemd-analyze
...
Rename NO_OPTION to STANDALONE for consistency with other files.
2013-10-21 18:53:57 -04:00
Zbigniew Jędrzejewski-Szmek
fe05567c31
shell-completions: systemd-analyze set-log-level
2013-08-28 08:04:56 -04:00
Dave Reisner
a72d698d0d
bash-completion: use a better definition of __contains_word
...
- scope the iterator var
- use the correct, quoted, non-expansion prone positional parameter
notation
- prevent expansion on RHS of comparison
- remove unneeded explicit returns.
This really should be defined only once...
2013-07-30 13:04:46 -04:00
Harald Hoyer
bb150966c0
systemd-analyse: add "critical-chain" command
...
"critical-chain" prints a tree of the critical chain of units
$ ./systemd-analyze critical-chain
graphical.target @1.226s
└─multi-user.target @1.226s
└─nfs-lock.service @961ms +265ms
└─rpcbind.service @958ms +1ms
└─network.target @957ms
└─NetworkManager.service @434ms +522ms
└─basic.target @428ms
└─sockets.target @428ms
└─dbus.socket @428ms
└─sysinit.target @427ms
└─systemd-tmpfiles-setup.service @411ms +15ms
└─local-fs.target @410ms
└─boot-efi.automount @410ms
└─boot.mount @397ms +9ms
└─local-fs-pre.target @192ms
└─systemd-udevd.service @187ms +5ms
└─systemd-udevd-control.socket @140ms
└─-.mount
With the "--fuzz=<ms>" parameter one can display more units around
the critical units.
$ ./systemd-analyze --fuzz=10ms critical-chain
└─multi-user.target @1.226s
└─nfs-lock.service @961ms +265ms
├─rpcbind.service @958ms +1ms
│ └─network.target @957ms
│ └─NetworkManager.service @434ms +522ms
│ ├─basic.target @428ms
│ │ ├─sockets.target @428ms
│ │ │ ├─dbus.socket @428ms
│ │ │ │ └─sysinit.target @427ms
│ │ │ │ ├─systemd-tmpfiles-setup.service @411ms +15ms
│ │ │ │ │ └─local-fs.target @410ms
│ │ │ │ │ └─boot-efi.automount @410ms
│ │ │ │ │ └─boot.mount @397ms +9ms
│ │ │ │ │ └─local-fs-pre.target @192ms
│ │ │ │ │ └─systemd-udevd.service @187ms +5ms
│ │ │ │ │ ├─systemd-udevd-control.socket @140ms
│ │ │ │ │ │ └─-.mount
│ │ │ │ │ └─systemd-udevd-kernel.socket @140ms
│ │ │ │ └─swap.target @421ms
│ │ │ │ └─dev-disk-by\x2duuid-....swap @414ms +6ms
│ │ │ │ └─systemd-journald.socket
│ │ │ ├─rpcbind.socket @428ms
│ │ │ └─cups.socket @428ms
│ │ ├─paths.target @428ms
│ │ │ └─cups.path @428ms
│ │ ├─timers.target @427ms
│ │ │ └─systemd-tmpfiles-clean.timer @427ms
│ │ └─sysinit.target @427ms
│ │ └─...
│ └─dbus.socket @428ms
│ └─...
└─network.target @957ms
└─...
2013-04-26 13:34:22 +02:00
Harald Hoyer
83cb95b530
add bash completion for systemd-analyze
2013-04-24 16:49:33 +02:00