CentOS commonly used to view the system command # uname-a # view the kernel/operating system/CPU information # head-n1/etc/issue # view the operating system version # cat/proc/cpuinfo # view the CPU information # hostname # View computer... common CentOS command # uname-a # View kernel/OS/CPU information # head-n 1/etc/issue # View OS version # cat/proc/cpuinfo # View CPU information # hostname # View Computer Name # lspci-TV # List all PCI devices # lsusb-TV # List all USB devices # lsmod # List loaded kernel modules # env # View environment variable www.2cto.com resource # free-m # View memory usage and swap zone usage # df-h # View usage of each partition # du-sh <目录名> # View the size of a specified directory # grep MemTotal/proc/meminfo # view the total memory # grep MemFree/proc/meminfo # view the amount of idle memory # uptime # view the system running time, number of users, and load # cat/proc/loadavg # View system load disks and partitions # mount | column-t # view the status of mounted partitions # fdisk-l # View All partitions # swapon-s # View all swap partition # hdparm-I/dev/hda # View disk parameters (only applicable to IDE devices) # dmesg | grep IDE # view the IDE device detection status at startup network # ifconfig # view the attributes of all network interfaces # iptables-L # View firewall settings # route-n # View route 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 users # id <用户名> # Viewing specified user information # last # viewing user logon logs # cut-d:-f1/etc/passwd # viewing all users in the system # cut-d: -f1/etc/group # View all system groups # crontab-l # view the scheduled tasks of the current user www.2cto.com service # chkconfig -- list # list all system Services # chkconfig -- list | grep on # List all started System Service programs # rpm-qa # View all installed software packages
Author: chen861201
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