Useful System Commands

Help and Info~3 minView script

Read-only commands to look at the Proxmox host: version, kernel, uptime, memory, web UI status, recent log lines, who's logged in, and a couple of audit / summary tools. None of them modifies the system.

What this is

The same numbered list ProxMenux shows when you choose Useful System Commands. Use the Copy button to grab any command, or look it up to remember the exact flag.

System Information

CommandDescriptionAction
pveversionShow Proxmox version
pveversion -vDetailed Proxmox version info
hostnamectlSystem hostname and kernel info
uname -aKernel and architecture info
cat /etc/os-releaseOS release details

System Status

CommandDescriptionAction
uptimeSystem uptime
uptime -pPretty uptime format
free -hRAM and swap usage
who -bLast system boot time
last -x | grep shutdownPrevious shutdowns

Service Management

CommandDescriptionAction
systemctl status pveproxyCheck Proxmox Web UI status
systemctl restart pveproxyRestart Web UI proxy
journalctl -xeSystem errors and logs
dmesg -T | tail -n 50Last 50 kernel log lines

User Information

CommandDescriptionAction
whoamiCurrent user
idCurrent user UID, GID and groups
whoLogged-in users
wUser activity and uptime
uptime && wUptime and who is logged in
cut -d: -f1,3,4 /etc/passwdAll users with UID and GID
getent passwd | column -t -s :Readable user table (UID, shell, etc.)

Auditing & Summary Tools

CommandDescriptionAction
lynis audit systemRun a full system security audit
fastfetchDisplay system summary in ASCII format

Related