Shawn Kroetsch
unread,Sep 14, 2024, 1:59:46 AM9/14/24Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Glances Users
I'm currently running Glances in a Docker container (ubuntu-latest-full). By default, the Linux distro is displayed along the top in the "system" section as Ubuntu 22.04.
Is there a way to instead show the more detailed "pretty name" of the Linux distro? (i.e. Ubuntu 22.04.4 LTS)
The following command allows me to extract the full Linux distro name from the terminal, but I can't figure out how to accomplish this in Glances:
cat /etc/os-release | grep PRETTY_NAME | cut -d '"' -f 2
I have looked through the glances.conf file already, and found the {linux_distro} key, but wasn't able to modify it to fetch the full version. For the system info details specifically, where does Glances pull these values from, and can a script be modified to allow for the full Linux distro to be presented?