Linux system configuration check

Spread the love

Install this package

# yum -y install lshw

Display Hardware Infomation.

# lshw

To get the system memory info:

$ cat /proc/meminfo

MemTotal: 3784252 kB

MemFree: 239748 kB

MemAvailable: 3032864 kB

Buffers: 151952 kB

Cached: 2456956 kB

SwapCached: 3524 kB

Active: 1766012 kB

Inactive: 1470824 kB

Active(anon): 219304 kB

Inactive(anon): 409688 kB

Active(file): 1546708 kB

Inactive(file): 1061136 kB

Unevictable: 0 kB

Mlocked: 0 kB

SwapTotal: 4063228 kB

SwapFree: 3399984 kB





To get the CPU info:

$ cat /proc/cpuinfo

Using these are can see system resources.

Leave a Reply

Your email address will not be published. Required fields are marked *