#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)