AIX 操作技巧

1.      AIX Version 5.x  版本使用uname设置hostname,有时候使用smit修改后uname显示的还是旧的主机名
uname -S <newhostname>

2.      AIX6.1 TL05 / AIX5.3 TL12 集成了nmon

3.      看系统安装了哪些补丁: instfix -L

4.      TL (Technology Level: TL)
The problem with AIX, support for new hardware, new features, including a fixfor the AIX, and will be updated approximately every 6 months. In the past, "Maintenance Level (ML)" is whatused to be called.
Service Pack (Service Pack: SP)
To solve customer problems, in addition to the release of individual PTF, thePTF coherent periodic "Service Pack (SP)" in the package deliveryservice called to release approximately every 4-6 weeks and. "Service Pack" concept is to provide thefix that was released together during TL.

5.      lsfs查询的是/etc/filesystems内容,即使不存在的文件系统,只要在该文件的有相应记录,都能列出

6.      shutdown -m 进单用户模式

7.      aix6中,给rootvg做了镜像和bootlist之后不需要REBOOT就可生效了

8.      How to Disable Telnet on AIX
1) Comment out telnet from /etc/inetd.conf.
2) Reload the configuration file
# refresh -s inetd

9.      1.用户可以做ftp, 不能做telnet
chuser login='false' rlogin='false' username
2.
用户可以做telnet, 不能做ftp
vi /etc/ftpusers
写入用户名

10.   停止telnet服务
vi /etc/inetd.conf
注释掉 telnetd
refresh -s inetd

11.   开启ftp服务:
vi /etc/inetd.conf
ftp前面的# 去掉,
refresh -s inetd

12.   弹出光驱:
#cdumount
#cdeject

13.   看系统启动的引导顺序:bootinfo –b

14.   显示系统启动的过程: alog -ot boot

15.   设置硬盘的启动顺序:
bootlist -m normal cd0 hdisk0 hdisk1

16.   规定某一个用户在某个时间段,某天某月能登入:
vi /etc/security/user
user 下添加:
logintimes=: Time-Time
                  :Day[-Day][:Time-Time]
                  :Date[-Date][:Time-Time]

17.   查看硬盘大小
bootinfo -s hdiskn/hdiskpowern/dlmfdrvn

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值