日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當前位置: 首頁 > 人工智能 > ChatGpt >内容正文

ChatGpt

AIX --- 常用命令

發布時間:2024/1/1 ChatGpt 29 豆豆
生活随笔 收集整理的這篇文章主要介紹了 AIX --- 常用命令 小編覺得挺不錯的,現在分享給大家,幫大家做個參考.

# 類似于linux? top命令: 不太好用

nmon topas

# 查看內存? ?GB為單位

svmon -O unit=GB svmon -G -O unit=GB

# cpu查看命令:

AIX如何查看cpu個數_白及-CSDN博客_aix查看cpu個數

smtctl # 物理 bindprocessor -q # 邏輯核

# AIX常用命令

df -g # 等同于 linux的 df -h netstat -Aan|grep 6666 # 等同于 linux -lntp ifconfig -a # 查看ip

# 防火墻

smit

2.??????選擇以下子項開啟或關閉防火墻

Communications Applications and Services->Tcp IP->Configure Ip Security(IPv4)->Start/Stop IP Security->Start IP Security

3.??????也可以使用以下子項對防火墻進行配置

Communications Applications and Services->Tcp IP->Configure Ip Security(IPv4)->Start/Stop IP Security->Advantanced IP Security Configuration

-----------------------------------------------------------命令搜集

1、??uname –a

顯示完整系統名和版本欄

AIX kjdb1 1 6 00C00CD32C00

操作系統名?節點名稱?操作系統的發行版號?操作系統版本硬件運行系統的機器ID號

2、??lsdev -C | grep proc/lsdev –C –c processor

查看CPU數量

3、??bootinfo –r /lsattr -El sys0 -a realmem

顯示物理內存大小

4、??ldev –Cc disk/lspv

查看硬盤信息

5、??lspv –l hdiskX/lscfg –vl hdiskX/lscfg –vp

查看磁盤詳細信息

6、??lsdev –Cc adapter

查看系統中已安裝的適配器信息

7、??netstat –ni

查看網絡狀態

8、??errpt

查看有無報錯信息

9、??errpt –aj?狀態碼

查看詳細報錯信息

10、oslevel –r

查看操作系統版本

11、instfix –i | grep AIX_ML

查看操作系統文件集相關信息

12、lppchk -v

????驗證所有的文件集已具備所有要求的必要條件并且已安裝

13、lsvg/lsvg –l ***vg

顯示卷組相關信息,顯示相關卷組的詳細信息

14、lsps –a

顯示交換空間的大小及使用率

15、env | grep TZ

顯示時區信息

16、lssrc –g cluster

顯示HACMP狀態

17、prtconf | grep Firmware

查看系統微碼相關信息

18、df

查看磁盤利用率

19、sar 2 4

查看系統活動信息

20、vmstat

查看虛擬內存統計信息

21、bootinfo –y

????查看系統內核版本

22、cfgmgr -v

??? 在硬件丟失或需要添加新硬件時,可以通過此命令使AIX自動搜索新硬件的驅動程序

23、lsvg -l rootvg

??? 查看rootvg中的邏輯卷是否做了鏡像,若邏輯卷中的PPs是LPs的兩倍,同事PV數是2,則說明做了邏輯卷

24、smitty chinet

?? 修改對應網卡的信息

-----------------------------------------------------------------AIX掛載

1: first know the Storage server:

? NFS server: nfs_server01
? dev: /vol/123_VL
?
2:?add the NFS server in client server:
? /etc/hosts
?
3: ping NFS server, if reply succcess, then can considered the NFS server can configure success.


4:?show the NFS server exported filesystem:
? showmount -e NFS_server01
?
? The result will show:
? /vol/NFS_server01_data/test01?? ??? ?10.20.30.40/27

4: Add the NFS configuration in client: /etc/filesystems:
?
? /data/test01:
? dev?? ??? ?= /vol/NFS_server01_data/test01
? vfs?? ??? ?=?? ?nfs
? nodename?? ?= nfs_server01
? mount?? ??? ??? ?= true
? options?? ??? ?= bg,hard,llock,intr,biods,rsize=65536,wsize=65536,vers=3,proto=tcp,sec=sys,maxgroups=32
? account?? ??? ?= false
?
5 c?reate the folder in server:
? mkdir -p /data/test01
?
6:?mount filesystem:
? mouunt -o bg,hard,llock,intr,biods,rsize=65536,wsize=65536,vers=3,proto=tcp,sec=sys,maxgroups=32, rw nfs_server01:/vol/NFS_server01_data/test01 /data/test01
?
7: checked the mount system:
? mount | grep test01
?
-------------


Below actical is for reference:

AIX 6.1? ?

--
In the NFS server:

1. start the NFS service:
# lssrc? -g? nfs
# startsrc? -g nfs
# lssrc? -g? nfs ?
active is okay

2.configure the /etc/hosts file:
# vi? /etc/hosts
10.88.51.87??? NFS_server_hostname?

3.configure
# vi? /etc/exports
/data02? -rw,access=?NFS_server_name??? ?

--
In the client server:

1. mkdir -p? /data/d3

2.check the client portmap service
# lssrc? -s??portmap? (active is ok)

總結

以上是生活随笔為你收集整理的AIX --- 常用命令的全部內容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網站內容還不錯,歡迎將生活随笔推薦給好友。