Below are some commonly used Linux commands for monitoring system performance and retrieving system information:
top - Displays real-time system summary and process usage.htop - Interactive process viewer (requires installation).mpstat - Displays CPU usage statistics (part of sysstat package).free -h - Shows memory usage in a human-readable format.vmstat - Displays memory, CPU, and I/O statistics.sudo dmidecode -t system | grep Serial - Retrieves the system's serial number.ip addr - Displays IP address and network interface details.ifconfig - Shows network configuration (deprecated, use ip).hostname -I - Displays the system's IP address.df -h - Displays disk space usage in a human-readable format.du -sh * - Shows the size of directories and files in the current directory.uptime - Displays system uptime and load average.dmesg - Prints system boot and kernel messages.iostat - Displays CPU and I/O statistics (part of sysstat package).