2015년 11월 26일 목요일

linux system information & useful command

*System information

/proc/asound/ sound card info
/proc/cpuinfo processor info
/proc/devices kernel device list
/proc/dma DMA channel that is used now
/proc/filesystems file system info set in kernel
/proc/scsi/ SCSI & IDE device info (Disk or ODD Model/Type/Revision...)
/proc/interrupts interrupts that is used
/proc/ioports I/O port that is used now
/proc/loadavg system load average
/proc/meminfo memory info
/proc/modules kernel module that is used
/proc/partitions partitions info
/proc/uptime System running time
/proc/version kernel version
/proc/sys/kernel/ostype OS type
/proc/sys/kernel/osrelease kerenl release version
/proc/sys/kernel/hostname host name or domain
/etc/issue, issue.net host connecting message
/etc/sysconfig/network-scripts/ifcfg-eth0 (Red Hat/Fedora Core) network info

*Command

env : printing the system variable that is set

cut : printing the result without some part
ex)grep "model name" /proc/cpuinfo | cut -c 14-
->Intel(R) Core(TM)2 Duo CPU E6550 @ 2.33GHz
Intel(R) Core(TM)2 Duo CPU E6550 @ 2.33GHz


df : printing the mount location and file system info

w : printing users connecting the system now.

nslookup [IPADDR] or [DOMAIN]: printing the specific ip's domain, domain's ip

free : printing the memory usage


lspci : printing Mainboard's Hardware Interface info
ex)lspci | grep -i vga
:printing the graphic card info

lsusb: printing the usb device info connected now.


original source : http://cleanurmind.tistory.com/108

댓글 없음 :

댓글 쓰기