Getting System Information and Logs

Display Information in Memory

  • free command display information on memory

  • df command for disk free* reports on the available disk space on each of the mounted disks

  • id command displays the identity of the user running the session along with a list of groups they belong to

  • uname -a returns a single line documenting the kernel name (Linux), the hostname, the kernel release, the kernel version, the machine type (an architecture string such as x86_64), and the name of the operating system (GNU/Linux). The output of this command should be included in bug reports as it clearly defines the kernel in use.

Display Kernel Logs

  • dmesg retrieves kernel logs

  • journalctl stores multiple logs from services, syslog, and kernal logs

Last updated