add stats

This commit is contained in:
Tobias Powalowski 2024-07-14 10:43:15 +02:00
parent 9275b723fd
commit 61dbacf753

View file

@ -33,7 +33,7 @@ echo "Waiting for pacman keyring..."
_pacman_keyring
echo -e "\e[1mStats:\e[m Bootup speed: $(systemd-analyze | rg -o '= (.*)' -r '$1')|\
Packages: $(pacman -Q | wc -l) |\
Available Memory: $(rg -o 'Ava.* (.*)[0-9]{3} k' -r '$1M' </proc/meminfo)"
Available Memory: $(rg -o 'Ava.* (.*)[0-9]{3} k' -r '$1 M' </proc/meminfo)"
_run_test "journal"
if ! journalctl -p3 -xb | rg -q 'No entries'; then
journalctl -p3 -xb >>journal-error.txt