So I made a personal cheat sheet for system logs, inxi output, and so forth to keep in my documents folder. Anything else I should add?
CHEAT SHEET
SYSTEM LOGS and USEFUL INXI COMMANDS -
Adding | eos-sendlog
provides a short-url to share in your post. This is helpful for a long terminal output.
Example: inxi -Fxxc0z | eos-sendlog
.
INXI -
HARDWARE/SYSTEM:
inxi -Fxxc0z | eos-sendlog
GRAPHICS:
inxi -Gaz
AUDIO:
inxi -Aaz
DRIVE/DISK INFO:
inxi -daz
SWAP INFO:
inxi -aj
PARTITION INFO:
inxi -paz
NETWORK DEVICES INFO:
inxi -Naz
REPO INFO:
inxi -r
INXI (Just For Fun) -
CURRENT WEATHER:
inxi -aw
COMPLETE SYSTEM/HARDWARE INFO (The Kitchen Sink):
inxi --verbosity 8 -z
LOGS -
BOOT:
journalctl -k -b -0 | eos-sendlog
PACMAN:
cat /var/log/pacman.log | eos-sendlog
PARTITION/FORMAT INFO:
lsblk -o name,type,size,PTTYPE,FSTYPE
SYSTEMD LOGS/ANALYZE:
systemd-analyze blame | eos-sendlog
X11 LOGS:
cat /var/log/Xorg.0.log | eos-sendlog
GENERAL WAYLAND LOGS:
journalctl | grep -i 'wayland' | eos-sendlog
WAYLAND LOGS (for the current boot session):
journalctl -b | grep -i 'wayland' | eos-sendlog
WAYLAND LOGS (KDE Plasma-Specific/SDDM):
journalctl -b -u sddm | grep -i 'wayland'
MIRRORS -
GENERATE YOUR ARCH MIRROR LIST LINK:
cat /etc/pacman.d/mirrorlist | eos-sendlog
GENERATE YOUR ENDEAVOUROS MIRROR LIST LINK:
cat /etc/pacman.d/endeavouros-mirrorlist | eos-sendlog
10 Likes
Maybe systemd-analyze blame
What about X11/Wayland logs?
2 Likes
Good point! I’ll get on it.
1 Like
manuel
April 28, 2025, 9:14pm
4
If you write each command (line by line) into a single file, say ~/log-commands.txt
, then command
$(fzf < ~/log-commands.txt)
will allow you to choose which command to execute. A candidate for an alias?
Edit: function: logs() { $(fzf < ~/log-commands.txt); }
2 Likes
cactux
April 28, 2025, 10:22pm
8
some more inxi commands if you’ll be interested of the info they provide:
inxi -daz
info about the disk(s), and if smartctl is present and the disk supports it, run it with sudo to get info about the disk health
inxi -paz
info about the partitions and their filesystem, mountpoint etc
inxi -Naz
info about the network devices
inxi -r
this will list all the mirrors in all the lists under /etc/pacman.d for the enabled repos in /etc/pacman.conf. Add -a to see the number of the packages installed etc.
inxi -aj
info about swap
inxi --verbosity 8 -z
info about everything you ever wanted to know about your system but never dared to ask
And of course:
inxi -aw
weather report for the location of your IP address
Edit: correction
5 Likes
NICE! Added them.
This one isn’t working for me:
❯ inxi --verbose 8 -z
Error 22: Unsupported option: --verbose
Check -h for correct usage.
1 Like
cactux
April 28, 2025, 10:43pm
10
Sorry, my bad!
It should be: inxi --verbosity 8 -z
1 Like
brainstorming for practical uses. like a mod or smart person (all of you) or wants to help someone.
say a user suspects nvidia is causing problems with either the DM or apps launching. What would you want to see to troublshoot?
let’s say I had typical (it seems) audio problems. pipewire etc. What logs would you want to see?
I can’t mount a usb or external drive, not only that but Endeavour can’t see it.
etc. Looking at it from the other end as I often do.
Also, systemctl
commands to check failed services etc could be in order.
spitballing but not exactly contributing to a concise cheat sheet
1 Like
rich52
April 28, 2025, 11:04pm
14
When’s the book being published? I want to be the first one in line. . . .
Rich
1 Like
Didn’t even know inxi could do repos & weather.
Now I can check if the source of the problem is that it’s raining into my laptop—how cool!
1 Like
cactux
April 28, 2025, 11:13pm
16
Use a VPN and enjoy the sun and the beach in Copacabana
2 Likes
Bookmarked and thank you very much for this!
2 Likes