2024 å¹´ 10 æ 27 æ¥ ãã¤ãå½ãµã¤ããã訪åããã ãããããã¨ããããã¾ãã ã¿ã¤ãã«ã«ãè¨è¼ã®ã¨ããéå¤ãªãµã¤ããèªèªãã¦ããã¾ãããsuzu841.com 以åããã®ã³ã³ãã³ãã20å¹´ãç¶ã足ãç¶ããããããããã«éå¤ã«ãªããããããã§ãã ãã¤ã®ã¾ã«ãCSSã¹ã¿ã¤ã«ã·ã¼ãã¯ãä½ããªãã ãããããªããªãããµã¨è¦ãã°ãã¼ã¸ã®çµ±ä¸æã¯çç¡â¦ã ä½æ¸ãããã ã£ããã§ãªã³ã¯ããã©ãã¨ããããã£ãããã¤ã®è©±ï¼ãªãã¦å¤ãè¨äºãåºã¦ããããã¾ãã ããã§ä¸æ¦éå»ã®ã³ã³ãã³ãããã¹ã¦ååããããããã¦ã¹ã¿ã¤ã«ã·ã¼ããæ¸ãç´ããªã©ãã¤ã¤ãä»å¾ã®ãµã¤ãéå¶ãæ¤è¨ãããã¨æãã¾ãã管ç人ã®ç¾æ³ãªã©ã¯æ®ãã¦ããã¤ããã§ããããã£ã¡ãã£ã¡éé¢ããªããã§ãããããããã°ããæ´æ°ã¯æ»ãããã§ãã çæ§ã¨ãã²ã¾ããµã¤ãä¸ã§ãç®ã«ãããããåãã¾ãããç¾æç¹ã§ã¯åéã®è¦éãä¸æã§ããã©ããããããããçæ§ã
KVM ãªã© Linux ã®ä»®æ³åæè¡ã«ã¤ãã¦æ£®ç°ã話ãã¾ããææ³ãªã©ã¯ããã·ã¥ã¿ã°Â #misreading ã [email protected] ã«ãå¯ããã ããã Virtual Machines: Versatile Platforms for Systems and Processes (The Morgan Kaufmann Series in Computer Architecture and Design): Jim Smith, Ravi Nair: 9781558609105: Amazon.com: Books QEMU, a Fast and Portable Dynamic Translator Tiny Code Generator TCC : Tiny C Compiler Xen and the Art of Virtualization x86 v
ãã¤ãããã£ã½ãé©å½ã«æ¸ãã¦ããinitã¹ã¯ãªããã ããå æ¸ã¡ããã¨æ¸ãã¦ã¿ããã¨æã Linux Standard Base ã® VIII. System Initialization ããããè¦ãªããæ¸ãã¦ã¿ãã ã§ãAmazon Linuxã§ãã確èªãã¦ããªãã initã¹ã¯ãªããä¾ å ¨ä½ã¯ãããªæãã 20.8. Init Script Functions ã¨ããã®ããã£ã¦ãããç¨åº¦ããã«æ²¿ã£ã¦å®è£ ãããã®ã /etc/init.d/functions ãã¨æãããã®ã§ããã使ã£ã¦ãã #! /bin/sh ### BEGIN INIT INFO # Provides: myapp # Required-Start: $local_fs $network $remote_fs # Should-Start: $time # Required-Stop: $local_fs $ne
Mackerelãã¼ã ã®ã¨ã³ã¸ãã¢ã®id:itchynyã§ãã ãmackerel-agentãå ¥ããã¨loadavgã7æéãã¨ã«ä¸æããã å æ¥ããã®ãããªåãåãããè¤æ°ã®ã客ãã¾ããåãã¾ãããç§ãå®é¨ãã¦ã¿ãã¨ããã確ãã«åç¾ãã¾ãããEC2 t2.microã«mackerel-agentãå ¥ãã¦ç°¡åãªãã°ç£è¦ã¨ããã»ã¹ç£è¦ãè¨å®ããæ°æ¥æ¾ç½®ãã¾ããã 確ãã«ãç´7æéãã¨ã«loadavgãä¸æãã¦ãã¾ãããã®å¨æã®cronã®è¨å®ã¯ãã¦ããããã¾ãmackerel-agentå é¨ã§ã7æéãã¨ã«è¡ãå¦çã¯ããã¾ããããããããã©ã°ã¤ã³ãå¤ãå ¥ããã»ã©loadavgã®ãã¼ã¯å¤ãä¸ããã¾ãã æ¬ã¨ã³ããªã¼ã§ã¯ããã®ç¾è±¡ã®åå ã«ã¤ãã¦èª¬æãã¾ãã loadavgãä¸æããåå ã調ã¹ãã«ã¯ãã¾ãloadavgèªä½ãã©ãè¨ç®ããã¦ããããç¥ãå¿ è¦ãããã¾ãã ã¾ãã¯ãLinuxãloada
Index Home About Blog Newsgroups: fa.linux.kernel From: "Theodore Ts'o" <tytso@mit.edu> Subject: Re: readdir loses renamed files Original-Message-ID: <[email protected]> Date: Mon, 25 Oct 2004 12:47:58 GMT Message-ID: <fa.e8bnc94.hmg120@ifi.uio.no> On Mon, Oct 25, 2004 at 04:21:57AM +0300, Timo Sirainen wrote: > I'd have thought this had already been asked many times before, but > go
ãé¡ã¯ãããããã»ã¹ãã©ã®ç¨åº¦ã®ç©çã¡ã¢ãªãå©ç¨ããããç¥ããããã§ãã æã£ã¨ãã°ããç¥ãããã¨ã㯠top ã ps ãªã©ã§èª¿ã¹ãã¨è¯ãã§ãããããä¾ãã°æå ã® coLinux 㧠top ã㦠M ãã¼ã§ã½ã¼ããã㨠emacs ã®ããã»ã¹ãæãã¡ã¢ãªã使ã£ã¦ããããã§ãã PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 1923 naoya 18 0 23120 19m 3096 S 0.0 2.0 0:55.40 emacsã¡ã¢ãªãµã¤ãºã¯ VIRT 㨠RES ãããã¾ãããVIRT 㯠Virtual ã®ç¥ã§ä»®æ³ã¡ã¢ãªé åã®ãµã¤ãºãRES ã Resident ã®ç¥ã§ãå®éã«ä½¿ç¨ãã¦ããç©çã¡ã¢ãªé åã®ãµã¤ãºã19MB ã»ã©ä½¿ã£ã¦ããããã§ãããã® emacs ã®ããã»ã¹ãå©ç¨ããã¡ã¢ãªé åã¯ãã£ãã 20MB ç¨åº¦ã¨
æçµæ´æ° 2019-01-13 UNIX/Linux ã® rsync ã³ãã³ãã¯ããã¡ã¤ã«ã»ãã£ã¬ã¯ããªã®ããã¯ã¢ããããã©ã¼ãªã³ã°ã»åæå¦çãè¡ãã³ãã³ãã§ããããªã¢ã¼ããµã¼ãã¸ã®åæãå¯è½ã§ãããã¾ããå·®åã®ãããã¡ã¤ã«ã®ã¿ãé«éã«ãã©ã¼ãªã³ã°ãããã¨ãã§ãããrsync ã¯ããªã¼ã½ããã¦ã§ã¢ã§ãããFreeBSD/Linux ãªã©ã»ã¨ãã©ã® UNIX ç³» OS ã§ããã±ã¼ã¸ãæºåããã¦ãããããç°¡åã«å©ç¨å¯è½ã§ããã ãã©ã¼ãªã³ã°ãå¯è½ (åç´ãª cp ã ã¨ãåé¤ããããã¡ã¤ã«ãã³ãã¼å ã«æ®ã£ã¦ãã¾ã) ãªã¢ã¼ããµã¼ãã¸ã®è»¢éãããªã¢ã¼ããµã¼ãããã®è»¢éãå¯è½ ãªã¢ã¼ããµã¼ãæ¥ç¶ã«ãã㦠rsh ã ssh ã«å¯¾å¿ãã¦ãããããæå·åããä¸ã§ã®è»¢éãå¯è½ 2åç®ä»¥éã®å®è¡ã§ã¯ãååå®è¡æã¨ã®å·®åã調ã¹ãå¿ è¦ãªãã¡ã¤ã«ã®ã¿è»¢éããããé«éã§ãã
static, benchmarking, tuning: sar, perf-tools, bcc/BPF: bpftrace, BPF book: Images license: creative commons Attribution-ShareAlike 4.0. This page links to various Linux performance material I've created, including the tools maps on the right. These use a large font size to suit slide decks. You can also print them out for your office wall. They show: Linux observability tools, Linux static perfor
ãã®è¨äºã¯ Kobe University Advent Calendar25æ¥ç®ã®è¨äºã§ãã ä½ã¬ã¤ã¤ã¼æè¡(å¾è¿°)ãããããå¦ã³ãã人åãã®å ¥éè¨äºã§ãã èªèº«ã®çµé¨ãè¸ã¾ããããå¤ãã®äººéã«ãã®ã¬ã¤ã¤ã¼ã«èå³ãæã£ã¦ã»ããã¦æ¸ãã¾ããã 決ãã¦åè«ããã°ãã¦Advent calendarã®ãã¿ãä½ããªãã£ãããã§ã¯(ry ãªããããªè¨äºãæ¸ããã ããããã·ã¹ãã ããã°ã©ãã³ã°ã®ãããªä½ã¬ã¤ã¤ã¼(ã¨è¨ã£ã¦å·®ãæ¯ããªã)ã¸ã£ã³ã«ã£ã¦ä¸ä½ä½ããå§ããã°è¯ãã®ããã¾ãã¡ãã³ã¨æ¥ãªãããä½ãé¢ç½ãã®ããåãããªãã¨æããã¦ããäºãå¤ãã¨æãã¾ãã ã«ããããããä½ã¬ã¤ã¤ã¼ã®é åãå¦ã³æ¹ã®æéã¿ãããªç©ã示ãããããããå ¥éè¨äºã£ã¦ããªãå°ãªããã§ãããã æ¬è¨äºã¯ããããã·ã¹ãã ããã°ã©ãã³ã°ãå§ãããæ¹ããæ¢ã«ããã£ã¦ã¿ããä¸ã å ãè¦ãã¦ããªããå°æ¥ä½ã®å½¹ã«ç«ã¤ã®ãä¸å®ã¨ããæ¹éã«èªãã§ã
How is GNU's yes so fast? $ yes | pv > /dev/null ... [10.2GiB/s] ... Compared to other Unices, GNU is outrageously fast. NetBSD's is 139MiB/s, FreeBSD, OpenBSD, DragonFlyBSD have very similar code as NetBSD and are probably identical, illumos's is 141MiB/s without an argument, 100MiB/s with. OS X just uses an old NetBSD version similar to OpenBSD's, MINIX uses NetBSD's, BusyBox's is 107MiB/s, Ultr
Update: You may be interested in the perl module implementing these tricks. Frequently, our customers want to install our software in a virtual machine. This can be OK, but frequently they hit a CPU, memory, or IO limit caused by running in a constrained virtual environment. When this happens, we really like to know if they're running under virtualization when we try to support them. Here's some t
æ´èµ°ãã¦ã©ãã©ãã¡ã¢ãªãé£ãã¹ã¯ãªããã OSå ¨ä½ã®ã¡ã¢ãªä½¿ç¨é(CentOS5 ... ã«ã¼ãã«ã¯2.6ç³»ã«ãªã)ã®åä½ã«ã©ããªå½±é¿ãä¸ããã®ããã£ã¦ã®ãè¦ãããã«ä»¥ä¸ã®ãããªãã¹ãããã¦ã¿ã¾ãããä»çµã¿ã¯ã ãããç解ãã¦ããã©ãç´°ããæ°å¤ã追ã£ããã¨ã¯ãªãã£ãã®ã§ãã£ã¦ã¿ã¾ããã sshã§ãã°ã¤ã³ãã¦ãtopãç«ã¡ä¸ãããããã»ã¹ãè¦å¼µãç¨æããã¦ãã å¥ã®sshããã¡ããã¦ã Perlã¯ã³ã©ã¤ãã¼ã§ä»¥ä¸ã®ãããªããã»ã¹ãèµ°ããã(ãã®ããã»ã¹ãtopã§è¦å¼µã) # 1ç§ãã¨ã«5MBåä½ã§ã¡ã¢ãªãé£ãããã»ã¹ # æ°å¤ã¯ã好ã¿ã§ perl -e "while(1){ sleep 1; push @h , 1 x 1024 x 1024 x 5 } " ã¡ãªã¿ã«topã§è¦å¼µãã¨ã㯠ã¡ã¢ãªä½¿ç¨éã§ã½ã¼ããããããã«ã㦠topèµ·åä¸ã« shift + o ãæ¼ã㦠n ãæ¼ã㨠å®ã¡ã¢ãª
ãã¼ããã¼ãæå¹´é·ã¨ã³ã¸ãã¢ã®æ»æ¾¤ã§ãã以åãå¼ç¤¾CTOã«ã·ãã¢ãã£ããã¨ã³ã¸ãã¢ããè¥æã¨ã³ã¸ãã¢ã«åãã¦ä½ãæ¸ãã¦ããã¨è¨ãããæ°ãããã®ã§ãã¢ãããã¯ï¼atomicï¼ãªãã¡ã¤ã«æä½ã«ã¤ãã¦3ç·¨ã«åãã¦ç´¹ä»ãã¾ãããã®å 容ã¯å¼ç¤¾ã®ç¤¾å åå¼·ä¼ã§è©±ããå 容ãã¾ã¨ãç´ãããã®ã§ãã ãã®ãã¡ã¤ã«ãå®å ¨ã«æ´æ°ã§ãã¦ãã¾ããï¼ï¼ã¢ãããã¯ãªãã¡ã¤ã«æä½ï¼åç·¨ï¼âä»å ãã®ãã¡ã¤ã«ãå®å ¨ã«ä½æã§ãã¦ãã¾ããï¼ï¼ã¢ãããã¯ãªãã¡ã¤ã«æä½ï¼ä¸ç·¨ï¼ ãã®ãã¡ã¤ã«ãå®å ¨ã«ããã¯ã§ãã¦ãã¾ããï¼ï¼ã¢ãããã¯ãªãã¡ã¤ã«æä½ï¼å¾ç·¨ï¼ ä»åã¯ãã¿ãªãããå®å ¨ã«ãã¡ã¤ã«ã®æ´æ°ãã§ãã¦ãã¾ããï¼ãã¨ãããã¨ã«ã¤ãã¦ãèãã¦ã¿ã¾ãããã ããªãã¯ãããµã¼ãä¸ã®ãã¡ã¤ã«ã®æ´æ°ãä¾é ¼ãããããã£ããã¡ã¤ã«ããµã¼ãä¸ã§ã³ãã¼ãã¦ä¸æ¸ããã¾ããããã°ãããã¦ããã¼ã¿ã«ç°å¸¸ãçºçããã®ã§èª¿ã¹ã¦æ¬²ããã¨è¨ããã¾ããããã¦ãä½ãèµ·ã
Stop using tail -f (mostly) 12 Mar 2015 I still see a lot of people using tail -f to monitor files that are changing, mostly log files. If you are one of them, let me show you a better alternative: less +F The less documentation explains well what this +F is all about: Scroll forward, and keep trying to read when the end of file is reached. Normally this command would be used when already at the e
Linuxã®ãã¡ã¤ã«ã«ã¯3ã¤ã®ã¿ã¤ã ã¹ã¿ã³ããããã atime ... æçµã¢ã¯ã»ã¹æ¥æ mtime ... æçµå¤æ´æ¥æ ctime ... æçµã¹ãã¼ã¿ã¹å¤æ´æ¥æ ** ã¿ã¤ã ã¹ã¿ã³ãã®è¡¨ç¤º |sh| ls -lu # atimeã®è¡¨ç¤º ls -l # mtimeã®è¡¨ç¤º ls -lc # ctimeã®è¡¨ç¤º ||< ã¾ãã¯ãstatã³ãã³ãã§ã表示ã§ããã || $ stat hoge.txt File: `hoge.txt' Size: 79 Blocks: 8 IO Block: 4096 é常ãã¡ã¤ã« Device: ca01h/51713d Inode: 139937 Links: 1 Access: (0664/-rw-rw-r--) Uid: ( 1001/ user) Gid: ( 1001/ user) Access: 2014-12-04 07:20:06.97995
ç¢å£ã§ãã ã¿ãªããã¯Linuxã®tcã¨ããæ©è½ããåç¥ã§ãããããéä¿¡ãããã±ããã®å¸¯åå¶å¾¡ãè¡ããã¨ãã§ãã大å¤å¼·åãªæ©è½ã§ãã°ãªã¼ã§ãããã¤ãã®ç¨éã§ä½¿ç¨ããã¦ãã¾ãã å ·ä½çãªäºä¾ã®ä¸ã¤ã¯Redisã§ããRedisã§ã¯replicationãæ°è¦ã«éå§ããéãfailoverãçºçãmasterãåãæ¿ãã£ãé(ç¹ã«2.6ç³»)ã«ã¹ãã¢ããã¦ããå ¨ãã¼ã¿ã転éããã¾ããããã帯åå¶éããããæ©è½ããªãããããããã¯ã¼ã¯å¸¯åãå§è¿«ãã¦ãã¾ãå±éºæ§ãããã¾ããã¾ãé常ã®ã¯ã©ã¤ã¢ã³ãã¨ã®éä¿¡ã§ã大éã®ã¯ã¨ãªã«ããäºæ³ä»¥ä¸ã®å¸¯åã使ç¨ãã¦ãã¾ãå¯è½æ§ãããã¾ãããã®ãããªå ´åã«tcãç¨ãããã¨ã§Redisã®ä½¿ç¨ãã帯åãã³ã³ããã¼ã«ã§ãã¾ãã ãã®ããã«æç¨ãªtcã§ããæ®å¿µãªãã¨ã«æ¥æ¬èª/è±èªã¨ãã«ãããããã解説ã詳細ãªæ å ±ã¯å¤ãããã¾ããã ç§ã社å ã«ããã¦ä½¿ããã¦ããtcã®è¨å®ã«åé¡ã
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ã©ã³ãã³ã°
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}