Linux system, version, CPU, memory view, hard disk space

Source: Internet
Author: User
Tags memory usage

View System version: Lsb_release-a
[Email protected]/]# lsb_release-a
LSB Version:: core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64: Printing-4.0-noarch
Distributor Id:centos
Description:centos Release 6.1 (Final)
release:6.1

Codename:final

View kernel version: Uname-a

Linux localhost.localdomain 2.6.32-131.0.15.el6.x86_64 #1 SMP Sat Nov 15:11:58 CST x86_64 x86_64 x86_64 gnu/linux

View CPU Model: Cat/proc/cpuinfo
[Email protected]/]# Cat/proc/cpuinfo
processor:0
Vendor_id:genuineintel
CPU Family:6
Model:26
Model Name:intel (R) Xeon (r) CPU E5506 @ 2.13GHz
......

View hard disk space conditions DF-LM
[Email protected]/]# df-l
File system 1k-block already used% mount point available
/dev/sda3 604758736 20379244 553659492 4%/
Tmpfs 8160484 0 8160484 0%/dev/shm
/DEV/SDA1 495844 35901 434343 8%/boot
/dev/sda5 302379456 4760128 282259328 2%/opt

View Memory: Free-m
[Email protected]/]# FREE-MT
Total used free shared buffers Cached
mem:15938 14204 1734 0 356 10597
-/+ buffers/cache:3250 12688
swap:19997 0 19997
total:35936 14204 21732

Swap is virtual memory, when the physical memory is not enough, the system will be used to swap, but the swap speed than the real memory speed is much slower, when your computer used swap, it means that you do not have enough memory, need to add memory

Free
Description: Displays the memory status.
Syntax: free [-bkmotv][-s < interval of seconds;]
Additional Note: The free instruction shows memory usage, including physical memory, virtual swap file memory, shared memory segments, and buffers used by the system core.
Parameters
-B Displays memory usage in bytes.
-K displays memory usage in kilobytes.
-m displays memory usage in megabytes.
-O does not display buffer throttling columns.
-s< interval seconds > Continuous observation of memory usage.
-T displays the memory sum column.
-V Displays version information.

Linux system, version, CPU, memory view, hard disk space

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.