• [^] # Re: troll velu avec systemd

    Posté par . En réponse au journal Sur systemd, btrfs & co. Évalué à 7.

    systemctl status wpa_supplicant
    journalctl --unit wpa_supplicant
    journalctl --unit wpa_supplicant -xn
    journalctl /usr/bin/foo

    man journalctl

    Aussi, tous les outils de systemd proposent la complétion. Ainsi, je suis tombé sur cette liste d'options :

    max-laptop% journalctl --unit wpa_supplicant -
    Completing option
    --after-cursor —Start showing entries from after the specified cursor
    --all -a —Show all fields, including long and unprintable

    --boot -b —Show data only from the specified boot or offset

    --catalog -x —Show explanatory texts with each log line

    --cursor -c —Start showing entries from the specified cursor

    --directory -D —Show journal files from directory

    --disk-usage —Show total disk usage

    --dmesg -k —Show only kernel messages from the current boot

    --dump-catalog —Dump messages in catalog

    --field -F —List all values a certain field takes

    --file —Operate on specified journal files

    --follow -f —Follow journal

    --force —Force recreation of the FSS keys

    --full -l —Show long fields in full

    --header —Show journal header information

    --help -h —Show this help

    --interval —Time interval for changing the FSS sealing key

    --lines -n —Number of journal entries to show

    --list-boots —List boots ordered by time

    --list-catalog —List messages in catalog

    --merge -m —Show entries from all available journals

    --new-id128 —Generate a new 128 Bit ID

    --no-pager —Do not pipe output into a pager

    --no-tail —Show all lines, even in follow mode

    --output -o —Change journal output mode

    --pager-end -e —Jump to the end of the journal in the pager

    --priority -p —Show only messages within the specified priority rang
    --quiet -q —Don't show privilege warning

    --reverse -r —Reverse output

    --root —Operate on catalog hierarchy under specified director
    --setup-keys —Generate a new FSS key pair

    --since —Start showing entries on or newer than the specified
    --system —Show system and kernel messages

    -u —Show data only from the specified unit

    --until —Stop showing entries on or older than the specified d
    --update-catalog —Update binary catalog database

    --user —Show messages from user services

    --user-unit —Show data only from the specified user session unit

    --verify —Verify journal file consistency

    --verify-key —Specify FSS verification key

    --version —Show package version

    "Quand certains râlent contre systemd, d'autres s'attaquent aux vrais problèmes." (merci Sinma !)