Hatena::Grouptech

id:rx7(@namikawa)の技術メモ このページをアンテナに追加 RSSフィード

過去記事一覧 | Main Blog (元RX-7乗りの適当な日々) | SBM (id:rx7のBookmark)

2010/11/29

UbuntuのPythonでeasy_installやpipを使いたい場合

| UbuntuのPythonでeasy_installやpipを使いたい場合 - id:rx7(@namikawa)の技術メモ を含むブックマーク はてなブックマーク - UbuntuのPythonでeasy_installやpipを使いたい場合 - id:rx7(@namikawa)の技術メモ UbuntuのPythonでeasy_installやpipを使いたい場合 - id:rx7(@namikawa)の技術メモ のブックマークコメント

easy_install

$ sudo apt-get install python-setuptools

pip

$ sudo apt-get install python-pip
トラックバック - http://tech.g.hatena.ne.jp/rx7/20101129

2010/11/22

fio-status

| fio-status - id:rx7(@namikawa)の技術メモ を含むブックマーク はてなブックマーク - fio-status - id:rx7(@namikawa)の技術メモ fio-status - id:rx7(@namikawa)の技術メモ のブックマークコメント

"Fusion-io ioDrive Duo MLC 640GB"

fio-status -a

# fio-status -a

Found 2 ioDrives in this system with 1 ioDrive Duo
Fusion-io driver version: 2.1.0 build 240

Adapter: ioDrive Duo
        HP 640GB MLC PCIe ioDrive Duo for ProLiant Servers, Product Number:600282-B21 SN:xxxxx
        ioDrive Duo HL, PN:001xxxxxxxx, Mfr:004, Date:20100919
        External Power: NOT connected
        Powerloss protection: available
        PCIE Bus voltage: avg 11.90V, min 11.75V, max 11.98V
        PCIE Bus current: avg 0.00A, max 2.90A
        PCIE Bus power: avg 0.00W, max 0.00W
        PCIE Power limit threshold: 24.75W
        PCIE slot available power: 25.00W
        PCIE bus errors: correctable, unsupported request
        PCIE negotiated link: 8 lanes at 5.00 Gbits/sec each, 4000 MBytes/sec total
        Connected ioDimm modules:
          fct0: HP 640GB MLC PCIe ioDrive Duo for ProLiant Servers, Product Number:600282-B21 SN:xxxxx
          fct1: HP 640GB MLC PCIe ioDrive Duo for ProLiant Servers, Product Number:600282-B21 SN:xxxxx

fct0    Attached as 'fioa' (block device)
        HP 640GB MLC PCIe ioDrive Duo for ProLiant Servers, Product Number:600282-B21 SN:xxxxx
        HP ioDIMM 320GB, PN:002xxxxxxxx, Mfr:004, Date:20100917
        Located in 0 Upper slot of ioDrive Duo SN:xxxxxx
        Powerloss protection: protected
        PCI:07:00.0, Slot Number: Unavailable
        Vendor:1aed, Device:1005, Sub vendor:103c, Sub device:178e
        Firmware v5.0.3, rev 43247
        322.46 GBytes block device size, 396 GBytes physical device size
        Error correction: 11 bits per 240 bytes
        Format v004, 629,806,848 sectors of 512 bytes
        FPGA ID:0 Format UID:00000000908b0132b735004210daa400
        PCIE slot available power: 25.00W
        PCIE negotiated link: 4 lanes at 2.50 Gbits/sec each, 1000 MBytes/sec total
        Internal temperature: avg 50.7 degC, max 56.1 degC
        Board temperature: 40 degC
        Internal voltage: avg 1.028V, max 1.031V
        Aux voltage: avg 2.461V, max 2.464V
        Media status: Healthy; Reserves: 100.00%, warn at 10.00%
        Lifetime data volumes:
           Physical bytes written: 2,213,319,448,568
           Physical bytes read   : 2,189,074,722,536

fct1    Attached as 'fiob' (block device)
        HP 640GB MLC PCIe ioDrive Duo for ProLiant Servers, Product Number:600282-B21 SN:xxxxx
        HP ioDIMM 320GB, PN:002xxxxxxxx, Mfr:004, Date:20100917
        Located in 1 Lower slot of ioDrive Duo SN:xxxxxx
        Powerloss protection: protected
        PCI:08:00.0, Slot Number: Unavailable
        Vendor:1aed, Device:1005, Sub vendor:103c, Sub device:178e
        Firmware v5.0.3, rev 43247
        322.46 GBytes block device size, 396 GBytes physical device size
        Error correction: 11 bits per 240 bytes
        Format v004, 629,806,848 sectors of 512 bytes
        FPGA ID:0 Format UID:0000000115630132b735004210daa400
        PCIE slot available power: 25.00W
        PCIE negotiated link: 4 lanes at 2.50 Gbits/sec each, 1000 MBytes/sec total
        Internal temperature: avg 49.2 degC, max 54.1 degC
        Board temperature: 39 degC
        Internal voltage: avg 1.014V, max 1.014V
        Aux voltage: avg 2.458V, max 2.461V
        Media status: Healthy; Reserves: 100.00%, warn at 10.00%
        Lifetime data volumes:
           Physical bytes written: 2,211,806,766,816
           Physical bytes read   : 2,185,788,095,984

fio-status --help

# fio-status --help
Fusion-io fio-status utility (2.1.0.240 optimusprime@4a5881616570)
  General information utility for Fusion-io devices.
  Copyright 2006-2010 Fusion Multisystems, Inc., dba Fusion-io. All rights reserved.
usage: fio-status [<options>] [<dev>]
  <dev> is a pathname to the control device (fctx).
  Options:
   -a          --all               Report all available information.
   -c          --count             fio-board-count mode: Report the number of Fusion-io boards installed.
   -d          --data-volume       Report the volume of data read and written.
   -fk         --format key        Force alternate 'key=value' format output.
   -v          --version           Print version information
   -h          --help              Print the help menu
トラックバック - http://tech.g.hatena.ne.jp/rx7/20101122

2010/11/01

irbでreadlineを有効にする

| irbでreadlineを有効にする - id:rx7(@namikawa)の技術メモ を含むブックマーク はてなブックマーク - irbでreadlineを有効にする - id:rx7(@namikawa)の技術メモ irbでreadlineを有効にする - id:rx7(@namikawa)の技術メモ のブックマークコメント

$ irb --readline -r irb/completion

.irbrcに書け、とか色々あるだろうけど、とりあえず的な。

# もちろん、readlineはインストールしておく。


で、きっと.irbrcで有効にするんだろう、、、な。

$ cat ~/.irbrc 
・・・省略・・・

require 'irb/completion'

・・・省略・・・
トラックバック - http://tech.g.hatena.ne.jp/rx7/20101101