Thursday, December 11, 2014

Various commands to get Hardware and Software information from the system:

 Various commands to get Hardware information from the system:

On Linux based system most of the hardware information can be extracted from /proc
Example display CPU information:

# cat /proc/cpuinfo

# lscpu

Example display Memory information:

# cat /proc/meminfo

# free

# free –m (check man free for more info) 

Various commands to get Software information from the system:

# cat /proc/version
# uname –a
lsb_release –a
# cat /etc/redhat-release
# rpm qa

No comments:

Post a Comment