Information about the system (CentOS, Red Hat)

Here are some simple commands to obtain the necessary information about the system.

Viewing shared memory
# grep MemTotal/proc/meminfo

MemTotal: 515340 kB

View swap memory

# grep SwapTotal/proc/meminfo

SwapTotal: 1048568 kB

View processor model

# grep “model name”/proc/cpuinfo

model name: Intel(r) Core (TM) 2 Quad CPU Q8300 @ 2.50 GHz

Viewing the distribution and version of Linux

# cat/etc/issue
CentOS release 5.4 (Final)

Kernel on an m

To view the version of the Linux kernel

# uname-r


View the availability of the required package installation
# rpm-q make


View the name of the host
# hostname

Limit resources


Limits for the VPS


Performance and load testing site 100 queries 5t′û threads

#ab-n 100-c 5 http://localhost/test.html