linux
ãNIC 2æåºããã¨ããã¨ãIP masqueradeã使ã£ã¦Linuxã§ã«ã¼ã¿ã¼ãä½ããï¼ãçãªè©±ãæãåºãè害ã§ããããã«ã¡ã¯ãNICã2æçããããµã¼ãã¼ããåããµããããã«ä¸¡æ¹ã®è¶³ãã®ã°ãæ©ä¼ããã£ãã®ã§ãããããã£ããèºããã®ã§ãã®ã¡ã¢ã§ããå ·ä½çã«ããâ¦
/proc/\d+/smapsãèãåãã¹ã¯ãªããæ¸ããã¨ãããããã«CPUé£ããªãã¨æãã¡ãã£ã¨èª¿ã¹ã¦ã¿ããread(2)ã®åæ°ãã¨ã©ãå¤ãä»¶ãåæ°ããããã¨ãªãããstrace -ttt -Tã§ã¿ã¦ã¿ãã¨ãä¸åã®read(2)ã«ããããæéãããã£ã¦ãããæ§åããªã®ã§read(2)ã«ã¡ãâ¦
(vm.overcommit_memoryã®èª¬æã¯ããã£ã¦ãã ãã: google:vm.overcommit_memory)ä¾ãã° vm.overcommit_memory = 2 vm.overcommit_ratio = 90ãªã¨ãã«ãå®éã®ä¸éã¨ä»ç¾å¨ã®å¤ã¯ã©ãã§ç¢ºèªã§ãããï¼ the total virtual address space on the system is limiâ¦
inotifyã¯ãã¡ã¤ã«ã ããããªãã¦ãã£ã¬ã¯ããªãã¦ã©ããã§ãã¦ãé ä¸ã«ãã¡ã¤ã«ãä½ããããæ¶ãããããªã©ãªã©ãç£è¦ã§ãã¾ãã $ watch-it.pl ~/tmp (ls) tmp - IN_ISDIR IN_OPEN tmp - IN_ISDIR IN_CLOSE_NOWRITE IN_CLOSE (echo test > foo) tmp/foo - â¦
d:id:hirose31:20070528:1180326347 ã®observe-mtimeã¯ããã¡ã¤ã«ã®mtimeã®å¤æ´ã宿çã«ç¢ºèªãã¦ã¤ãã³ããçºç«ããã¦ããã§ããããããLinuxã®inotifyã§ç½®ãæãã¦ã¿ã¾ãããmtimeç£è¦ã ã¨èª¿ã¹ã¦ã¹ãªã¼ããã¦ã®ç¹°ãè¿ããªã®ã§ã夿´ãã¦ããã¤ãã³ããèµ·â¦
ã¨ãããã¹ãã«ãTCPæ¥ç¶ãå¼µã£ã¦ã¯åãã¨ããå¦çãããããããç¹°ãè¿ããã³ããã¼ã¯çãªããã°ã©ã ãæ¸ãã¦åããã¾ãããæåã®ãã¡ã¯æå¾ ããéãã®åä½ããã¦ããã§ãããéä¸ãã対åã®ãã¹ãã«TCPæ¥ç¶ã§ããªããªã£ã¦ã¨ã©ã¼åºã¾ããã $ netstat -tnaâ¦
Linux_2_6_23 - Linux Kernel Newbies ãããext4ã¨OCFS2ã§nanosecondã®ã¿ã¤ã ã¹ã¿ã³ãã«å¯¾å¿ããã£ã½ãã ext3ã§nanosecondããã¨ãã®ã¡ã¢ã¯ d:id:hirose31:20060228 ã¸ãã«ããã¾ãããã¨ext4ã§ããµããã£ã¬ã¯ããªã®ä¸éã¯65,000åãã¨ããå¶éããªããªã£â¦
ç¨éã«ãããã¨æããã©ã¤ãã¤ãã¨ããªã«ã§mkfsããã®ããã¦ãããããã¼ List of file systems - Wikipedia, the free encyclopedia ext3 ã¢ãã³ãããªããã©æ¯ãã¦ãã®ã§å®å®æ§ã¯æå¾ ã§ããããï¼ ç¡é£ãªé¸æãåè£ãã®ï¼ã ext4 ã¾ã experimentalãå°æ¥çâ¦
http://www.bootsplash.org/ éã³ã§ãã¼ãã¹ãã©ãã·ã¥è¡¨ç¤ºããããã¨ãã¦ããããã©ããªãã§ãèªä½ã®JPEGç»åã ã¨ã¨ã©ã¼ããªã£ã¦è¡¨ç¤ºãããªããã¨ã©ã¼ã¡ãã»ã¼ã¸ã§ã°ã°ã¦ã¿ãããããªã®ãï¼ bootsplash: error while decompressing picture: picture is notâ¦
ãªããæµè¡ã£ã¦ãã¿ãããªãã§ã®ã£ãã£ã¦ã¿ããï¼ crash.c #include <linux/kernel.h> #include <linux/module.h> #include <linux/init.h> static int __init crash_init(void) { printk("crashing kernel...\n"); /* *((char *) 0) = 0; */ panic("Hello, panic!"); return 0; } static void __exit crash</linux/init.h></linux/module.h></linux/kernel.h>â¦
以åã®WEB+DB PRESSã®è¨äºã®ã³ã©ã ã§ãæ¸ãããã§ãããå½æè©¦ããéãã§ã¯ãXFSãext3ã¨éããReiserFSã®å ´åã¯fsync(2)ãã¦ããã¼ã¿ãæ°¸ç¶åããã¾ããã§ãããä»ã§ã¯éãå¯è½æ§ãããã¾ãããã½ã¼ã¹ã³ã¼ãã¬ãã«ã®æ·±è¿½ãã¯ãã¦ãªãã®ã§ããããReiserFSã¯â¦
ãªãã¨ãªãèªåã®ã¡ã¤ã³ãã·ã³ã2.6.20.1ã«ãã¦ã¿ãã vmmonãã³ã³ãã¤ã«ã§ããªããªã£ãã ftp://ftp.cvut.cz/vmware/vmware-any-any-update108.tar.gz ã§ãk PATAã®ããã¤ã¹åã/dev/hdXããsdXã«å¤æ´ã«ãªã£ãã 2.6.19ããæ°ããATAãã©ã¤ã使ãã¨ãããªãâ¦
Lm_sensorsã§æ¸©åº¦ã²ãã£ã¦RRDtoolã§æãã¦ãã°ã©ããå¬å¯ãããå¤ç±ããã
åºããDRBDã¨ã¯ãªãã ã¹ãï¼ã¨ããã®ã¯ DRBD is a block device which is designed to build high availability clusters. This is done by mirroring a whole block device via (a dedicated) network. You could see it as a network raid-1.ããªæãã®ãâ¦
åºã¦ãããªããããããæ©è½æ¡å¼µããã¦ããã Release 1.1.13 | Enhancements [Keepalived-devel] [ANNOUNCE] Keepalived 1.1.13 [Keepalived-devel] Including Config Files ã¯ãã¾ã®ã¨ããã¹ã«ã¼ããã¦ããæ¨¡æ§ï½
ãã¯ã¼ ã©ããªãReiserFSã追è¨ã ã¹ã©ãã·ã¥ããã ã¸ã£ãã³ | Reiserãã¡ã¤ã«ã·ã¹ãã éçºã®è¡æ¹
memologue - Linux Memory Overcommit Documentation/vm/overcommit-accounting ãã£ã¹ã¯ã¬ã¹ã¨ãã§ã¹ã¯ãããªããªæ§æã§ãOOM-killerãæå¶ããããã«echo 2 > /proc/sys/vm/overcommit_memoryããã¨ã/proc/sys/vm/overcommit_ratioã®ããã©ã«ãã50ãªãã§â¦
Linuxã«ã¯DRBDã¨ãããã®ãããã¾ããDRBDã¨ã¯ä½ãï¼ ç°¡åã«ããã¨ããã©ã¼ãªã³ã°ã§ãããã©ã¼ã¨ãã£ã¦ããRAID-1ã®ããã«ãã£ã¹ã¯toãã£ã¹ã¯ã§ã¯ãªããï¼ã¤ã®ç°ãªããµã¼ãéã®ãããã¯ã¼ã¯è¶ãã®ãã©ã¼ãªã³ã°ã§ããRAIDã®å ´åã¯ããã£ã¹ã¯æ éã®èæ§ã¯é«ã¾â¦
1. ãªã¢ã«ãµã¼ãå´ã«ãã°ãã¼ãã«IPãæ¯ãå¿ è¦ããã(IPãå°ãªãã¨ããã¯çµæ§ãã¤ããã).ãªã¢ã«ãµã¼ãã§ã¯ãVIPãã«ã¼ãããã¯ã¤ã³ã¿ã¼ãã§ã¼ã¹ã«IP aliasããã°ããã®ã§ããªã¢ã«ãµã¼ãã®æ°ã ãã°ãã¼ãã«IPã¢ãã¬ã¹ãæ¶è²»ããã£ã¦ãã¨ã¯ãªããããªãï¼èª¤èªâ¦
FD/CDãã¼ããªãã¼ããã©ã³ãµï¼ãªã©å¤æ°ã®æ©è½ï¼ãæä¾ããLinuxãã£ã¹ãã
IPnuts IPnuts 㯠ãããã¯ã¼ã¯ã¢ãã©ã¤ã¢ã³ã¹ç¨OSã¨ãã¦éçºãããããªããã¯ã¹ã®ãã£ã¹ããªãã¥ã¼ã·ã§ã³ã§ããIPnutsã¯ãã½ã³ã³ãå©ç¨ãã¦ããã¡ã¤ã¢ã¼ã¦ã©ã¼ã«ãVPNè£ ç½®ããã¼ããã©ã³ãµã¼ãæ§ç¯ãã¾ãã ãã£ããããã¢ãè¦ãã¦ããã£ããã¨ããããã§ãâ¦
2.6.16.xã¯å¤§ä¸å¤« 2.6.17.xãã¤ã㤠2.6.17.7ã2.6.18-rc1ã§ä¿®æ£ããã 2.6.17.xã§ã¶ã£å£ããå ´åã¯ã2.6.17.7ã«ãã¦ãå£ãããã ã¶ã£å£ããããxfsprogs-2.8.10以ä¸ã«å«ã¾ããxfs_repairã§ç´ã ã£ã¦ãã¨ã¿ãããã³ã¯ã¤ã¨ã©â¦ä»¥ä¸ãæ å ±æºã LKML: Torsten Lâ¦
Nevertheless it is recommended not to store ReiserFS v3 images on a ReiserFS v3 partition (e.g. backups or disk images for emulators) without transforming them to a form that avoids misleading the filesystem, e.g., by compressing or encrypâ¦
Linux kernel 2.6ç³»ã®kernel空éã®ããã»ã¹ãé å»¶æ¸ã込㿠- ãããã¡ãã£ãã·ã¥ããã£ã¹ã¯ã«æ¸ãè¾¼ãã®ãpdflushã®ãä»äºã宿çã«å®è¡ãããããæ¡ä»¶ãæºããå ´åã«ãã£ã¹ã¯ã«æ¸ãè¾¼ããpdflushã®æåã®å¶å¾¡ãããã«ã¯ã/proc/sys/vm/* ãããã§ãããproâ¦
GCC 4.0åãæé©åéå§ã§2.95ã¯ãªã·ãã¤ï¼2/2ï¼ â ï¼ IT ã§ã Linux Kernel = 2.6.13 prctl kernel Local Root Exploit [Pen-test.jpn.org]">Linux >= 2.6.13 prctl kernel Local Root Exploit [Pen-test.jpn.org] ããç©´ãããï¼ãã¼ã«ã«ã¦ã¼ã¶ããã£ããrooâ¦
ext4ãã§ããããã read onlyã§bind mountã§ããããã«ãªããchrootç°å¢ãä½ãã¨ãã«ä¾¿å©ãã
ã½ãã½ãpthread_createããã¨ENOMEMãåºã¦ä¸å®æ°ä»¥ä¸ä½ããªãã¨ããã話ãæå ã®Debianã 㨠$ ulimit -s 8192ã§8MBãªã®ã§ããã®ã¾ã¾ã ã¨ã¬ã¬ã·ã¼ãªLinuxThreadï¼2MBï¼ãªç°å¢ããå°ããæ°ã§éçã«éããã ã¹ã¿ãã¯ãªã¼ãã¼ããã¼ã®ãã³ããªã³ã° (Stack Overâ¦
Linux 2.6.17.5, 2.6.16.25ã§ä¿®æ£æ¸ã¿ãã¡ãªã¿ã«ææ°çã¯2.6.17.6, 2.6.16.27ãkernel.orgã®RSSã§2.6.16.*ã®ãé ä¿¡ãã¦ãããã¨ããã®ã«ã
ãã¿å ï¼eyes blog: O_DIRECTã調ã¹ã¦ããã¨ã diskio Project DOUBT / ãç´¹ä»ã¨åå è ã®åé (PDF) Linuxã§åææ¸ãè¾¼ã¿ã§writeããã¨ããã»ãã¨ã«ãã£ã¹ã¯ã«æ¸ãè¾¼ã¾ãã¦ãã®ï¼ ããã«ãã¦ã¯æ©ãããï¼ ã¨ããã話ãDOUBTã§ã¯ä»ã«ãè峿´¥ã ãªæ¤è¨¼ããã£ã¦â¦
ã¢ã¸ã¥ã©ã¼åãããXã¸ã®ç§»è¡æå¼ã
æè¿ã®Linux kernelã§ããã»ãã¥ãªãã£fixãå ¥ã£ã¦ãSCTPã£ã¦ãªãã ï¼ã¨ãããã¨ã§ã¡ã¨ããã£ã¦ã¿ãã IBM dW : Linux : SCTPã«ãããããã¯ã¼ãã³ã°ã®åä¸ - Japan ï¼ ITï¼å ¨è²ãç¾ããLinuxã«ã¼ãã«2.6[第4ç« ï¼½ï¼1/2ï¼ ã¸ã¼