리눅스에서 디스크 사용량 확인 명령어 df 매뉴얼 df -Th 이렇게들 많이 사용합니다. 이미 익숙한 메가바이트 단위로 나열해주거든요. [root@DIM ~]# df --help Usage: df [OPTION]... [FILE]... Show information about the file system on which each FILE resides, or all file systems by default. Mandatory arguments to long options are mandatory for short options too. -a, --all include dummy file systems -B, --block-size=SIZE use SIZE-byte blocks -h, --human-re..
리눅스 라우팅 정보 확인 netstat -rn 명령어 netstat -rn 이런 형식으로 많이들 사용합니다. 옵션을 변경하면 네트워크에서 어떤 프로토콜이 사용 중인지 알 수 있습니다. [root@DIM ~]# netstat --help usage: netstat [-veenNcCF] [] -r netstat {-V|--version|-h|--help} netstat [-vnNcaeol] [ ...] netstat { [-veenNac] -I[] | [-veenNac] -i | [-cnNe] -M | -s } [delay] -r, --route display routing table -I, --interface=[] display interface table for -i, --interfaces displ..
리눅스 메모리 사용량 확인 명령어 free 매뉴얼 현업에서는 free -m -t 이렇게 많이들 사용합니다. [root@DIM ~]# free --help free: invalid option -- - usage: free [-b|-k|-m|-g] [-l] [-o] [-t] [-s delay] [-c count] [-V] -b,-k,-m,-g show output in bytes, KB, MB, or GB -l show detailed low and high memory statistics -o use old format (no -/+buffers/cache line) -t display total for RAM + swap -s update every [delay] seconds -c update [co..
리눅스 명령어 vmstat 매뉴얼 주로... 프로세스 감시에 사용됩니다. CPU 감시라고 할 수 있죠 top 도 많이 사용되죠 [root@DIM ~]# vmstat 1 procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu------ r b swpd free buff cache si so bi bo in cs us sy id wa st 0 0 0 2833300 136308 286580 0 0 0 4 2 4 0 0 100 0 0 0 0 0 2833300 136308 286580 0 0 0 0 4 1031 0 0 100 0 0 0 0 0 2833424 136308 286580 0 0 0 32 14 1043 0 0 100 0 0 ..
랜카드의 맥주소나... 패킷 에러.. 콜리전을 확인 할 때 사용하는 명령어입니다. ifconfig eth0 이런식으로 사용을 하죠~~~~ eth2 Link encap:Ethernet HWaddr @@@@@@@@@E inet addr:10.1.2.200 Bcast:10.1.2.255 Mask:255.255.255.0 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Base addr..
mii-tool은 랜카드의 상태를 보는 툴인데.. 광은 볼 수 가 없습니다. 광은 ethtool 로 봐야 합니다. [root@DIM ~]# mii-tool eth0: negotiated 100baseTx-FD, link ok eth1: negotiated 100baseTx-FD flow-control, link ok eth2: no link eth3: no link [root@DIM ~]# mii-tool --help usage: mii-tool [-VvRrwl] [-A media,... | -F media] [interface ...] -V, --version display version information -v, --verbose more verbose output -R, --reset reset ..