Lennart Poettering
f4bab1690e
coredump: coredumpctl is so useful now, make it a first-class citizen
...
Drop the "systemd-" prefix, renaming it from "systemd-coredumpctl" to
"coredumpctl".
2014-06-19 13:46:01 +02:00
Dan Kilman
a163b64c4b
bash completion: fix __get_startable_units
2014-04-13 11:39:43 -04:00
Thomas Hindoe Paaboel Andersen
5ba85788ab
bash completion: add -i/--image to nspawn
2014-04-11 00:49:05 +02:00
Kay Sievers
51e430a5b0
bash_completion: busctl - add support for --user mode
2014-04-04 08:24:22 -04:00
Thomas Hindoe Paaboel Andersen
085ebc1b22
bash completion: Add -r/--recursive to systemctl
2014-04-03 22:54:41 +02:00
Lennart Poettering
0088d63151
systemctl: --kill-mode is long long gone, don't mention it in the man page
2014-03-25 00:31:48 +01:00
Thomas Hindoe Paaboel Andersen
761a7c71b6
systemd-run: extend bash completion
...
--system
-H --host
-M --machine
--service-type (options: simple forking oneshot dbus notify idle)
--uid
--gid
--nice
--setenv
-p --property (options read from bus_append_unit_property_assignment)
2014-03-17 22:02:21 +01:00
Thomas Hindoe Paaboel Andersen
207017017d
add bash completion for systemd-cat
2014-03-04 23:17:07 +01:00
Thomas Hindoe Paaboel Andersen
3bfe58cbd4
add bash completion for systemd-detect-virt
2014-03-03 22:18:37 +01:00
Thomas Hindoe Paaboel Andersen
64ae7f1864
update bash completion for systemd-analyze
2014-03-03 22:18:32 +01:00
Thomas Hindoe Paaboel Andersen
d9256bac4d
add bash completion for systemd-cgtop
2014-03-02 23:07:35 +01:00
Thomas Hindoe Paaboel Andersen
abdab4f602
add bash completion for systemd-cgls
2014-03-01 23:10:38 +01:00
Thomas Andersen
0d6883b6a8
bash: add completion for systemd-nspawn
2014-03-01 03:30:41 +01:00
Lennart Poettering
538b08707a
build-sys: add missing makefile symlinks
2014-02-26 02:19:28 +01:00
Thomas Hindoe Paaboel Andersen
95fe27d930
bootctl: add bash completion
2014-02-20 23:13:11 +01:00
Thomas Hindoe Paaboel Andersen
17d47d8d2d
busctl: add --no-legend and use in bash completion
2014-02-19 17:35:35 +01:00
Thomas Hindoe Paaboel Andersen
8ec76163ff
busctl: update bash completion
2014-02-19 17:12:17 +01:00
Thomas Hindoe Paaboel Andersen
0bc8e31b35
delta: add bash completion
2014-02-18 22:34:59 +01:00
Thomas Hindoe Paaboel Andersen
e56056e93d
machinectl: add bash completion
2014-02-18 21:14:30 +01:00
Zbigniew Jędrzejewski-Szmek
627a98d398
shell-completion: fix completion of localectl set-locale
...
https://bugs.freedesktop.org/show_bug.cgi?id=74157
2014-02-06 12:01:39 -05: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
Lukas Nykryn
f89a4474e0
shell-completion: remove load from systemctl
2014-01-15 15:31:07 +01:00
Lennart Poettering
b68b76897a
Revert "completion: don't offer completions for journalctl -b"
...
This reverts commit c756a6d57c
.
2013-12-26 01:53:07 +01:00
Dave Reisner
c756a6d57c
completion: don't offer completions for journalctl -b
...
Since this is a shortopt with an optional argument, assume the user
knows what they're doing. The longopts --boot and --this-boot will
continue to offer boot IDs as completions.
2013-12-25 12:58:37 -05:00
Zbigniew Jędrzejewski-Szmek
841aa8c0b4
loginctl,shell-completions: fix listing of sessions/users/seats
2013-12-21 18:35:27 -05:00
Zbigniew Jędrzejewski-Szmek
86cb0691b7
shell-completion: busctl
2013-12-05 21:33:08 -05:00
Zbigniew Jędrzejewski-Szmek
6da49b8b2f
shell-completion: systemctl cat
...
Also update -H help string to follow the binaries.
2013-11-30 22:36:08 -05:00
Zbigniew Jędrzejewski-Szmek
7524c3cf44
bash-completion: journalctl --file
2013-11-15 22:54:51 -05:00
Dave Reisner
d181115929
shell: add list-timers to systemctl completions
2013-11-11 11:04:06 -05:00
Tom Gundersen
0b99c9f8f0
udev: builtin - rename net_link to net_setup_link
...
Also add shell completions.
2013-10-29 14:17:57 +01:00
Zbigniew Jędrzejewski-Szmek
f11880744c
journalctl: add --list-boots to show boot IDs and times
...
Suggested by David Wilkins <dwilkins@maths.tcd.ie> in
https://bugzilla.redhat.com/show_bug.cgi?id=967521 :
> [Specific boot ID is a] bit of a palaver to obtain. I consulted the
> verbose dump of the journal to discover the _BOOT_ID for the
> timestamp, and then generated the journal dump for that boot using
> journalctl _BOOT_ID=foo -o short-monotonic.
2013-10-28 23:43:57 -04: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
Dave Reisner
d808ca6414
completion/systemctl: add missing list-sockets verb
2013-09-20 14:48:43 -04:00
Zbigniew Jędrzejewski-Szmek
64eed40c07
bash-completion: add systemd-run
2013-09-12 19:36:27 -04:00
Zbigniew Jędrzejewski-Szmek
fe05567c31
shell-completions: systemd-analyze set-log-level
2013-08-28 08:04:56 -04:00
Zbigniew Jędrzejewski-Szmek
631c922c68
shell-completion: tell bash about --state
2013-08-12 12:04:49 -04:00
Dave Reisner
b5b7ea7503
bash-completion: simplify udevadm completion
...
The AA is unnecessary and only adds needless complexity. Replace it
with a case statement instead of repeatedly calling __contains_word to
overglorify string equalities.
2013-07-30 13:04:46 -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
e861b62154
simplify bash completion for kernel-install
2013-07-30 09:46:06 +02:00
Kay Sievers
819da59577
shell-completion: add kernel-install
2013-07-26 02:40:09 +02:00
Jan Janssen
a331b5e6d4
journalctl: Add support for showing messages from a previous boot
...
Hi,
I redid the boot ID look up to use enumerate_unique.
This is quite fast if the cache is warm but painfully slow if
it isn't. It has a slight chance of returning the wrong order if
realtime clock jumps around.
This one has to do n searches for every boot ID there is plus
a sort, so it depends heavily on cache hotness. This is in contrast
to the other way of look-up through filtering by a MESSAGE_ID,
which only needs about 1 seek + whatever amount of relative IDs
you want to walk.
I also have a linked-list + (in-place) mergesort version of this
patch, which has pretty much the same runtime. But since this one
is using libc sorting and armortized allocation, I prefer this
one.
To summarize: The MESSAGE_ID way is a *lot* faster but can be
incomplete due to rotation, while the enumerate+sort will find
every boot ID out there but will be painfully slow for large
journals and cold caches.
You choose :P
Jan
2013-07-16 17:38:12 +02:00
Kay Sievers
9d7d42bc40
udev: add builtin 'keyboard' to manage key mappings
2013-07-10 22:52:55 +02:00
Daniel Albers
98a6e132b5
journalctl,loginctl,systemctl,systemd-cgls: add -l as alias for --full
...
https://bugs.freedesktop.org/show_bug.cgi?id=65850
2013-06-17 10:33:34 -04:00
Zbigniew Jędrzejewski-Szmek
3f3a438f58
journalctl: add --system/--user flags
...
--user basically gives messages from your own systemd --user services.
--system basically gives messages from PID 1, kernel, and --system
services. Those two options are not exahustive, because a priviledged
user might be able to see messages from other users, and they will not
be shown with either or both of those flags.
2013-06-10 10:10:06 -04:00
Václav Pavlín
99504dd4c1
systemctl: add commands set-default and get-default
...
systemctl set-default NAME links the default.target to the given unit,
get-default prints out the path to the currently set default target.
2013-05-30 20:44:41 -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
Zbigniew Jędrzejewski-Szmek
afba41995d
systemctl: show reverse dependencies or before/after ordering
...
Also update completion scripts a bit.
2013-04-24 00:25:04 -04:00
Harald Hoyer
bf83067c1d
shell-completion: add shell completion for "systemctl help"
2013-04-22 11:39:19 +02:00
Zbigniew Jędrzejewski-Szmek
90cf049bfe
shell-completion: use -a to see "empty" properties
2013-04-17 10:53:18 -04:00