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

Source: Internet
Author: User

View the System Version: lsb_release-
[Root @ localhost/] # lsb_release-
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-

Linux localhost. localdomain 2.6.32-131.0.15.el6.x86 _ 64 #1 SMP sat Nov 12 15:11:58 CST 2011 x86_64 x86_64 x86_64 GNU/Linux

View CPU model: CAT/proc/cpuinfo
[Root @ localhost/] # Cat/proc/cpuinfo
Processor: 0
Vendor_id: genuineintel
CPU family: 6
Model: 26
Model name: Intel (r) Xeon (r) CPU e5506 @ 2.13 GHz
......

View hard disk space DF-LM
[Root @ localhost/] # DF-l
File System 1 K-block used available % mount point
/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
[Root @ localhost/] # 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 a virtual memory. When the physical memory is insufficient, the system will use swap, but the speed of swap is much slower than that of the real memory. When your computer uses swap, it indicates that your memory is insufficient and you need to add memory.

free
Description: displays the memory status.
Syntax: Free [-bkmotv] [-S ]
note: the free command displays the memory usage, including the physical memory, virtual swap file memory, shared memory segments, and system core buffers.
parameter quantity:
-B displays memory usage in bytes.
-K displays memory usage in KB.
-M Displays memory usage in MB.
-o does not display the buffer adjustment column.
-S continuous observation of memory usage.
-T displays the total memory column.
-V displays the version information.

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.