全文検索:
- 01 Bash - 制御文 @bash
- . </code> ===== 条件 ===== ^ ファイル形式のチェック ^^ |-b File|指定したFileがブロックデバイスファイルなら真である。 | |-c File|指定したFileがキャラクタデバイスファイルなら真である。| |-d File|指定したFileがディレクトリなら真である。| |-f File|指定したFileが通常ファイルなら真である。| |-L
- Formatting Syntax @wiki
- mple markup language, which tries to make the datafiles to be as readable as possible. This page contain... is behavior can be enabled in the [[doku>config]] file. Hint: If DokuWiki is a link, then it's enabled. ... ?php /** * Customization of the english language file * Copy only the strings that needs to be modifie... ning the syntax for links and [[#images_and_other_files|images]] (see below) like this: [[http://php.
- UNIXBENCH @02_freebsd:08_benchmarks
- 117.7 lps (29.8 secs, 3 samples) File Read 1024 bufsize 2000 maxblocks 77817.0 KBps (30.0 secs, 3 samples) File Write 1024 bufsize 2000 maxblocks 15344.0 KBps (30.0 secs, 3 samples) File Copy 1024 bufsize 2000 maxblocks 15387.0 KBps (30.0 secs, 3 samples) File Read 256 bufsize 500 maxblocks 24471.0 KBps
- 10 InnoDBパフォーマンス @01_linux:11_データベース:01_mysql
- _pool_sizeは、DBのみ動作の場合物理メモリの70%~80%程度 innodb_log_files_in_group×innodb_log_file_size < innodb_buffer_pool_size innodb_data_file_path = ibdata1:1G innodb_log_file_size=256M innodb_log_files_in_group=20 下記のようにib_lobfileを分割して保存する
- 52 MySQLQ sysbench 1.0 @01_linux:11_データベース:01_mysql
- ddev): 299.8689/0.00 </code> ===== CPU/Memory/Fileio ===== ==== CPU ==== <code> # sysbench cpu run ... on time (avg/stddev): 4.8033/0.00 </code> ==== Fileio ==== <code> sysbench fileio --file-total-size=1G --file-test-mode=rndrw --time=300 --max-requests=0 prepare sysbench fileio --fil
- 32 CentOS5でTLS1.2 Apache PHP @01_linux:02_www
- ode> xml/apr_xml.c:35:19: error: expat.h: No such file or directory xml/apr_xml.c:66: error: expected sp... enable-setenvif \ --enable-authn-alias \ --enable-file-cache \ --enable-disk-cache \ --enable-mem-cache ... 60,62c60,62 < httpd=${HTTPD-/usr/sbin/httpd} < pidfile=${PIDFILE-/var/log/httpd/${prog}.pid} < lockfile=${LOCKFILE-/var/lock/subsys/${prog}} --- > httpd=${HTT
- 13 簡単なパケロスチェックプログラム @bash:script
- de console> #!/bin/sh IP=$1 LOG_DIR="./logs" LOG_FILE=${LOG_DIR}/${IP}_ping.log LOTATE_TIME="0000" # 00... while true; do date "+%Y%m%d-%H%M%S" >> ${LOG_FILE}; ping ${IP} -c 60 >> ${LOG_FILE}; if [ "$(date "+%H%M")" = "${LOTATE_TIME}" ];then D=`date "+%Y%m%d"` LOTATE_FILE=`echo ${LOG_FILE} | sed "s/.log$/_${D}.log/g"`
- 51 MySQLベンチマーク(mysqlslap) @01_linux:11_データベース:01_mysql
- ONS] Default options are read from the following files in the given order: /etc/my.cnf /etc/mysql/my.cn... Don't read default options from any option file. --defaults-file=# Only read default options from the given file #. --defaults-extra-file=# Read this file after t
- 2023.05.31 Pandas Error @50_dialy:2023:05
- ==== <code> Traceback (most recent call last): File "C:\Users\s-matsui\Desktop\_kabu\thread_board_kabucom2.py", line 1469, in <module> main() File "C:\Users\s-matsui\Desktop\_kabu\thread_board_kab... , line 1465, in main schedule.run_pending() File "c:\py\Lib\site-packages\schedule\__init__.py", l... run_pending default_scheduler.run_pending() File "c:\py\Lib\site-packages\schedule\__init__.py", l
- 91 ZabbixのMySQLが遅い @01_linux:04_監視:zabbix
- ==== テーブル分割して、innodb_buffer_pool_sizeとinnodb_log_file_sizeを増やしてみる <code console> # vi /etc/my.cnf innodb_file_per_table innodb_buffer_pool_size=512M innodb_log_file_size=128M </code> innodb_buffer_pool_sizeは、DBのみ動作の場合物理メモリの70%~80%程度 innodb_log_files_in_group×innodb_log_file_size < innodb_buffer_po
- 75 Proftpd @01_linux:01_net
- e on TLSProtocol TLSv1.2 TLSRSACertificateFile /usr/local/proftpd/etc/proftpd.cert.pem TLSRSACertificateKeyFile /usr/local/proftpd/etc/proftpd.key.pem TLSCip... oftpd.log SyslogLevel info PidFile /usr/local/proftpd/var/pr... hoge.com AuthOrder mod_auth_file.c AuthUserFile /etc/proftpd.pa
- 24 バックアップシェル(backup.sh) @bash:script
- UP_LIST=${BACKUP_DIR}/conf TAR_OP="--sparse --one-file-system -zcp --numeric-owner --xattrs ." usage_exi... ho "Usage: $0 [-H host] [-p period type] [-l list_file] " 1>&2 exit 1 } while getopts p:H:l:h: ... ho "backup: $LINE" DIR=${LINE%:*} FILE_NAME=${LINE#*:} dir_check $BK_DIR ... dir_check $BK_DIR/DB if [ "${FILE_NAME}" == "all" ];then ssh $BAKHO
- 13 CentOS6メール設定 @01_linux:03_mail
- ----------------- (76行目に追加) Patch0: postfix-2.6.1-files.patch Patch1: postfix-alternatives.patch Patch2:... x-vda-v11-2.9.5.patch (152行目に追加) %patch0 -p1 -b .files %patch1 -p1 -b .alternatives %patch2 -p1 -b .lar... stname ## 証明書 smtpd_use_tls = yes smtpd_tls_cert_file = /etc/pki/tls/certs/mail.pem smtpd_tls_key_file = /etc/pki/tls/certs/mail.pem smtpd_tls_session_cache_
- FreeBSD カーネル再構築 @02_freebsd:99_その他
- de> # # GENERIC -- Generic kernel configuration file for FreeBSD/i386 # # For more information on this file, please read the handbook section on # Kernel Configuration Files: # # http://www.FreeBSD.org/doc/en_US.ISO88... is also present in the ../../conf/NOTES and NOTES files. # If you are in doubt as to the purpose or nec
- Rebuilding the FreeBSD Kernel @en:02_freebsd:99_その他
- de> # # GENERIC -- Generic kernel configuration file for FreeBSD/i386 # # For more information on this file, please read the handbook section on # Kernel Configuration Files: # # http://www.FreeBSD.org/doc/en_US.ISO88... is also present in the ../../conf/NOTES and NOTES files. # If you are in doubt as to the purpose or nec