Linux common view device commands (GO)

Source: Internet
Author: User

#uname-A # view kernel/OS/CPU Information #Head-N1/etc/issue # View OS version #Cat/proc/Cpuinfo # Viewing 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 resource # Free-m # View memory usage and swap usage #DF-H # View the usage of each partition #du-SH< directory name ># View the size of the specified directory #grepmemtotal/proc/Meminfo # View total Memory #grepmemfree/proc/Meminfo # Viewing idle memory #Uptime# View System uptime, number of users, load #Cat/proc/loadavg # Viewing 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 (for IDE devices only) # DMESG|grepIDE # View IDE device detection network at startup #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 the network statistics process #PS-EF # View All processes # top # Real-time display process status User #W# View Active Users #ID< user name ># View specified user information # Last# View user log in log #Cut-D:-f1/etc/passwd# View All users of the system #Cut-D:-f1/etc/Group # View system All groups # Crontab-L # View the current user's Scheduled Tasks service # Chkconfig--List # list all system Services # Chkconfig--list |grepOn # list all started system services

Http://www.cnblogs.com/sunleecn/archive/2011/11/14/2248919.html

Linux common view device commands (GO)

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.