Powerful text editor with extensive Unicode and CJK support.
A long, long time ago when I was mastering Linux I created three cheat sheets about GNU fileutils, GNU shellutils and GNU textutils. I kept keep them in front of me at all times and I quickly memorized which commands did what. A few days ago I remembered about them and decided to publish them on my blog but it turned out fileutils, shellutils and textutils had been merged in GNU coreutils in 2003;
いつも思いだすのに時間がかかるというか、ググるのでメモ。 例えば、ベンチマークとかをとっていて、残ったキャッシュを奇麗さっぱりに消したい時とかに使う。 Linuxのメモリで保持しているキャッシュをクリアするには、以下を実行する。 # sync # echo 3 > /proc/sys/vm/drop_caches 値の意味としては、、、 1: ページキャッシュを解放 2: dentry、inode を解放 3: ページキャッシュ、dentry、inode を解放 以下を参考に。 /proc/sys/vm/drop_caches (Linux 2.6.16 以降) このファイルに書き込みを行うことで、クリーンなキャッシュ、dentry、 inode をメモリ上から外し、そのメモリを解放する。 ページキャッシュを解放するには、 echo 1 > /proc/sys/vm/drop_caches
vmtouch - the Virtual Memory Toucher Portable file system cache diagnostics and control Download from github Read the online manual vmtouch is a tool for learning about and controlling the file system cache of unix and unix-like systems. It is BSD licensed so you can basically do whatever you want with it. Quick install guide: $ git clone https://github.com/hoytech/vmtouch.git $ cd vmtouch $ make
(mobile shell) Remote terminal application that allows roaming, supports intermittent connectivity, and provides intelligent local echo and line editing of user keystrokes. Mosh is a replacement for interactive SSH terminals. It's more robust and responsive, especially over Wi-Fi, cellular, and long-distance links. Mosh is free software, available for GNU/Linux, BSD, macOS, Solaris, Android, Chrom
サーバーのリソースを見るにはグラフ化は重要ですが、推移ではなくリアルタイムな状況、例えば秒単位のスパイキーな負荷を見るには、サーバー上でvmstatやiostatなどの*statファミリーを叩く必要があります。 さて、vmstatはメモリの状況やブロック数単位のI/O状況は見られますが、バイト単位のI/O状況やネットワークの送信、受信バイト数を見ることはできません。 # 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 3 1 0 4724956 355452 726532 0 0 54 484 3 3 1 0 99 0 0 2 0 0 47
What is LIRC ? LIRC is a package that allows you to decode and send infra-red signals of many (but not all) commonly used remote controls. Recent linux kernels makes it possible to use some IR remote controls as regular input devices. Sometimes this makes LIRC redundant. However, LIRC offers more flexibility and functionality and is still the right tool in a lot of scenarios. The most important pa
Voyage MPD is a special edition of Voyage Linux that makes embedded hardware (e.g. ATOM, ALIX) become your favourite digital music player and Computer-Audio-Source (CAS) system. Latest versions: voyage-mpd-0.10.0.tar.bz2 [2015-05-01] [Live CD] Snapshot Build: voyage-mpd-current.tar.bz2 [Live CD] Older versions: voyage-mpd-0.9.5.tar.bz2 [2014-11-11] [Live CD] voyage-mpd-0.9.2.tar.bz2 [2013-12-20] [
cronの語源がギリシャ神話の時間の神クロノス(chronos/kronos)だったとはマジに知らなかった。 語源は別にしてcrontabマクロというのがあるんですね。こんな感じに@rebootとするとOS起動時に test.pl を実行してくれる。/etc/rc.localに書いておくようなものですね。 $ crontab -l @reboot /home/user/test.pl http://en.wikipedia.org/wiki/Cron#Predefined_scheduling_definitions Entry Description Equivalent To @yearly (or @annually) Run once a year 0 0 1 1 * @monthly Run once a month 0 0 1 * * @weekly Run once a we
linux(bash)でログアウトしてもジョブを停止したくないとき. $ nohup ./program nohupし忘れて途中からnohupしたいとき, (ジョブ番号を1とする) $ disown %1これで,shellのジョブ管理から切り離されるので ログアウトしてもジョブは実行され続ける. この時,コマンドをbgでバックグラウンドジョブにしておかないと 停止したまま,shellの管理を離れてしまう. そこでkillコマンドでプロセスにCONTシグナルを送ると再開する. $ kill -CONT pid逆に直接管理下にないプロセスを一時停止したいとき. $ kill -STOP pidkillコマンドは字面からプロセスを殺すことが目的か というとそうでもなく, シグナルを送るのがお仕事だったりする. 参考 Manpage of BASH Manpage of KILL
Celebrating 20 years of Linux with a look back at the creator, Linus Torvalds, in pictures. We hope you will join The Linux Foundation and Linus at LinuxCon in August in Vancouver, B.C. To see all 14 pictures, check out the this special Linus Torvalds in Pictures slideshow. For more information about attending LinuxCon and the 20th Anniversary of Linux LinuxCon Gala, visit the LinuxCon website.
Things you (probably) didn’t know about xargs 26 June 2011 - Bangalore, India If you’ve spent any amount of time at a Unix command line you’ve probably already seen xargs. In case you haven’t, xargs is a command used to execute commands based on arguments from standard input. Common use cases I often see xargs used in combination with find in order to do something with the list of files returned b
The document provides tools and techniques for profiling and debugging Linux systems and Ruby applications. It discusses the lsof tool for listing open files, strace for tracing system calls, tcpdump for dumping network traffic, Google's perftools for profiling CPU usage, and a perftools.rb gem for profiling Ruby code. Examples are given for using these tools to analyze memory usage, thread schedu
はてなグループの終了日を2020年1月31日(金)に決定しました 以下のエントリの通り、今年末を目処にはてなグループを終了予定である旨をお知らせしておりました。 2019年末を目処に、はてなグループの提供を終了する予定です - はてなグループ日記 このたび、正式に終了日を決定いたしましたので、以下の通りご確認ください。 終了日: 2020年1月31日(金) エクスポート希望申請期限:2020年1月31日(金) 終了日以降は、はてなグループの閲覧および投稿は行えません。日記のエクスポートが必要な方は以下の記事にしたがって手続きをしてください。 はてなグループに投稿された日記データのエクスポートについて - はてなグループ日記 ご利用のみなさまにはご迷惑をおかけいたしますが、どうぞよろしくお願いいたします。 2020-06-25 追記 はてなグループ日記のエクスポートデータは2020年2月28
History This emulator has a long history. The current version is based on TinyEMU and compiled to Javascript or WASM with emscripten. In 2011 I wrote the initial version of JSLinux, the first PC/x86 emulator in Javascript running Linux. I reused parts of another of my emulators (QEMU) for the x86 helpers and the devices. After some time (2015), I modified it to use the asm.js Javascript subset so
This software is part of the GNU Project. NAME parallel - build and execute shell command lines from standard input in parallel DESCRIPTION GNU parallel is a shell tool for executing jobs concurrently locally or using remote computers. A job is typically a single command or a small script that has to be run for each of the lines in the input. The typical input is a list of files, a list of hosts,
さくらのVPS ってデフォルトではファイアーウォールの設定何もされてないという記事をみて驚愕した。と、よく考えたら Ubuntu 10.04 LTS を再インストールしたから、どっちにしても初期状態だな。 とりあえず確かめた。 $ sudo iptables -L Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination オウフ、デフォルトは空なのか…… iptables の設定めんどくせぇなーどうしようかなー、と思っていたら、どうも Ubuntu では ufw という
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く