Useful Commands/System Status

From Fundamental Ramen
< Useful Commands
Revision as of 03:56, 22 July 2026 by Tacoball (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
Purpose Command
Get Ubuntu version
lsb_release -a
Cet CPU usage by core.
vmstat -P 1     # FreeBSD
mpstat -P ALL 1 # Linux
Get info of SNMP v3 with encryption
snmpwalk -v 3 -l authPriv -u ${USERNAME} \
   -a SHA -A ${PASSWORD} \ # hash
   -x AES -X random123 \   # cipher
   ${HOST} \
   ${OID}

OID Query

Get info of SNMP v2
snmpwalk -v2c -cpublic 192.168.93.172 system