759 B
759 B
+++ date="2023-02-03" author="spanskiduh" title="system-information" description="click to read about system-information" +++
System information
Basic user enumeration
whoami
hostname
- get username and hostnameid
- get information which group ids current user belongs togroups $USER
- check groupslast
- check users that logged in recently
Cpu, memory
lscpu
- show cpu informationfree -h
- display memory usageuname -p
oruname -m
- show system architectureuname -r
- see a running kernellsb_release -a
orcat /etc/*release
- see running distribution
Another useful tool sysstat
package
iostat
- show current io (disk usage, cpu usage)mpstat
- show current cpu usage (detailed)