> For the complete documentation index, see [llms.txt](https://devops-3.gitbook.io/devops/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://devops-3.gitbook.io/devops/docs/linux-cheat-sheet/system-information.md).

# System Information

| Command                                      | Description                                     | Example                                                                    |
| -------------------------------------------- | ----------------------------------------------- | -------------------------------------------------------------------------- |
| <mark style="color:red;">**uname -a**</mark> | Display kernel information.                     | uname -a → Outputs detailed system and kernel information.                 |
| <mark style="color:red;">**uptime**</mark>   | Show system uptime.                             | uptime → Displays how long the system has been running.                    |
| <mark style="color:red;">**free -h**</mark>  | Display memory usage in human-readable format.  | free -h → Shows free and used memory with details.                         |
| <mark style="color:red;">**df -h**</mark>    | Show disk space usage in human-readable format. | df -h → Displays available and used disk space on all mounted filesystems. |
| <mark style="color:red;">**hostname**</mark> | Display system hostname.                        | hostname → Outputs the name of the system.                                 |
| <mark style="color:red;">**dmesg**</mark>    | Print system boot messages.                     | dmesg → Shows kernel messages, useful for troubleshooting.                 |
