mirror of
https://github.com/systemd/systemd.git
synced 2026-08-13 17:08:14 +00:00
report: switch to "verbs" command line interface, and add 'describe-metrics'
Let's prepare for a future where the "systemd-report" tool can do more than enumerate metrics: let's introduce our usual "verbs" style interface. Let's also add a second command right-away: "describe-metrics" shows the description of the metrics.
This commit is contained in:
@@ -244,7 +244,7 @@ systemd-run --wait --pipe --user --machine testuser@ \
|
||||
varlinkctl --more call "/run/user/$testuser_uid/systemd/io.systemd.Manager" io.systemd.Unit.List '{}'
|
||||
|
||||
# test report
|
||||
systemd-report
|
||||
systemd-report metrics
|
||||
|
||||
# test io.systemd.Network Metrics
|
||||
varlinkctl info /run/systemd/report/io.systemd.Network
|
||||
|
||||
Reference in New Issue
Block a user