AIX中一些常用的命令汇总
《oracle大型数据库系统在AIX/unix上的实战详解》集中讨论33:AIX中一些常用的命令程 文平
和若干读者邮件沟通了一些关于AIX命令使用方面的问题,干脆,这里我给大家做一个列表,把AIX一些常用的命令列在这里,也算总结一二. 一些内容来自网上别人的共享,姑且学之,也感谢大家的无私奉献!
Root filesystem |
/ {/dev/hd4} |
Home Directory |
/home {/dev/hd1} |
/tmp {/dev/hd3} |
|
/usr {/dev/hd2} |
|
/var {/dev/hd9var} |
|
Sample configuration files |
- |
/etc/passwd |
|
Groups file |
/etc/group |
Maximum # of user ID |
4294967295 |
Allow/Deny remote login |
/etc/security/user |
User nobody's id # |
4294967294 |
Group nobody's id # |
4294967294 |
Recover root password |
boot from CD/Tape |
Create new user |
mkuser |
Delete user |
rmuser |
List users |
lsuser -f ALL |
Modify user account |
chuser -a |
Unique host ID |
hostid |
Administrator |
smit |
Performance monitor |
top |
System activity reporter |
sar |
Virtual Memory statistics |
vmstat |
I/O statistics |
iostat |
Error logs |
alog -o -t boot |
Physical RAM |
1TB |
Shared Memory |
2.75GB |
Process Data Space |
2GB |
Swap device |
/dev/hd6 |
Swap file type |
/etc/swapspaces |
Display swap size |
lsps -a |
Activate Swap |
swapon -a |
/etc/qconfig |
|
Stop LP |
stopsrc -s lpd |
Start LP |
startsrc -s lpd |
Submit print jobs |
enq |
LP statistics |
enq -A |
Remove print jobs |
cancel |
Add printer queue |
smit mkpq |
Remove Printer queue |
smit rmpq |
Make default printer |
export LPDEST="pq" |
Network IP configuration |
lsattr -E -l inet0 |
Hosts IP addresses |
/etc/hosts |
Name service switch |
/etc/netsvc.conf |
Network parameters |
no -a |
Routing daemon |
gated |
NIC Configurations |
ifconfig -a |
Secondary IP Address |
ifconfig en0 alias IP |
Login prompt |
HERALD @ |
Increase the # of pseudo-terminals |
odmget -q "attribute=num and uniquetype=pty/pty/pty" PdAt | sed "s/0-64/0-512/" | chdev -l pty0 -anum=256 -P |
Maximum # of ptys |
512 |
Remote Shell |
remsh |
YP/NIS service binder |
/usr/lib/netsvc/yp/ypbind |
/etc/exports |
|
NFS Client mounted directories |
/etc/xtab |
Max File System |
128 GB |
Max File Size |
64 GB |
Max # File Descriptors |
64 K |
Filesystem table |
/etc/filesystems |
Free disk blocks |
df -k |
Device listing |
lsdev -C |
Disk information |
bootinfo -s hdisk# |
Disk Label |
lspv -l hdisk# |
LVM Concepts |
Partition |
Volume group |
|
Journal Filesystem type |
jfs |
Default volume group |
/dev/rootvg |
Display volume group |
lsvg -l rootvg |
Modify physical volume |
chpv |
Prepare physical disk |
mkdev -c disk -l hdisk# |
List physical volume |
lspv |
Remove disk from volume group |
reducevg |
Move logical volumes to another physical volumes |
migratepv |
Create volume group |
mkvg |
Remove volume group |
reducevg |
Volume group availability |
chvg |
Restore volume group |
|
Exports volume group |
exportvg |
Imports volume group |
importvg |
Volume group listing |
lsvg |
Change logical volume characteristics |
chlv |
List logical volume |
lslv |
Make logical volume |
mklv |
Extend logical volume |
extendlv |
Remove logical volume |
rmlv |
Prepare boot volumes |
bootlist -m normal |
Remove boot volumes |
|
Extend File system |
chfs -a size=# /mt |
Reduce/Split mirrors |
rmlvcopy |
Merge mirrors |
|
Create mirrors |
mklv -c 2 |
Add mirrors |
mklvcopy lv 2 |
Create striped volumes |
mklv -u 3 -S 64K |
System recovery tape |
mksysb -i /dev/rmt0 |
Backup |
savevg -i rootvg |
Restore |
restvg |
/etc/rc |
|
Kernel |
/usr/lib/boot/unix_up |
Kernel Parameters |
lsattr -E -l sys0 |
Reconfigure the kernel |
chdev -l sys0 -a |
List modules |
genkex |
Initialize system |
install_assist |
Physical RAM |
bootinfo -r |
Kernel Bits |
bootinfo -K |
Crash utility |
crash |
Trace System Calls |
syscalls |
Machine model |
uname -m |
OS Level |
oslevel |
Run Level |
who -r |
Core dump files |
/var/adm/ras |
Boot single user |
Key on service mode/F4 |
Timezone Management |
/etc/environment |
NTP Daemon |
/etc/ntp.conf |
Install Software |
installp -a |
Uninstall software |
installp -u |
List installed software |
lslpp -L all |
Verify installed software |
lppchk -v |
List all files |
lslpp -f fileset |
List installed patches |
instfix -i |
Package owner |
lslpp -w path |
SW Directory |
/usr/lpp |
/dev |
|
Install devices for attached peripherals |
cfgmgr -v |
Remove device |
rmdev -l |
Device drivers |
lscfg |
CPU |
lsdev -Cc processor |
List Terminal |
lsdev -Cc tty |
Diagnostics |
diag |
Whole Disk |
/dev/hdisk# |
CDROM |
/dev/cd0 |
CDROM file type |
cdrfs |
Rewinding tape drive |
/dev/rmt0 |
Non-rewinding tape drive |
/dev/rmt0.1 |
Floppy drive |
/dev/rfd0 |
《oracle大型数据库系统在AIX/unix上的实战详解》集中讨论33:AIX中一些常用的命令程 文平
转载于:https://www.cnblogs.com/dbserver/articles/1683581.html
AIX中一些常用的命令汇总相关推荐
- 常用LINUX命令汇总
常用LINUX命令汇总 一.基本命令 bash Bash(GNU Bourne-Again Shell)是许多Linux平台的内定Shell pwd 查看当前所在目录 ls 查看目录内所有文件 cd ...
- xshell删除文件夹命令_ssh远程连接GPU服务器进行深度学习以及常用ssh命令汇总
在我们进行深度学习的科研任务时,我们都会遇到复杂神经网络的训练问题,这时我们都不可避免地需要一块合适的gpu服务器,我认为gpu服务器的好处有两点:一是相对而言便宜一些,虽然很多gpu服务器也是昂贵的 ...
- linux运维工程师命令,Linux运维工程师的常用Linux命令汇总
今天小编要跟大家分享的文章是关于Linux运维工程师的常用Linux命令汇总.作为运维人员,这些常用命令不得不会,掌握这些命令,工作上会事半功倍,提供工作效率.下面来和小编一起看一看吧! 一.文件和目 ...
- GBase 8s 常用管理员命令汇总-gstat(下)
GBase 8s 常用管理员命令汇总-gstat(下) gstat 打印运行时间统计信息 语法 gstat -g cpu 操作演示 [gbasedbt@devsvr ~]$ gstat -g cpu ...
- ES 常用查询命令汇总
ES 常用查询命令汇总 ES 常用查询命令汇总 一._cat操作 _cat系列提供了一系列查询elasticsearch集群状态的接口.你可以通过执行 curl -XGET localhost:920 ...
- GBase 8s 常用管理员命令汇总-gadmin
GBase 8s 常用管理员命令汇总-gadmin gadmin 命令 说明 gadmin -m 将数据库服务器从静态模式或单用户模式,切换为在线模式 gadmin -k 完全关闭数据库 gadmin ...
- Rockchip Android平台常用调试命令汇总
Rockchip Android平台常用调试命令汇总 文章目录 Rockchip Android平台常用调试命令汇总 查看帧率信息 查看显示图层信息 手动触发内核产生panic 通过命令设置Andro ...
- CentOS常用基础命令汇总
CentOS常用基础命令汇总 1.关机 (系统的关机.重启以及登出 ) 的命令 shutdown -h now 关闭系统(1) init 0 关闭系统(2) telinit 0 关闭系统(3) shu ...
- 干货:工作中常用 Linux 命令汇总!乔戈里知道你需要
作为工作人员,这些常用命令不得不会,掌握这些命令,工作上会事半功倍,提供工作效率. 一.文件和目录 cd命令,用于切换当前目录,它的参数是要切换到的目录的路径,可以是绝对路径,也可以是相对路径. cd ...
最新文章
- 汽车车灯灯具系统(上)
- AI将成科学家“高级定制”工具
- 中国湿敏元器件市场研发方向预测与前景趋势研究报告2022版
- Windows 7 硬盘安装方法
- Java工程师必备技能
- 集成学习之Adaboost(提升方法)
- [Ext JS]12.12.1 必填字段组件扩展
- 12款Javascript表格控件(DataGrid)
- 社保基金入市规模或达3000亿元
- 数据结构上机实践第10周项目1 - 二叉树算法验证
- Tensorrt7踩坑记录
- ART中 MIR -- LIR -- 机器码 的流程
- CString与char之间的转换
- 庸者挣扎泥潭,高手从不恋战
- 《大学》修身、齐家、治国、平天下
- 推荐:(链接)幽默男女--绝对搞笑!!(每日更新)
- Python判断变量的数据类型
- mysql之类型转换函数
- 大数据数据采集工具简介
- MATLAB 7.0 无法卸载的解决方法
热门文章
- mysql维护索引,mysql 索引优化
- 高速无人机独立穿越森林,全程自己规划路线,时速高达40公里
- 小鹏发布会上硬刚特斯拉AutoPilot:有视频有真相,特斯拉不懂中国路况
- Apollo仿真「训练有素」,长沙无人驾驶出租「轻车熟路」
- 一份来自亚马逊工程师的Google面试指南,GitHub收获9.8万星,已翻译成中文
- DeepMind大放送:开放4个多物体表征学习数据集,还有一篇智能体新研究
- 怎么注册今日头条?哪里可以直接购置?
- Oracle12c 从入门到精通(第二版) 闫红岩 金松河 编著
- volatile关键字(三)
- 进军“手机照相馆”:京东要和3C厂商干什么?