System & Hardware-Infos

grep "physical id" /proc/cpuinfo | sort | uniq | wc -l
grep "cpu cores" /proc/cpuinfo | uniq | xargs | cut -f4 -d" "
grep "^processor" /proc/cpuinfo  | wc -l

Volle Infos :

cat /etc/os-release

Kurz Infos:

cat /etc/redhat-release
cat /etc/debian_version
uname -n
grep MemTotal /proc/meminfo | awk '{print $2 / 1024}'
 
 
totalmem=0; for mem in /sys/devices/system/memory/memory*; do [[ "$(cat ${mem}/online)" == "1" ]] && totalmem=$((totalmem+$((0x$(cat /sys/devices/system/memory/block_size_bytes))))); done; 
echo $((totalmem/1024**3)) GB
echo $(($(getconf _PHYS_PAGES) * $(getconf PAGE_SIZE) / (1024 * 1024)))
 
dmidecode -t 17 | grep "Size:" | awk '{s += $2} END {print s / 1024}'
 
vmstat -s | grep "total memory" | awk '{print $1 / 1024 / 1024}'
echo $(($(getconf _AVPHYS_PAGES) * $(getconf PAGE_SIZE) / (1024 * 1024)))
lsblk -l
lsblk -l | grep -v "NAME" | awk '{ printf $1 " - " $4 "|" }'
ip a | egrep "mtu|inet "
ip -o addr show | egrep -v " lo|inet6" | awk '{ printf $2 " - " $4 " | " }'
dmidecode -t system
dmidecode -s system-product-name
lspci | grep -i vmware	
dmidecode | less