Linux Information view naming

Source: Internet
Author: User
Tags memory usage

System

# uname-a               # View kernel/Os/cpu info # head-n 1/etc/issue   # view OS version # Cat/proc/cpuinfo      # View CPU Info # hostname               # View Meter Computer name # LSPCI-TV              # List all PCI devices # LSUSB-TV              # list all USB devices # Lsmod                  # list loaded kernel modules # env                    # View Environment variables

Resources

# free-m                # View memory usage and swap usage # df-h                  # View each partition usage # du-sh < directory name >        # View the size of the specified directory # grep memtotal/proc/meminfo< c13/># View Total Memory # grep memfree/proc/meminfo    # View Idle amount # Uptime                 # View System uptime, number of users, load # CAT/PROC/LOADAVG      # View System load

Disks and partitions

# Mount | Column-t      # View attached partition status # fdisk-l               # View all partitions # swapon-s              # View all swap partitions # hdparm-i/DEV/HDA     # View disk parameters (IDE devices only) # DM ESG | grep IDE       # view IDE Device detection status at startup

Internet

# ifconfig               # View the properties of all network Interfaces # iptables-l            # View firewall settings # route-n               # View routing table # NETSTAT-LNTP          # View all listening ports # NETSTAT-ANTP          # View all established connections # NETSTAT-S             # View Network statistics

Process

# ps-ef                 # View All Processes # Top                    # Real-time display process status

User

# w                      # View active user # ID < username >            # View specified user information # Last                   # View user log in log # cut-d:-f1/etc/passwd   # View system All users # cut-d: -f1/etc/group    # View system All groups # Crontab-l             # View Current user's scheduled tasks

Service

# chkconfig--list       # List all system Services # Chkconfig--list | grep    on # List all started system services

Program

Rpm

  # rpm-qa # View all installed Packages

Yum




Linux Information view naming

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.