Linux Basic Command three (System state)

Source: Internet
Author: User

1.cat/proc/cpuinfo: Viewing CPU information

1.1 Cat/proc/cpuinfo | grep "Processor" | Wc–l: View the number of logical CPUs

1.2 Cat/proc/cpuinfo | grep "Physical ID" | Sort-u | Wc–l: View the number of physical CPUs

1.3 Cat/proc/cpuinfo | grep "Core ID" |  Uniq | WC–L:CPU enabled Hyper-Threading

2.cat/proc/meminfo: Viewing memory information

3.FDISK–L: Viewing disk information

4.whoami: View Current user identity

5.top: View current running process (dynamic)

6.ps-aux: View the running process for all users

7.CHKCONIFG--list: View System Services

8.service [service Name] Status: View the specified system service

9.ipconfig: View network configuration and NIC status

9.1 ipconfig [NIC name]: View specified NIC status information

10.netstat: View network-related information

Linux Basic Command three (System state)

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.