原创 IBM DS5000系列更換電池

電池的作用:官方文章解釋:On DS5000 storage subsystems, the battery unit contains lithium-ion battery packs tha can maintain power to

原创 查看SELinux狀態&關閉SELinux

查看SELinux狀態 1.1 getenforce getenforce 命令是單詞get(獲取)和enforce(執行)連寫,可查看selinux狀態,與setenforce命令相反。setenforce 命令則是單詞set(設置)

原创 我的友情鏈接

51CTO博客開發

原创 文件重命名

#!/bin/bash#rename.sh count=1 for img in *.[jJ][pP][gG] do new=image-$count.${img##*.} mv "$img" "$new1" 2>/tmp/de

原创 CentOS 7查看系統版本及查看機器位數

辨識標準 PC server X86 系列 I386--I686 都是32位 x86_64 是 64位 查看位數命令 命令實在是太多,建議選擇第一種方式,後面的僅作爲補充。方法1: [root@linuxidc ~]# uname -aLi

原创 AIX 基礎筆記5 File systems administration 1

*JFS2 structural components  - Superblock: The superblock maintains informaition about the entire file system.  - i-node

原创 AIX 基礎筆記5 File systems administration 2

*File system space management(1) File systems expand upon notice, not automatically.(2) To keep from running into proble

原创 文件重命名

#!/bin/bash#rename.sh count=1 for img in *.[jJ][pP][gG] do new=image-$count.${img##*.} mv "$img" "$new1" 2>/tmp/de

原创 AIX日常巡檢

1機房環境檢查零地電壓是否小於1V溫度(攝氏 ℃)10 ℃-40℃溼度(%)8% -80%電源線的母頭是否爲左零右火電壓值是否爲240V2查看硬件情況檢查設備故障燈,一般爲橙色並有故障標誌。 有沒有異常聲響,如硬盤、風扇等。有沒有破損的電纜

原创 AIX 基礎筆記6 Paging space

*Sizing paging space- hd6 is created at installation time: The recommended paging space formula is long standing, but it

原创 AIX 基礎筆記4 Working with the Logical Volume Manager 1

*Logical Volume Manager# smitty lvm                             Logical Volume Manager Move cursor to desired item and p

原创 AIX 基礎筆記4 Working with the Logical Volume Manager 2

*SMIT logical volume menu# smitty lv                                Logical Volumes Move cursor to desired item and pres

原创 AIX 基礎筆記1

*To Log in:login: rootroot's Password:(the password does not appear) *To Log out:# <Ctrl-d>  (or)# exit          (or)# l

原创 AIX 基礎筆記3 System storage overview

*Components of AIX storage-Physical storage-Logical storage-File systems-Directories-FilesManaged by Logical Volume Mana

原创 shell 打印順倒三角

順三角#!/bin/bashread -p "Please input the line number:" linefor ((i=1; i<=$line; i++))do        for ((k=$line-$i; k>0; j--