System # uname-a # View kernel/OS/CPU information # head-n1/etc/issue # View OS # cat/proc/cpuinfo # View CPU information # hostname # View computer name # l... news & nbsp;
System # uname-a # View kernel/operating system/CPU information # head-n 1/etc/issue # View operating system 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 variables
Resource # free-m # View memory usage and swap zone usage # df-h # view the 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
Disk and partition www.2cto.com # mount | column-t # view the status of the mounted partition # fdisk-l # View All partitions # swapon-s # View all swap partitions # hdparm-I/dev/ hda # View disk parameters (applicable only 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 tables # netstat-lntp # View all listening ports # netstat-antp # View all established connections # netstat-s # View network statistics
Process # ps-ef # View all processes # top # Display process status in real time
User www.2cto.com # w # View active user # 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 groups in the system # crontab-l # view the scheduled tasks of the current user
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 Huan 168
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.