Useful Commands/System Status
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}
|
| Get info of SNMP v2 |
snmpwalk -v2c -cpublic 192.168.93.172 system
|