1、如果想要立刻断掉一个已经login的用户?
可使用命令 fuser -k <用户的主目录>;
如:fuser -k /home/guest
2、什么版本的Oracle数据库支持AIX 5.1
8.1.7 32-bit Yes Yes
now (Production) now (Production)
8.1.7 64-bit Yes
now (Production)
9.0.1 64-bit Yes Yes
now (Production) now (Developer's Release)
9.2 64-bit Yes Yes
now (Production) now (Production)
3、如何监控裸设备I/O?
sar命令中的“-b”选项可以用于监控裸设备I/O。裸设备一般用于存放数据库数据。
# sar -b 1 3
18:16:30 bread/s lread/s %rcache bwrit/s lwrit/s %wcache pread/s pwrit/s
18:16:31 0 0 0 0 0 0 0 0
18:16:32 0 0 0 0 0 0 0 0
18:16:33 0 0 0 0 0 0 0 0
Average 0 0 0 0 0 0 0 0
其中bread/s 和bwrit/s显示了块裸设备(block raw device)I/O操作的数目。pread/s 和pwrit/s显示了字符裸设备(character raw device)I/O操作的数目
4、在AIX上安装RPM格式软件包
1.从Linux Application Toolbox CD安装Redhat Package Manager - rpm.rte
2.安装RPM格式软件
#rpm -ivh fileset_name
3.检查按装结果
#rpm -q fileset_name
5、如何拒绝某些用户的ftp访问?
编辑 /etc/ftpusers
添加需要拒绝的用户,每用户一行 For example:
#more /etc/ftpusers
当尝试 ftp 登录时,系统报错:
Name (localhost:root): ql
530 User ql access denied.
Login failed
6、如何查看某用户共启动了多少进程?
#ps -ef|grep username|wc -l
7、/tmp文件系统已满,如何找到哪些文件过大,并释放空间
例如:哪些文件大于5M字节.
#cd /tmp
#find . -size +10000 -exec ls -l {} \;
备注:
删除这些过大文件时,请确认其无用
8、如何在图形登录和命令行登录方式间切换?
#/usr/dt/bin/dtconfig -e 激活图形登录方式
#/usr/dt/bin/dtconfig -d 激活命令行登录方式
9、在移植安装(Migration installation)中都有那些文件和数据保留下来?
操作系统使用移植安装(Migration installation)的方式升级AIX版本,例如: AIX 3.2, AIX 4.1, AIX 4.2, 或者 AIX 4.3 到 AIX 5L 5.1 。 除了/tmp目录将被覆盖外,此方式将保留所有文件系统,包括根(root)卷组的数据, 逻辑卷数据和系统配置文件。移值安装(Migration installation)的方式在AIX 3.2,AIX 4.1和 AIX 4.2 的机器上是缺省的安装方式。
10、如何阻止某些用户远程登录,telnet,rlogin?
/etc/security/user
更改需要限制的用户属性 rlogin = false
当尝试远程登录时,系统报错:Remote logins are not allowed for this account
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/8334342/viewspace-366051/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/8334342/viewspace-366051/