はてなブックマークで「プログラミング言語人気TOP10の簡易解説」というページが話題になっている。 TIOBE のプログラミング言語ランキングトップ10 (ただし VB は除く) のプログラミング言語の特徴、短所 / 長所を解説したものだが、(このような記事にはよくあることだが) ツッコミどころや不足している説明もやや見られる。百戦錬磨のプログラマが集う /.Jer のみなさんなら、これらの言語をどう紹介するだろうか ?
この存命人物の記事には検証可能な出典が不足しています。 信頼できる情報源の提供に協力をお願いします。存命人物に関する出典の無い、もしくは不完全な情報に基づいた論争の材料、特に潜在的に中傷・誹謗・名誉毀損あるいは有害となるものはすぐに除去する必要があります。 出典検索?: "月亭方正" – ニュース · 書籍 · スカラー · CiNii · J-STAGE · NDL · dlib.jp · ジャパンサーチ · TWL (2015年3月)
メモリ使用量を比べると Fluxbox=6~7MB に対して、WindowLab=300~600KB なので、リソースが乏しいザウルスには最適。 徒然な覚書 : WindowLab より 2006 年 7 月 29 日に引用 があったので、自分の使ってる sawfish についても調べてみようとして、ハタと困った。プロセスごとのメモリー使用量の調べ方が分かんない。 というわけで、メモリー使用量を調べる方法をメモ。 ps alx 調べ方は、分かってしまえば簡単。次のコマンドを実行する。 $ ps alx すると、ズラーと次のような結果が表示される。 F UID PID PPID PRI NI VSZ RSS WCHAN STAT TTY TIME COMMAND 4 0 1 0 16 0 1896 464 - S ? 0:06 init [5] 1 0 2 1 34 19 0 0 - SWN
最初に断っておくと、このエントリーでは結構無茶なやり方してるんで、勇者な人以外は真似しない方がいいと思う。転んでも泣かないって人はやってみれば?って感じで頼む。 まずは以前から参考にしている正しいお作法が書かれたページにリンクしておきます。ただし、あくまでもFedoraでのお話なので、まんまCentOSに当てはまるってわけじゃないところに注意です。 ずんWiki - Fedora upgrade http://www.kawaz.jp/pukiwiki/?Fedora%20upgrade YumUpgradeFaq - FedoraProject http://fedoraproject.org/wiki/YumUpgradeFaq 「Fedora 8」が公開。yum で Fedora 7 からアップグレード http://fun.poosan.net/sawa/index.ph
前回の記事で、CentOS 5.0 について書いたが、CentOS 4.4 からアップグレードしたので、それについてのメモ。 (1) yum を使ってアップグレード (ただし失敗) まず、yum を使ってアップグレードを試みたが、カーネルの依存関係の問題で conflict を起こし、どうしても解消できなかった。 ※参考:「Fedora Core 5 -> Fedora Core 6 アップグレード」 以下、yum で試してうまくいかなかった作業状況について書いておく。 まず、現在の CentOS 4.4 のパッケージを最新のものにする。 # yum update 次に、OS のアップグレードを行う。 アップグレード用の RPM パッケージは、たとえば以下の URL からインストールできる。 # rpm -Uvh \ http://mirror.centos.org/centos/5.0/
サーバのファイル整理作業をしていたところ…、 間違えてrm -rfしてしまった! ぎゃーバックアップもねー! 長いこと生きてたらこんな経験の1度や2度はありますよね? えぇ、ついさっきやらかしちゃいましたwwオワタwww 速攻「rm 復活」とか「rm 取り消し」とかでググッたねw、したらmcってプログラムのUndelete機能使えばよいって情報が出てくるが、どうやらこれext2じゃないと使えないっぽいぞ…、うちext4だ。 混乱。以下ターミナルのヒストリーより実況。 ## こーいうときはまずあれだ、現場保存! ## まずは今いるパーティションを確認 # df -hT Filesystem Type サイズ 使用 残り 使用% マウント位置 /dev/sdb2 ext4 193G 6.9G 176G 4% / /dev/sdb1 ext3 194M 22M 163M 12% /boot /d
ソフトウエア Windows 7 Home Premium (64bit)VMware Player 3.1.3 build-324285Tera Term 4.67 作る物 CentOS # cat /etc/redhat-release CentOS release 5.5 (Final) # uname -a Linux localhost.localdomain 2.6.18-194.32.1.el5 #1 SMP Wed Jan 5 17:52:25 EST 2011 x86_64 x86_64 x86_64 GNU/Linux Apache # /usr/sbin/httpd -v Server version: Apache/2.2.3 Server built: Aug 30 2010 12:28:40 MySQL # mysql --version mysql Ver 1
ozuma 曰く、 "BSDforums.orgの記事によると、Outside Looking In: The BSD Operating Systems と題して、「なぜBSDsは技術的には遜色が無いのに、同じオープンソースOSであるLinuxほどに普及していないのか?」というレポートが掲載されている。その理由としては、インストーラの不親切さ、Linuxに比べてBSDのサービス/技術サポートなどを業務内容とする企業の少なさ、開発者のコミュニティが閉鎖的に感じられること、BSDにはメインストリームが無いこと、等が挙げられている。" "タレコミ人は現在もFreeBSDを使っているが、それは当時PC-9800シリーズでPC-UNIXを動かそうとする場合の主流はFreeBSD(98)だったから、という単純な理由である。日本は比較的FreeBSDユーザの割合が大きいと聞くが、普段の作業にLinux
縦分割が目的で使い始めた開発版の GNU Screen。CVS、Subversion、Gitとリポジトリを追いかけていると、他にも便利な機能があることが分かってきました。ここ半年ほど主だった変更はありませんが、4.1.0 のリリースに向けてドキュメントも整備されてきたようですので、2年ほど使用してきて分かってきた変更点をまとめようと思います。 4.1.0における変更点 ここで取り上げる変更点は次の通り。詳細は ChangeLog などを確認してください。 新しい機能 縦分割 レイアウト ウィンドウグループ マウス操作のサポート コマンドメッセージの抑止 外部からのコマンド問合せ 拡張されたコマンド/機能 最大ウィンドウ数の増加 ウィンドウ番号の相対指定 イベント発生ウィンドウの装飾設定 設定で使用可能な変数/書式の追加 ウィンドウリスト/画面リストの拡張 その他 256色サポート コマンド
write はページに dirty フラグを立てるだけなので決してユーザープロセスを待たせない って、本当にそうなんでしょうか?(否定しているわけではなく、純粋な疑問です。) と質問をもらったので、最近追ったことをここでまとめます。かなり長文です、すいません。また、まだまだ不勉強なので間違っているところもあるかもしれません。ツッコミ大歓迎です。 まず、オライリーのカーネル本の 15章 ページキャッシュ 15.3 汚れたページのディスクへの書き込み から引用。 ご存知のように、カーネルは、ブロック型デバイスのデータを含むページをページキャッシュに蓄えています。プロセスが何らかのデータを更新した場合は、必ず対応するページに汚れている印をつけます。すなわち、PG_dirty フラグを設定します。 UNIX システムでは、汚れたページのブロック型デバイスへの書き込みを遅延することができます。この方
vmstat 1 して、ボ〜っと眺めてると $ vmstat 1 procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu---- r b swpd free buff cache si so bi bo in cs us sy id wa 1 1 44 21620 140900 487244 0 0 0 444 270 195 0 0 95 5 procs の b が「割り込みを禁止しているプロセスの数」で これは 0 が望ましいわけですが。 0以外になったとき「誰が犯人だ!」と思うのです。 犯人探し 多分手抜きです。 ps で出力される STAT が D のプロセスが io待ち のプロセスである。 ということで、1秒周期で D のプロセスを出力するスクリプトがこれ。 (while true; do
最近CentOSが不安定なので、Oops発生で自動再起動するように設定しておく。 原因は、平行して調査中。 【過去のOops内容】 ・Memory不足のようだが、特定できない。 ・Unable to handle kernel paging request at virtual address xxxxxxxxx が、ダウンした時は共通してログされている。 ※xxxxxxは任意のアドレスで不定 ・EIP is at write_inode+0xf/0x37 または、 EIP is at iput+0x25/0x61 ※前者は、2009.05.27 06:20、2008.04.18、2007.06.15 05:30 ※後者は、2009.05.08 05:13 ・症状としては、pingで応答はするが、sshでログイン出来ず、Power Off/Onせざる を得ない。 【Oopsを検出し
[linux-users:62876] Re: [ Q]Unable to handle kernel paging request 楠根です。 kernel hacking をしていてしょっちゅう kernel を刺さらせていますので、 そういう時に私がどうしてるかを書きます。 運用だけできれば kernel はどうでもいいや という人には向かない解決もあるかもしれませんが、 使えそうなものだけ使って下さい。 In linux-users No.62871 Subject: [linux-users:62871] [ Q] Unable to handle kernel paging request Shigehiro Tani <s-tani _at_ tugsystem.co.jp> wrote: >> 2.このようなメッセージの内容を調べるためにはどうすればよいのでしょうか。 >>
Linuxデバイスドライバ 第2版 作者: Alessandro Rubini,Jonathan Corbet,山崎康宏,山崎邦子,長原宏治,長原陽子出版社/メーカー: オライリー・ジャパン発売日: 2002/05メディア: 単行本 クリック: 3回この商品を含むブログ (16件) を見る の第3版(英語版)がオンラインで読める。http://lwn.net/Kernel/LDD3/ Linux Device Drivers, Third Edition This is the web site for the Third Edition of Linux Device Drivers, by Jonathan Corbet, Alessandro Rubini, and Greg Kroah-Hartman. For the moment, only the finished PDF f
HDDは使っているうちに不良セクタが出来てしまうことがあります。 不幸にもこのような状態に陥ったとき(あるいはそれを検出するとき)の手順を簡単にメモしました。 ちょうど私の家のサーバが調子悪かったときのメモです。 現在の不良セクタを確認します。 # dumpe2fs -b /dev/hda4 いろいろなe2fsの情報が見れます。 # dumpe2fs /dev/hda4 検査 # cd / # badblocks -s -o badblocks.hda4 /dev/hda4 このオプションならば非破壊です。マウントしていてもいいらしいです。 -s は経過表示 -o ファイル名 は、不良セクタがあったときのブロック番号のファイル化です。(登録時に使う) なお、すでに不良セクタが登録されている場合は # badblocks -s -i badblocks.hda4 -o badblocks2.
少し前からバックアップをしないとまずいなと思っている矢先に、現用機が再インストールするような事態に追い込まれてしまいました。幸いにもバックアップテストをしていたので、前日のHPのデータはバックアップできていたので、つなぎで運用を維持できました。ということで、備えあれば憂いなしということで、rsyncでデータのバックアップをすることにしました。RAIDを使ったり、CPUや電源を二重化したりしてサーバ機自体を高信頼化する方法もありますが、ホットスワップ等を考えるとかなりの費用がかかるのと、当然維持費(電気代)も高くなります。また、壊れるのはHDDやCPU、メモリだけとは限らず、奥さんパソコンで経験したようなマザーボード障害となると、簡単には復旧できません。 従って、障害時にとりあえずサーバを復旧させ、時間があるときにサーバを復旧できるよう、他のパソコン(奥さんのパソコン)にLinuxを入れ、不
例えば、LastChangedRevisionを有効にするには $ svn propset svn:keywords "LastChangedRevision" Greeting.java ファイル個別に毎回指定しなくても、あるパターンのファイルにキーワード置換属性を指定する Windows Vistaならユーザーディレクトリ下の\AppData\Roaming\Subversionディレクトリ内にあるconfigファイルを設定します。 enable-auto-props = yes *.java = svn:keywords=Id *.sdoc = svn:keywords=Id 拡張子.java、.sdocのファイルをSVNで追加すると、キーワードIdの置換が有効になります。 ネットワークからアクセスするには HTTP(HTTPS)の場合 WebDAV/deltaVプロトコルで通信する
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く