일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- rm
- Cache
- Hack
- 리눅스
- http
- 좌절교육
- Python
- apachetop
- 솔라리스
- iptables
- goaccess
- windows
- DNS
- pid
- ext3
- PORT
- Kernel
- 쇼펜의상속자 #킨텍스메가쇼 #섬유향수탈취제
- cadre
- Linux
- rm -rf
- Disk
- PERL
- 디스크
- Bash
- ext4
- 칭찬교육
- CPU
- Performance
- rsync
- Today
- Total
목록리눅스 (93)
Ben's
https://www.centos.org/modules/newbb/viewtopic.php?topic_id=39778 Oct 18 11:25:26 c0558 kernel: get[4386]: segfault at ffffffff ip 00000000ffffffff sp 00000000ffa6497c error 14 Oct 18 11:25:29 c0558 abrtd: Directory 'ccpp-2012-10-18-11:25:26-4386' creation detected Oct 18 11:25:29 c0558 abrt[10384]: Saved core dump of pid 4386 (/usr/genesis/e99/get/get) to /var/spool/abrt/ccpp-2012-10-18-11:25:2..
real time 웹로그 보는 툴 http://goaccess.prosoftcorp.com/ http://go2linux.garron.me/apachetop-monitor-webserver-website-statics-apache-in-real-time
http://coffeenix.net/board_view.php?bd_code=1721 제 목 : 쉘스크립트에서 진수변환 작성일 : 2011.5.17(화) 작성자 : 좋은진호(truefeel, http://coffeenix.net/ ) 1. 10진수로 변환하기(Hexadecimal, Octal, binary -> Decimal) sh와 bash는 쉘 자체에 진수 변환 기능이 있다. csh는 진수 변환이 없지만, 외부 명령으로 처리할 수있다. 1) sh와 bash에서 * 16진수 -> 10진수 : echo $((0x123)) * 8진수 -> 10진수 : echo $((0123)) $ echo $((0x123)) 291 $ echo $((0xabc)) 2748 $ echo $((0123)) 83 $ echo..
관련링크: http://coffeenix.net/bbs/viewtopic.php?p=9922#9922
* 올바른 예: 원래 의도대로 /root/imsi 하위 파일들이 sync에서 제외됨. strace rsync -av --exclude=/root/imsi/* --exclude /boot --exclude /var --exclude /usr --exclude /home / /disk 2> nhko.1 [root@zenoss /]# head -1 nhko.1 execve("/usr/bin/rsync", ["rsync", "-av", "--exclude=/root/imsi/*", "--exclude", "/boot", "--exclude", "/var", "--exclude", "/usr", "--exclude", "/home", "/", "/disk"], [/* 24 vars */]) = 0 * 올바르지 않..
보통은 bridge 장치로 eth0, eth1을 묶게 되면 어디가 inbound 인지 어디가 outbound 인지 구분을 잘 할수가 없어 난감했었는데요 gateway는 bridge firewall 바깥(외부)에 있다는 점을 이용하여 스크립트를 만들어 봤습니다. #!/bin/bash # IF_NAME=`ifconfig | grep bridge | awk '{print $1}' | head -1`; GW_MAC=`route | egrep default | awk '{print $2}' | xargs -i arp {} | egrep $IF_NAME | head -1 | awk '{print $3}'` IF_OUT_FLAG=`brctl showmacs $IF_NAME | egrep -i $GW_MAC | awk..
iftop -F x.x.x.x/255.255.255.255 특정 ip만 잡을때
http://pbraun.nethence.com/unix/www/thttpd.html %imgsrc /images/bill.gif Change the colors Eventually change the default green background to white, grep -r COLOR * vi libhttpd.c and clean up the BODY tags (two occurences). note. one could also edit the defaults, #vi config.h but they're fine. Even INDEX_NAMES eventually points to index.cgi, already. Compilation Create the needed groupthttpd user..