cat /etc/*release > /tmp/release.log
uname -a > /tmp/uname.log
cat /proc/sys/kernel/osrelease > /tmp/osrelease.log
lscpu > /tmp/cpu.log
ls /boot/config-* > /tmp/config-all.log
rpm -qa > /tmp/rpm.log
dpkg -l > /tmp/dpkg.log
zip -9r osinfo.zip /tmp/*.log
