일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
- iperf
- bash
- 제주맛집
- ipmitool
- bwm
- 사랑담은 해물
- 몽상드애월
- vnstat
- bwm-ng
- ipmiutil
- sysstat
- 복도새기
- 표준 입력
- GCOV
- history 로그 남기기
- ipmi
- 살롱드라방
- Linux
- Shell Script
- 제주도맛집
- 사랑담은해물
- 표준 에러
- OS TEST
- stressapptest
- 제주도
- iftop
- 애월맛집
- 숙이네보리빵
- memtester
- 표준 출력
- Today
- Total
목록> [IT]/>> Linux (20)
이런 세상..
[LINUX] RPM [1] 전체 리스트 출력# rpm -qa...생략... # rpm -qa | grep vimvim-minimal-7.2.411-1.8.el6.x86_64vim-common-7.2.411-1.8.el6.x86_64vim-X11-7.2.411-1.8.el6.x86_64vim-enhanced-7.2.411-1.8.el6.x86_64 [2] 패키지에 포함된 파일리스트 출력# rpm -ql vim-minimal-7.2.411-1.8.el6.x86_64/bin/ex/bin/rvi/bin/rview/bin/vi/bin/view/etc/virc [3] 어떤 패키지에 포함된 파일인지 확인# rpm -qf /bin/vivim-minimal-7.2.411-1.8.el6.x86_64 [4] 패키지 정보 ..
[LINUX] IPMI(Intelligent Platform Management Interface) **BMC기능이 존재하는 시스템에 대해 관리 및 제어를 하기 위한 도구 **유사 유틸리티 : ipmiutil [1] 설치# yum install OpenIPMI OpenIPMI-tools [2] 서비스 활성화 및 실행# chkconfig ipmi on# service ipmi start [3] 원격지(IP) 의 샤시 상태 출력# ipmitool -H [IP] -P [PASSWD] -U [ID] -a chassis status [4] LAN 상태 출력# ipmitool lan print 1(# ipmiutil lan 1) [5] SEL Log 출력# ipmitool sel(# ipmiutil sel log)..
[LINUX] 터미널에서 rz, sz 로 파일 전송 [1] 설치# yum install lrzsz [1] CLIENT -> SERVER 파일 전송(터미널 상태에서)# rz [2] SERVER -> CLIENT 파일 전송(터미널 상태에서)# sz [file name]* PC의 터미널(접속 프로그램)에서 사전에 설정되어 있는 경로로 전송됨.
[LINUX] GTP 파티션을 ext3 로 파티셔닝 [1] GTP 파티션 경우# fdisk -l...생략...WARNING: GPT (GUID Partition Table) detected on '/dev/sdc'! The util fdisk doesn't support GPT. Use GNU Parted. Disk /dev/sdc: 1000.2 GB, 1000204886016 bytes255 heads, 63 sectors/track, 121601 cylindersUnits = cylinders of 16065 * 512 = 8225280 bytesSector size (logical/physical): 512 bytes / 512 bytesI/O size (minimum/optimal): 512 by..
[LINUX] dmesg 시간 일반 형식으로 변환 date -d"70-1-1 + 9 hour + `date +%s` sec - `cut -d' ' -f1 > Time : 2014-10-27 14:25:36
[LINUX] 표준 입력/출력/에러 **표준 입력 -키보드 -파일번호 : 0 **표준 출력 -모니터로 출력되는 정상적인 메세지 -파일번호 : 1 **표준 에러 -모니터로 출력되는 에러 메세지 -파일번호 : 2 **응용# ca-bash: ca: command not found 이 경우 모니터로 출력되는 에러 메세지를 로그 파일로 남기기 # ca 2> err_log # cat err_log -bash: ca: command not found
[LINUX] shell script 파일을 binary 파일로 암호화 제작자 웹페이지 : http://www.datsi.fi.upm.es/~frosal/3.8.9b 버전 : http://www.datsi.fi.upm.es/~frosal/sources/shc-3.8.9b.tgz **설치 :[root@localhost ~]# wget http://www.datsi.fi.upm.es/~frosal/sources/shc-3.8.9b.tgz[root@localhost ~]# tar zxvf shc-3.8.9b.tgz[root@localhost ~]# cd shc-3.8.9b[root@localhost shc-3.8.9b]# lsCHANGES Copying Makefile match pru.sh shc-3.8.9..
[LINUX] find 명령어 응용 [1] /(root)에서 파일 이름이 *.txt 인 파일 찾기 # find / -name "*.txt" [2] *.txt 를 찾아 현재 디렉토리에 복사 # find / -type f -name *.jpg -exec cp {} . \; [3] /test 디렉토리 내 100M 이상 파일 찾기 # find /test -type f -size +100000 -exec ls -alh {} \; [4] 파일명에 "-LOG" 라는 파일 찾아 삭제 # find / -name "-LOG" -exec rm {} \; [5] 현재 디렉토리에서 10일 이전에 업데이트된 파일 찾기 # find ./ -atime +10 [6] 현재 디렉토리에서 10일 이내 수정된 파일 찾기 # find ./ ..
[LINUX] proc 디렉토리 정보 경로 정보 /proc/[PID] 실행중인 프로세스 관련 정보 /proc/cpuinfo CPU 정보 /proc/devices 할당된 디바이스 목록 /proc/diskstats 디스크의 상태 및 파티션 정보 /proc/filesystems 활성화된 파일시스템 목록 /proc/interrupts 사용중인 인터럽트 통계 정보 /proc/irq 시스템에서 제공하는 인터럽트 정보 /proc/iomem 메모리 정보 /proc/ioports 포트 정보 /proc/kallsysm 커널 심볼 목록 /proc/meminfo 메모리 정보 /proc/modules 디바이스 드라이버 모듈 정보 /proc/mounts 마운트된 파일시스템 정보 /proc/partitions 파티션 정보 /pro..
CLIENT -> INPUT -> (CHAIN) -> SERVER -> (CHAIN) -> OUTPUT -> CLIENT [1] 기본 동작 확인 (사전) ping 확인# ping 168.126.63.1PING 168.126.63.1 (168.126.63.1) 56(84) bytes of data.64 bytes from 168.126.63.1: icmp_seq=1 ttl=54 time=8.10 ms64 bytes from 168.126.63.1: icmp_seq=2 ttl=54 time=6.33 ms...생략 1. 정책 추가# iptables -A OUTPUT -p icmp -m icmp --icmp-type 8 -j DROP 2. 리스트 확인# iptables -LChain INPUT (policy A..