Full knowledge of Linux servers

Source: Internet
Author: User
Tags disk usage

One, view Linux server CPU details

Determine the Linux server CPU based on the following

CPUs with the same core ID are Hyper-threading of the same core

CPUs with the same physical ID are the same CPU-encapsulated thread or core

To view the number of physical CPUs

Cat/proc/cpuinfo|grep "Physical ID" |sort|uniq|wc-l

View the/proc/cpuinfo file, intercept the information of the physical ID, sort, de-heavy, count

Number of cores per CPU

Cat/proc/cpuinfo |grep "CPU Cores" |uniq

Number of logical CPUs

Cat/proc/cpuinfo |grep "Processor" |wc-l

The number of logical CPUs is generally equal to the number of physical CPUs x cores, if unequal, indicates that the server supports Hyper-Threading technology

Second, check the memory usage of Linux

Free-m

Third, check the Linux hard disk usage

View hard disk and partition information

Fdisk-l

Check the disk space usage of the file system

Df-h

viewing system I/O performance

iostat-d-x-k 1 10

Too many I/O requests if%util is close to 100%

View the size of a Linux directory

Du-sh xxx

Iv. viewing the average load on Linux

Uptime

Dynamic viewing

Top

V. View other Linux parameters

Monitoring the overall performance of the system

Vmstat 1 4

View System kernel

Uname-a

View the Linux distribution name version number and description information

Lsb_release-a

View the relevant modules that the system has loaded

Lsmod |grep Ip_vs

Find PCI Settings

Lspci |grep ether

Full knowledge of Linux servers

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.