全文検索:
- UNIXBENCH @02_freebsd:08_benchmarks
- s: 0.84, 0.44, 0.26 -r-xr-xr-x 1 root wheel 105152 3 13 21:47 /bin/sh /bin/sh: ELF 32-bit LS... /usr Dhrystone 2 using register variables 1072288.8 lps (10.0 secs, 10 samples) Double-Precision Whetstone 300.0 MWIPS (10.0 secs, 10 samples)
- ipコマンド/IPエイリアス追加 @02_freebsd:80_unixコマンド
- condaryとしてIPが追加される。 <code> # ip addr add 192.168.100.5/24 brd 192.168.100.255 dev eth0 </code> ===== IP削除 ===== <code> # ip addr del 192.168.100.5/24 brd 192.168.100.255 dev eth0 </code> ===== IP確認 ===== <code> # ip -4 a 1: lo: <LOOPBACK,UP,LOW
- traceroute @02_freebsd:80_unixコマンド
- ute flateight.com traceroute to flateight.com (59.106.13.38), 64 hops max, 40 byte packets 1 218.227... 247.126) 16.920 ms 17.880 ms 16.116 ms 3 219.107.255.254 (219.107.255.254) 19.165 ms 18.637 ms 18.326 ms 4 133.205.1.1 (133.205.1.1) 18.896 ms 18.610 ms 19.348 ms 5 210.173.176.63 (210.173.176.63)
- tar @02_freebsd:80_unixコマンド
- 04 etc/amd.map -rw-rw-r-- root/antivir 3623 11 10 07:38 2004 etc/antivir.conf -rw-r--r-- root/whee... etc/auth.conf -rw-rw-r-- root/antivir 3730 11 10 07:31 2004 etc/avguard.conf -rw-r--r-- root/whee... 6:28 2004 etc/crontab -rw-r--r-- root/wheel 108 5 26 06:28 2004 etc/csh.cshrc -rw-r--r-- root/... .gz ./hoge </code> ==== tar でディレクトリ丸ごとコピー ==== 10.10.10.10の/mnt/ を 10.10.10.20の/mnt/ に丸ごとコピー <code>
- FreeBSD カーネル再構築 @02_freebsd:99_その他
- tions _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions options KBD_INS... ip'') device em # Intel PRO/1000 adapter Gigabit Ethernet Card device ixgb # Intel PRO/10GbE Ethernet Card device txp ... bfe # Broadcom BCM440x 10/100 Ethernet #device bge
- dig @02_freebsd:80_unixコマンド
- yahoo.co.jp. 300 IN A 210.80.242.236 yahoo.co.jp. 300 IN A 210.80.243.14 yahoo.co.jp. 300 IN A 210.81.3.241 yahoo.co.jp. 300 IN A 210.81.150.5 yahoo.co.jp. 900 IN
- ifconfig @02_freebsd:80_unixコマンド
- ether 00:80:ad:71:82:d6 media: 10baseT/UTP status: active supported media: autoselect 10base5/AUI 10base2/BNC 10baseT/UTP <full-duplex> 10baseT/UTP # ifconfig de0 172.17.1.99 netmask 0xffffff00 bro
- netstat @02_freebsd:80_unixコマンド
- eign Address (state) tcp4 0 0 105.233.75.202.e.50205 itpro.nikkeibp.c.http ESTABLISHED tcp4 0 0 105.233.75.202.e.http ThinkPad.4170 TIME_WAIT tcp4 0 0 105.233.75.202.e.http ThinkPad.4169 TIME_WAIT tcp4 0 0 105.233.75.202.e.http ThinkPad.4168 TIME_W
- 20 wait_timeoutとthread_cache_size @02_freebsd:04_database:01_mysql
- -----------------+-------+ | max_connect_errors | 10 | | max_connections | 100 | +--------------------+-------+ 2 rows in set (0.00 sec) </code... なっていないスレッドの数| <code|my.cnf> thread_cache_size = 100 </code> ===== オンラインで反映 ===== wait_timeoutとth... meout = 360; mysql>SET GLOBAL thread_cache_size = 100; </code> ===== thread_cache_sizeの考察 ===== [[h
- 02 ProFTPD @02_freebsd:01_net
- roftpd.org/ より最新のtarballをダウンロードする。 最新はproftpd-1.2.10.tar.gz(2005年4月25日現在) <code console> > wget ftp://ftp.proftpd.org/distrib/source/proftpd-1.2.10.tar.gz </code> ===== パッチを持ってくる ===== http://www... oft.com/haya/linux/proftpd-nlst-patch/proftpd-1.2.10-nlst-ffftp.patch </code> ===== ソースの展開 ===== <code console> > tar zxvf proftpd-1.2.10.tar.gz </code> ===== インストール ===== <code console>
- 01 sed 指定した行を表示 @02_freebsd:80_unixコマンド
- ====== 01 sed 指定した行を表示 ====== ===== 100行目を表示 ===== sed -n 100p testfile ===== 100-110行目を表示する ===== sed -n 110,110p testfile {{tag>sed }}
- unzip @02_freebsd:80_unixコマンド
- --- ---- ---- ---- 4 05-09-14 11:10 a.txt 4 05-09-14 11:10 b.txt 4 05-09-14 11:10 c.txt -------- ------- 12 ... -rw-rw-r-- 2.3 unx 4 tx stor 9-May-14 11:10 a.txt -rw-rw-r-- 2.3 unx 4 tx stor 9-May
- viエディタ @02_freebsd:80_unixコマンド
- の指定ができ、コマンドを実行するのにタイプ量を大幅に減らすことができます。 <code> ▼例 10L 10文字分カーソルを右に移動 3d 3単語前に移動 9dd 9行削除する 8yy 8行コピーする 5H ... を文字列Bに置換| |:::|:::|(全ての行で、合致するパターン全てを置換) | |:::|:10,50s/文字列A/文字列B/g|文字列Aを文字列Bに置換| |:::|:::|(10行目から50行目までの間で、合致するパターン全てを置換) | |:::|:10,$s/文字列A/文字列B/g|文字列
- IPアドレス-アドレスナンバー @02_freebsd:04_database:01_mysql
- umber) | +------+----------------------+ | 4611 | 10.10.0.3 | +------+----------------------+ 1 row in set (0.00 sec) </code> 逆は INET_ATON <code console> mysql> select INET_ATON('10.10.0.3'); +------------------------+ | INET_ATON('10.10.0.3') | +------------------------+ |
- whois @02_freebsd:80_unixコマンド
- Corporation m. [Administrative Contact] HA14103JP n. [Technical Contact] KM43416JP p. [... /11/17 [Last Update] 2017/04/20 10:09:53 (JST) </code> ===== 管理者情報を確認 ===== [Admin... ct]をwhoisで確認すると、管理者情報も確認できます。 <code> # whois HA14103JP [Querying whois.nic.ad.jp] [whois.nic.ad.jp] [... Information: a. [JPNIC Handle] HA14103JP c. [Last, First] Akiyoshi, Hisa