Useful Commands/System Status: Difference between revisions

From Fundamental Ramen
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
{| class="wikitable"
{| class="wikitable"
! Purpose || Command
! 🎯 Purpose || ⌨️ Command
|-
|-
| Get Ubuntu version ||
| Get Ubuntu version ||

Latest revision as of 01:56, 17 September 2026

🎯 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