This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/ruby1.9 -w | |
| # -*- coding: utf-8 -*- | |
| # | |
| # usage: ruby b2gp.rb [path to csv] | |
| # | |
| # あらかじめ複数の csv ファイルを | |
| # for f in `ls *.csv`; do tail -n 1 $f >> all.csv; done | |
| # みたいにして 1 ファイルにしておくこと. | |
| require "csv" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # | |
| # Summarize script from results output for Dell DVD Store | |
| for d in `find . -mindepth 1 -type d` | |
| do | |
| touch $d/summary.txt | |
| echo "clients order/sec cpu usage response time" >> $d/summary.txt | |
| for f in `ls $d/results*.txt | sort -g` | |
| do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # | |
| # rc.6/rc.0: Reboot or shutdown system. | |
| # | |
| # Set the path. | |
| PATH=/bin:/usr/bin:/sbin:/usr/sbin | |
| # Set linefeed mode to avoid staircase effect. | |
| stty onlcr |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # | |
| # rc.M: Initialize for multi-user mode. | |
| # | |
| # マルチユーザモードの初期化を行う | |
| # | |
| # 初期化内容: | |
| # ライブラリ・CD-ROMマウント・ネットワーク・HotPlug(デバイス自動認識)・PCMCIA・ | |
| # ALSAミキサ・syslogd・rc.inet2・NFS・autofs・lpd・apmd・crond・atd・ | |
| # 日本語入力システム(Canna・Wnn・SKKserv・ATOKx2)・ndtpd・PostgreSQL・Apache・ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| # | |
| # /etc/rc.d/rc.S: Initialize system. | |
| # | |
| # シングルユーザモード・マルチユーザモード共通の初期化を行なう | |
| # | |
| # 初期化内容: | |
| # udev・ローカルファイルシステム・ホスト名・RTC・syslogd/klogd(仮起動)・ | |
| # CPUクロック(仮設定)・ISAPnP・カーネルモジュール・フレームバッファ・unicon・ | |
| # コンソールフォント・キーマップ・motd/issue・シリアルポート |
NewerOlder