Here are some commands that we can use to obtain info from a Linux host:
# dmesg -- show bootup messages / detected hardware
# top -- show cpu/mem/swap usage and running processes
# mii-tool -- show nic infos
# du -xh | sort -- show disk usage
# ps -exfcl -- show processes running - list
# rpm -qa -- show packages.version installed - (redhat/fedora)
# cat /etc/fstab -- show filesystem table
# cat /proc/cpuinfo -- show cpu information
# cat /proc/devices -- show devices ( /proc "filesystem" shows lots of info)
# cat /proc/meminfo -- show memory
The list continues...i will add some more later
No comments:
Post a Comment