mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-19 19:40:37 +02:00
add rootfs size to stats
This commit is contained in:
parent
dbdd4e7506
commit
3988097cff
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ echo -e "\e[1mArchboot Environment Stats:\e[m"
|
|||
echo "Bootup speed (seconds): $(systemd-analyze | rg -o '= (.*)s' -r '$1') |\
|
||||
Packages: $(pacman -Q | wc -l) |\
|
||||
Available Memory (M): $(rg -o 'Ava.* (.*)[0-9]{3} k' -r '$1' </proc/meminfo) |\
|
||||
Rootfs Size (M): $(du -sh / 2>"${_NO_LOG}" | rg -o '(.*)M /' -r '$1')"
|
||||
Rootfs Size (M): $(du -sh / 2>"${_NO_LOG}" | rg -o '(.*)M' -r '$1')"
|
||||
_run_test "journal"
|
||||
if ! journalctl -p3 -xb | rg -q 'No entries'; then
|
||||
journalctl -p3 -xb >>journal-error.txt
|
||||
|
|
Loading…
Reference in a new issue