全文検索:
- 05 umask
- る数値 こんな感じになる 777 0022 ------- Directory 755 File ... 644 777 0002 ------- Directory 775 File 664 ===== 確認方法 ===== <code> $ umask 0002 </code> ===== デフォルト値 ===== ユーザIDが 199より大きく、且つユーザ名とプライマリーグループ名が同じ場合は 002 そうでない場合は 022 がセットされる。 <code|/etc/profile> if [ $
- 21 kernelによってvmstat結果が違う
- bi bo in cs us sy id wa st 4 0 0 502296 9012 127460 0 0 30 3 103 15 95 0 4 1 0 4 0 0 502296 9012 127460 0 0 0 0 410 33 100 0 0 0 0 4 0 0 502296 9012 127460 0 0 0 0 410 28 100 0 0 0 0 4 0 0 502296 9012 127460 0 0 0 0 410 34
- リアルタイムでトラフィックを見る
- \ echo "$(expr \( \( $_T2 - $_T1 \) \* 8 \) \/ 1024 ) kbps"; done ===== KVM VMの場合 ===== どのbridge... Receive "$(expr \( \( $_R2 - $_R1 \) \* 8 \) \/ 1024 ) kbps"; done </code> ===== 送信(Transmit) ===== ... Transmit "$(expr \( \( $_T2 - $_T1 \) \* 8 \) \/ 1024 ) kbps"; done </code> ===== 受信と送信を両方同時に出力 =====... ceive "$(expr \( \( \( $_R2 - $_R1 \) \* 8 \) \/ 1024 \) \/ 1024 ) Mbps |";\ echo Transmit "$(expr \
- 37 MegaCliのSmart情報
- _64-linux-3.10.0+2] (local build) Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourcefor... 4 Start_Stop_Count 0x0032 100 100 020 Old_age Always - 7 5 Realloca... 12 Power_Cycle_Count 0x0032 100 100 020 Old_age Always - 7 184 End-to-E... ys - 0 190 Airflow_Temperature_Cel 0x0022 074 062 045 Old_age Always -
- 3ware tw_cli
- u0 931.51 GB SATA 0 - WDCWD1002FBYS-02A6 p1 DEVICE-ERROR u0 931.51 GB SATA 1 - WDCWD1002FBYS-02A6 c0のp1ディスクをremove tw_cli maint remove c0 p1 再スキャンで、p1が表示されることを確認 tw_cli maint rescan c0
- 39 💻logrotateのテスト
- logrotate state -- version 2 "/var/log/yum.log" 2021-3-23-9:20:30 "/var/log/maillog" 2021-3-23-9:20:30 "/var/log/secure" 2021-3-23-9:20:30 "/var/log/messages" 2021-3-23-9:20:30 ・ ・ ・ </code> ===== cronで実行 ===== 実際に本番を想定してCr
- 03 Linux swapスペース追加
- nsole> # cd /root # dd if=/dev/zero of=swap bs=1024 count=1024000 # mkswap swap # swapon swap </code> ===== 確認コマンド ===== <code console> # swapon -s ... ap file 1023992 11128 -2 </code> ===== 解除 ===== <code cons
- 35 GPT対応大容量ディスクにパーティションを追加(parted)
- End? 1024 </code> === 確認 === <code console> (parted) prin... stem Name Flags 1 0.00GB 1024GB 1024GB iscsi-target-data-1 </code> === parted終了 === <code console> (parted) quit
- 40 CentOS6 yum使えない
- entos.org/centos/6/os/x86_64/Packages/usermode-1.102-3.el6.x86_64.rpm: [Errno 14] PYCURL ERROR 22 - "T... rror. Error Downloading Packages: usermode-1.102-3.el6.x86_64: failure: Packages/usermode-1.102-3.el6.x86_64.rpm from base: [Errno 256] No more mirror
- 15 ddで進捗を確認
- 86753+0 records in 43986752+0 records out 22521217024 bytes (23 GB) copied, 1025.83 s, 22.0 MB/s 62914560+0 records in 62914560+0 records out 32212254720
- 24 Memory Cache開放
- shared buffers cached Mem: 1002 973 28 0 68 ... shared buffers cached Mem: 1002 742 259 0 0
- 60 adaptech_raidのledランプを付ける.
- (Controller:1,Enclosure:0,Slot:8) 9WK4ZCWF0000C150027E Segment 7 : P... World-wide name : 5000C50021293218 Size
- 61 AdaptechでHotSpreを使う
- nt (Controller:1,Enclosure:0,Slot:9) 9WK01T2S0000C0276LL7 Segment 8 ... World-wide name : 5000C50025EC3728 Size
- ソフトウェアRaid削除
- n : 1.2 Creation Time : Wed Sep 9 20:26:10 2020 Raid Level : raid0 Array Size : ... istent Update Time : Wed Sep 9 20:26:10 2020 State : clean Active Devices :
- diff,patchコマンド
- マンド ====== [[http://suen-study.blogspot.com/2011/02/linuxdiffpatch.html|http://suen-study.blogspot.com/2011/02/linuxdiffpatch.html]] ===== ファイル単位 ===== === パッ