MacOSX

ntpd

psで見るとntpdが動いてるのになぜか接続できなかった。 ntpdは通常ntp.confファイルを編集することで編集します。OS Xのntpdの場合は少し変わっていて、設定ファイルが2つ(ntp.confとntp-restrict.conf)あります。しかしながら通常の ntpdの設定項目が2つ…

ディスク強制Eject

再起動時に、ディスクが取り出されるまでマウスのボタンを押し続けます。 http://docs.info.apple.com/jarticle.html?path=Mac/10.5/jp/11500.htmlただし今回はリモートからsshで入ってDVD Playerのプロセスをkillすれば普通に取り出せた。 よく考えたら、co…

ハード情報のリストアップ

linuxでいうlspci,lsmodのようなコマンドとしては以下のコマンドが使えそう kextstat -- prints a list of loaded kernel extensions ioreg -- ioreg displays the current I/O Registry. http://forums.macosxhints.com/showthread.php?t=69716 ioregはデバ…

bootpd

MacOSXではdhcpdのかわりにbootpdが入っている。 設定ファイルは/etc/bootpd.plist Mac OS X Manual Page For bootpd(8) bootpd -- DHCP/BOOTP/NetBoot server http://developer.apple.com/documentation/Darwin/Reference/ManPages/man8/bootpd.8.html こう…

lddはotool -L

よく見るとライブラリファイルのファイル名、拡張子等も違う。 $ otool -L /bin/bash /bin/bash: /usr/lib/libncurses.5.4.dylib (compatibility version 5.4.0, current version 5.4.0) /usr/lib/libiconv.2.dylib (compatibility version 7.0.0, current v…

lpstatとlpinfo

なんか名前の意味が似てるのでこんがらかる… lpstat $ lpstat -t スケジューラは動作中です システムのデフォルトの宛先: hp_psc_2300_series hp_psc_2300_series のデバイス: ///dev/null hp_psc_2300_series は 土 2/12 02:46:12 2008 以来リクエストを受…