-
SMIT
的详细用法
AIX2010-09-08 10:54:04
阅读
11
评论
0
字号:大中小
订阅
?
关于网络
smit inet
Smit tcpip
配置网络接口
smit configtcp
设
置
IP,DNS
?
关于硬盘
smit makdsk
添加新硬盘
smit chpv
修改物理卷属性
?
关于用户
smit mkuser
建立用户
smit lsuser
lsuser ALL
smit chuser
改变用户属性
rmuser -p
*
删除用户
*
列出所有用户的属性
smit
rmuser
只删除用户,但是不删除所属目录,等于
rmuser
smit passwd
修改密码
smit
lockuser
给用户加锁
?
关于用户组
smit
mkgroup
建立新组
smit
lsgroup
显示所有组的属性
smit chgroup
修改组的属性
smit
rmgroup
rmgroup *
删除
*
组
?
关于卷组
创建卷组
smit mkvg
smit extendvg
向卷组中添加新物理卷
smit reducevg
从
卷组中删除物理卷
smit varyonvg
激
活卷组
smit varyoffvg
停
用卷组
smit improtvg
导入一个卷组
smit extendvg
导出一个卷组
smit reorgvg
重新分配卷组的分区
smit
mirrorvg
给一个卷组做镜像
?
关于文件系统
创建一个
JFS
类型的文件系统
创
建一个
JFS2
类型的文件系统
显示文件系统的详情
smit
jfs
smit jfs2
smit lsfs
smit mountfs
装载一个文件系统
smit
umoutfs
卸载一个文件系统
smit rmjfs
smit chjfs
smit mkps
删除一个文件系统,备注:一定要先卸载了,才可以执行删除
增加文件系统空间大小
创建一个页面空间
smit
swapon
激活一个页面空间
smit swapoff
关闭一个也面空间
smit
chps
smit rmps
修改页面空间属性
删除一个页面空间
Application
--------------------------------------------Fast
Path
----------------------------------
---------------------------------------
Software Installation and Maintenance
-------------------install
Software
License Management
-----------------------------licenses
Devices -------------------------------
------------------dev
System Storage
Management (Physical & Logical Storage) --storage
Security and Users
--------------------------------------security
Communications Applications and
Services ----------------commo
Print
Spooling
------------------------------------------spooler
Problem Determination
-----------------------------------problem
Performance and Resource Scheduling
----------------------performance
System Environments
-------------------------------------system
Processes and Subsystems
--------------------------------src
Software Installation and Maintenance
-------------------------------------
Fast path to menu: install
Task ----------------------------------
---------------Fast Path
--------------
--------------------------------------------------
---------
Install and Update Software
---------------------------install_update
Install Software ----------------------
----------------install_latest
Update
Installed Software to Latest Level (Update All)
update_all
Install Software
Bundle
-------------------------------install_bundle
Update Software by Fix (APAR)
-------------------------update_by_fix
Install and Update from ALL Available
Software --------install_all
List Software and Related Information
-----------------list_software
List
Installed Software and Related Information
-------list_installed
List Installed
Software
-------------------------------list_installed_sw
List Applied but Not Committed Software
Updates -------list_applied_sw
Show
Software Installation History
--------------------show_history
Show
Fix (APAR) Installation Status
-------------------show_apar_stat
List
Fileset Requisites
-------------------------------list_requisites
List Fileset Dependents
-------------------------------list_dependents
List Files Included in a Fileset
----------------------list_files
List
Fileset Containing File
--------------------------what_fileset
Show Installed License Agreements
---------------------installed_license
List Software on Media and Related
Information --------list_media
List
Filesets in a Bundle
-----------------------------list_bundle
List Software on Installation Media
-------------------list_media_sw
List
Software Fixes (APARs) on Installation Media
-----list_media_fixes
List Supplemental
Fileset Information on Installation Media
< br>----------------------------------------------- -------------------list_media_info
Show
License Agreements on Installation Media --------
license_on_media
Software
Maintenance and Utilities ----- ----- -----
--maintain_software
Commit Applied
Software Updates(Remove Saved Files) - -commit
Reject Applied Software Updates(Use
Previous Version) -reject
Remove
Installed Software ----- ----- ----- ----- ----
remove
Copy Software to Hard Disk for
Future Installation --- bffcreate
Check
Software File Sizes After Installation -----
----check_files
Verify Software
Installation and Requisites -----
-----verify_install
System
Backup Manager ----- ----- ----- ----- -----
---backsys
Back Up the System -----
----- ----- ----- ----- ----- sysbackup
Back Up This System to Tape/File -----
----- ----- ----mksysb
Create a Generic
Backup CD ----- ----- ----- ----- --- mkcdgeneric
List Files in a System Image -----
----- ----- ----- - lsmksysb
Restore
Files in a System Image ----- ----- -----
-----restmksysb
Software
License Management
---------------------------
Fast path to menu: licenses
Task ----- ----- ----- ----- -----
----- --- Fast Path
-------------------
--------------------------------------------------
----
Manage Nodelocked Licenses -----
----- --- -- --manage_nodelocked
Add
Nodelocked License from a File ----- - -- -
add_nodelocked_from_file
Add Nodelocked
License from the Keyboard - -
add_nodelocked_from_keyboard
Delete a
Nodelocked License ----- ----- - ---
--delete_nodelocked
Manage
License Servers and License Databases --
manage_servers
Show Server
Characteristics ----- ----- -----
show_server_characteristics
Manage
Concurrent Use and Use Once Licenses
----manage_prod_licenses
Manage Vendor
Information in License Databases -manage_vendors
Show License Usage on
Servers -- -- -- -- -- -- show_server_status
Show License Usage Summary -- -- -- --
-- -- -- show_total_license_usage
Show
Licenses Currently Being Used -- -- -- --
show_current_license_usage
Show License
Information by Server -- -- -- --
-show_installed_licenses
Show Licenses
Held by a Specific User -- -- --
-show_user_license_held
Show License Agreements -- -- -- -- --
-- -- -- show_license_agree
Show
Installed License Agreements -- -- -- -- -
installed_license
Show License
Agreements on Installation Media -
license_on_media
Devices
-------
Fast path to menu:
dev
Task-- -- -- -- -- --
-- -- -- -- -- -- -- -- Fast Path
-----
--------------------------------------------------
------------------Install/Configur
e
Devices Added After IPL -- -cfgmgr
Printer/Plotter -- -- -- -- -- -- -- --
-- -- printer
TTY -- -- -- -- -- -- --
-- -- -- -- -- -- -- tty
PTY -- -- --
-- -- -- -- -- -- -- -- -- -- -- pty
Console -- -- -- -- -- -- -- -- -- --
-- -- --console
Fixed Disk -- -- -- --
-- -- -- -- -- -- -- --disk
CD ROM
Drive -- -- -- -- -- -- -- -- -- -- -- cdrom
Read/Write Optical Drive -- -- -- -- --
-- -- rwopt
Diskette Drive -- -- -- --
-- -- -- -- -- -- -diskette
Tape Drive
-- -- -- -- -- -- -- -- -- -- -- --tape
Communication -- -- -- -- -- -- -- --
-- -- --commodev
Graphic Displays -- --
-- -- -- -- -- -- -- --g_display
Graphic Input Devices -- -- -- -- -- --
-- -- input
Low Function Terminal (LFT)
-- -- -- -- -- -- lft
SCSI Initiator
Device -- -- -- -- -- -- -- -- scsiid
SCSI Adapter -- -- -- -- -- -- -- -- --
-- -- scsia
Asynchronous I/O -- -- --
-- -- -- -- -- -- --aio
Multimedia --
-- -- -- -- -- -- -- -- -- -- --mm
List
Devices -- -- -- -- -- -- -- -- -- -- -- lsattr
Configure/Unconfigure Devices -- -- --
-- -- -devcfg
Unconfigure a Device --
-- -- -- -- -- -- -- -devcfg_ucfg
Configure a Defined Device -- -- -- --
-- -- -devcfg_cfg
Install Additional
Device Software -- -- -- --devinst
PCI
Hot Plug Manager -- -- -- -- -- -- -- -- -devdrpci
Unconfigure a Device -- -- -- -- -- --
-- -- -rmdev
Configure a Defined Device
-- -- -- -- -- -- -mkdev
Install/Configure Devices Added After
IPL -- -cfgmgr
ISA Adapters devisa
System Storage Management
-------------------------
Fast path to menu: storage
Task -- -- -- -- -- -- -- -- -- -- --
-- -- Fast Path
-----------------------
--------------------------------------------------
Logical Volume Manager -- -- -- -- --
-- -- lvm
Volume Groups -- -- -- -- --
-- -- -- -- -- vg
List All Volume
Groups -- -- -- -- -- -- -- lsvg2
Add a
Volume Groups -- -- -- -- -- -- -- -- mkvg
Set Characteristics of a Volume Group
-- -- vgsc
List Contents of a Volume
Group -- -- -- -- lsvg1
Remove a Volume
Group -- -- -- -- -- -- -- -reducevg2
Activate a Volume Group -- -- -- -- --
-- --varyonvg
Deactivate a Volume Group
-- -- -- -- -- -- varyoffvg
Import a
Volume Group -- -- -- -- -- -- -- -importvg
Export a Volume Group -- -- -- -- -- --
-- -exportvg
Mirror a Volume Group --
-- -- - -- -- -- - mirrorvg
Unmirror a
Volume Group -- -- -- - -- -- -- unmirrorvg
Synchronize LVM Mirrors -- -- -- - --
-- -- syncvg
Back Up a Volume Group --
-- -- - -- -- -- -vgbackup
Remake a
Volume Group -- -- -- - -- -- -- - restvg
List Files in a Volume Group Backup --
-- --lsbackvg
Restore Files in a Volume
Group Backup -- --restsavevg
Logical Volumes -- -- -- - -- -- -- -
-- -- lv
List All Logical Volumes by
Volume Group -- lsvg
Add a Logical
Volume -- -- -- - -- -- -- - -mklv
Set
Characteristics of a Logical Volume -- -lvsc
Show Characteristics of a Logical
Volume -- lslv
Remove a Logical Volume
-- -- -- - -- -- -- rmlv
Copy a Logical
Volume -- -- -- - -- -- -- - cplv
Physical Volumes -- -- -- - -- -- -- -
-- -- -pv
Add a Disk -- -- -- - -- --
-- - -- -- -- - --makdsk
Change
Characteristics of a Physical Volume --chpv
List Contents of a Physical Volume --
-- -- --lspv
Move Contents of a
Physical Volume -- -- -- - migratepv
Paging Space pgsp
Add
Another Paging Space -- -- -- - -- -- -- --mkps
Change/Show Characteristics of a Paging
Space -chps
Remove a Paging Space -- --
-- - -- -- -- - -- rmps
Activate a
Paging Space -- -- -- - -- -- -- - -swapon
Deactivate a Paging Space -- -- -- - --
-- -- -swapoff
File Systems
-- -- -- - -- -- -- - -- -- -- -fs
List
All File Systems -- -- -- - -- -- -- - -lsfs
List All Mounted File Systems -- -- --
- -- -mount
Add/Change/Show/Delete File
Systems -- -- -- manfs
Mount a File
System -- -- -- - -- -- -- - -- mountfs
Mount a Group of File Systems -- -- --
- -- -mountg
Unmount a File System --
-- -- - -- -- -- - -umountfs
Unmount a
Group of File Systems -- -- -- - --umountg
Verify a File System -- -- -- - -- --
-- - - fsck
Backup a File System -- --
-- - -- -- -- - --backfilesys
Restore a
File System -- -- -- - -- -- -- - -restfilesys
List Contents of a Backup -- -- -- - --
-- --listtoc
Files &
Directories -- -- -- - -- -- -- - -- filemgr
Backup a File or Directory -- -- -- -
-- -- -backfile
Restore a File or
Directory -- -- -- - -- -- restfile
List Contents of a Backup -- -- -- - --
-- --listtoc
Removable Disk
Management -- -- -- - -- -- --rds
List
All Mounted File Systems on a Disk -- --lsmntdsk
Unmount File Systems on a Disk -- -- --
- -- umntdsk
Remove a Disk from the
Operating System -- --removedsk
Remove
a Disk -- -- -- - -- -- -- - -- -- -- rmvdsk1
Open Door -- -- -- - -- -- -- - -- --
-- - --open_door
System
Backup Manager -- -- -- - -- -- -- - -backsys
Back Up the System -- -- -- - -- -- --
- -- -sysbackup
List Files in a System
Image -- -- -- - -- --lsmksysb
Restore
Files in a System Image -- -- -- - --restmksysb
Security & Users
----------------
Fast path
to menu: security
Task --
-- -- - -- -- -- - -- -- -- - -- Fast Path
----------------------------------------------
---------------------------
Users -- --
-- - -- -- -- - -- -- -- -- -users
Add
a User -- -- -- - -- -- -- - -- - -- mkuser
Change a User-s Password -- -- -- - -
-- passwd
Change/Show Characteristics
of a User -- chuser
Lock/Unlock a
User-s Account -- -- -- - -lockuser
Reset User-s Failed Login Count -- --
-- failed_logins
Remove a Use -- -- --
- -- -- -- - -- -- rrmuser
List All
Users -- -- -- - -- -- -- - -- -lsuser
Groups -- -- -- - -- -- -- - -- -- -- -
-groups
List All Groups -- -- -- - --
-- -- - -- lsgroup
Add a Group -- -- --
- -- -- -- - -- -- -mkgroup
Change/Show
Characteristics of a Group --chgroup
Remove a Group -- -- -- - -- -- -- - --
-rmgroup
Passwords -- -- --
- -- -- -- - -- -- -- -- passwords
Change a User-s Password -- -- -- - --
-- --passwd
Change/Show Password
Attributes for a User -passwdattrs
Login Controls -- -- -- - -- -- -- - --
- logins
Change/Show Login Attributes
for a User --login_user
Change/Show
Login Attributes for a Port --login_port
Roles -- -- -- - -- -- -- -
-- -- -- - -- roles
Add a Role -- -- --
- -- -- -- - -- -- -- mkrole
Change/Show Characteristics of a Role
-- -chrole
Remove a Role -- -- -- - --
-- -- - -- -- rmrole
List All Roles --
-- -- - -- -- -- - -- --lsrole
Communications Applications and
Services
------------------------------
----------
Fast path to menu: commo
Task -- -- -- - -- -- -- -
-- -- -- - -- -- --Fast Path
----------
--------------------------------------------------
-------------
TCP/IP -- -- -- - -- --
-- - -- -- -- -- -- ---tcpip
Minimum
Configuration & Startup -- -- -- -- ---mktcpip
Further Configuration -- -- -- - -- -
-- -- ---configtcp
Hostname -- -- -- -
-- -- -- - -- -- -- -- -- -hostname
Static Routes -- -- -- - -- -- -- - -
-- -- ---route
Network Interfaces -- --
-- - -- -- - -- -- - -netinterface
Name
Resolution -- -- -- - -- -- -- - -- -- ---namerslv
Client Network Services -- -- -- - --
-- -- ---clientnet
Server Network
Services -- -- -- - -- -- -- -- ruser
Manage Print Server -- -- -- - -- -- --
-- -- -server
Select BSD style rc
Configuration -- -- -- -- -setbootup_option
Authentication Configuration -- -- --
-- -- -- auth_config
Use
DHCP for TCPIP Configuration & Startup -- -usedhcp
IPV6 Configuration -- -- --
- -- -- -- - -- -- configtcp6
IPV6
Static Routes -- -- -- - -- -- -- - -- -- route6
IPV6 Network Interfaces -- -- -- - --
-- -- - -inet6
IPV6 Daemon/Process
Configuration -- -- -- - --daemon6
Quality of Service Configuration &
Startup -- -configqos
Start Using the
QoS Subsystem -- -- -- - -- -- startqos
Stop Using the QoS Subsystem -- -- -- -
-- -- -stopqos
NFS -- -- --
- -- -- -- - -- -- -- - -- -- -- -nfs_menus
Configure TCP/IP (If Not Already
Configured) --tcpip
Network File System
(NFS) -- -- -- - -- -- -- -nfs
Configure NFS on This System -- -- -- -
-- -- -nfsconfigure
Add a Directory to
Exports List -- -- -- - -- -mknfsexp
Change/Show Attributes of an Exported
Directory -- chnfsexp
Remove a
Directory from Exports List -- -- -- -rmnfsexp
Add a File System for Mounting -- -- --
- -- --mknfsmnt
Change/Show Attributes
of an NFS File System --chnfsmnt
Remove
Remove an NFS File System -- -- -- - -- rmnfsmnt
Print Spooling
--------------
Fast path to
menu: spooler
Task -- -- --
- -- -- -- - -- -- -- - -- -- --- - - - Fast Path
---------------------------------------
----------------------------------
Start a Print Job -- -- -- - -- -- -- -
-- ---- - - - qprt
Manage Print Jobs -
-- - -- -- -- - -- -- - --- - - - jobs
Cancel a Print Job - -- - -- -- -- - --
-- - -- - - - qcan
Show the Status of
Print Jobs - -- - -- -- - -- - - - qchk
Prioritize a Print Job - -- - -- -- --
- --- -- - - - qpri
Hold/Release a
Print Job - -- - -- -- -- - ---- - - - qhld
Move a Job Between Print Queues - -- -
-- -- -- - - - qmove
Manage
Print Queues - -- - -- -- -- - -- -- --- - - -
pqmanage
Show Status of Print Queues -
-- - -- -- -- --- - - - qstatus
Stop a
Print Queue - -- - -- -- -- - -- -- - -- - - -
qstop
Start a Print Queue - -- - -- --
-- - -- -- --- - - - qstart
Set the
System-s Default Print Queue - -- - --- - - -
qdefault
Add a Print Queue
- -- - -- -- -- - -- -- -- -- - - - mkpq
Add an Additional Printer to an
Existing Print Queue -mkqprt
Change/Show Print Queue Characteristics
-- - - - -- - chpq
Remove a Print Queue
-- - - - -- - - - -- - - - -- - -rmpq
Manage Print Server server Programming
Tools -- - - - pqtools
Problem Determination
---------------------
Fast
path to menu: problem
Task
-- - - - -- - - - -- - - - -- - - - -- - - - Fast
Path
----------------------------------
---------------------------------------
Error Log -- - - - -- - - - -- - - - --
- - - -- - -- - error
Generate Error
Report -- - - - -- - - - -- - - - -- --- errpt
Change/Show Characteristics of the
Error Log -- - - - --errdemon
Clean the
Error Log -- - - - -- - - - -- - - - -- - - -
errclear
System Dump -- - -
- -- - - - -- - - - -- - - - -- - - -dump
Change the Primary Dump Device -- - - -
-- - - - -- - - dumpchgp
Change the
Secondary Dump Device -- - - - -- - - - -- -
dumpchgs
Change the Directory to which
Dump is Copied on Boot -- dumpchgd
Copy
a System Dump from a Dump Device to a File -- - -
-dump_copy_file
Copy a System Dump from
a Dump Device to Diskette -- - -dump_copy_dskt
Always Allow System Dump -- - - - -- -
- - -- - - - -- -dump_allow
System Dump
Compression -- - - - -- - - - -- - - - -- -
dump_comprs
Check Dump Resources
Utility -- - - - -- - - - -- - - - dump_checkr
Alog -- - - - -- - - - -- -
- - -- - - - -- - - - -- - -alog
Show
an Alog file -- - - - -- - - - -- - - - -- - - -
--alog_show
Change/Show Characteristics
of an Alog File -- - - - -- alog_change
Hardware Diagnostics -- - -
- -- - - - -- - - - -- - - -diag
Verify
Software Installation and Requisites -- - - - --
verify_install
Performance
& Resource Scheduling
---------------------------------
Fast path to menu: performance
Task -- - - - -- - - - -- -
- - -- - - - -- - Fast Path
-----------
--------------------------------------------------
------------
Resource Status & Monitors
-- - - - -- - - - -monitors
Analysis
Tools -- - - - -- - - - -- - - - -- -analysis
Resource Controls -- - - - -- - - - --
- - - -controls
Remove a Process kill
Set Initial Priority of a Process -- -
- - -- nice
Change Initial Priority of
a Process -- - - - renice
Set System
Run Level -- - - - -- - - - -- - - telinit
Schedule Jobs -- - - - -- -
- - -- - - - -- - at
Power Management
-- - - - -- - - - -- - - - --pm
Configure/Unconfigure Power Management
-- - - pmConfig
System State Transition
from Enable State -- -pmState
Display
Power Management -- - - - -- - - - --
pmDisplaySelect
Battery -- - - - -- - -
- -- - - - -- - - - --pmBattery
Workload Management -- - - - -- - - -
-- - - -wlm
Work on alternate
configurations - - - - - - -wlmconfig
Copy a configuration - - - - - - - - -
- - - -wlmconfig_copy
Create a
configuration - - - - - - - - - - -
-wlmconfig_create
Select a
configuration - - - - - - - - - - -
-wlmconfig_select
Enter configuration
description - - - - - - - wlmconfig_enter
Remove a configuration - - - - - - - -
- - - -wlmconfig_delete
Work on a set of Subclasses - - - - - -
- - - wlmsubclass
Add a class - - - - -
- - - - - - - - - - - - wlmaddclass
Change/Show Characteristics of a class
- - - -wlmchclass
General
characteristics of a class - - - - - -wlmclass_gal
CPU resource management - - - - - - - -
- - - wlmclass_cpu
Memory resource
management - - - - - - - - - -wlmclass_mem
diskIO resource management - - - - - -
- - - -wlmclass_bio
Remove
a class - - - - - - - - - - - - - - - -wlmrclass
Class assignment rules - - - - - - - -
- - - -wlmrs
Create a new Rule - - - -
- - - - - - - - - - crewlmrs
Change/Show Characteristics of a Rule -
- - - chgwlmrs
Start/Stop/Update WLM - - - - - - - - -
- - - wlmmanage
Start Workload
Managementwlmmanage - - - - - -wlmstart
Update Workload Management - - - - - -
- - - -wlmupdate
Stop Workload
Management - - - - - - - - - - -wlmoff
Assign/Unassign processes to a
class/subclass - - wlmassign
System Environments
-------------------
Fast
path to menu: system
Task -
- - - - - - - - - - - - - - - - - - - - - - -Fast
Path
----------------------------------
---------------------------------------
Stop the System - - - - - - - - - - - -
- - - - - - system
Assign the Console -
- - - - - - - - - - - - - - - -chcons
Change/Show Date and Time - - - - - - -
- - - - - - chtz_date
Change/Show Date
& Time - - - - - - - - - - - - - - date
Change Time Zone Using System Defined
Values - - - -chtz
Change Time Zone
Using User Inputted Values - - - - chtz_user
Manage Language Environment
- - - - - - - - - - - - mlang
Change/Show Primary Language
Environment - - - - - -chlang
Add
Additional Language Environments - - - - - - -
-mle_add_lang
Remove Language
Environments - - - - - - - - - - -
-mle_rm_lang_hdr
Change/Show Language
Hierarchy - - - - - - - - - - -mle_hier_cmd_hdr
Set User Languages - - - - - - - - - -
- - - - - - -chlang_user
Change/Show
Applications for a Language - - - - - -
mle_chapp_menu
Convert System Messages
and Flat Files - - - - - - -nu_iconv
Change/Show Characteristics of
Operating System - - chgsys
Change/Show
Number of Licensed Users - - - - - - - -chlicense
Manage AIX Floating User Licenses for
this Server - netls_server
Broadcast
Message to all Users - - - - - - - - - - -wall
Manage System Logs - - - - - - - - - -
- - - - - - -logs
Change/Show
Characteristics of System Dump - - - - -dump
Internet and Documentation
Services - - - - - - -web_configure
Change/Show Default Browser - - - - - -
- - - - -change_default_browser
Change
Documentation and Search Server - - - - -
change_doc_search_server
Change/Show
Default Documentation Language - - - chdoclang
Web-based System Manager - - - - - - -
- - - - - web_based_system_manager
Change System User
Interface - - - - - - - - - - dt_config
Change/Show Default Documentation
Language - - - chdoclang
Manage Remote
Reboot Facility - - - - - - - - - -rrbtty
Manage System Hang Detection - - - - -
- - - - - shd
Processes &
Subsystems
----------------------
Fast path to menu: src
Task - - - - - - - - - - - - - - - -
-Fast Path
----------------------------
---------------------------------------------
Processes - - - - - - - - - - - - - -
-process
Remove a Process - - - - - - -
- - - - kill
Bind a Process to a
Processor - - - - -bindproc
Unbind a
Process - - - - - - - - - - - unbindproc
Subsystems - - - - - - - -
- - - - - - subsys
Query a Subsystem -
- - - - - - - - - -qssys
Start a
Subsystem - - - - - - - - - - -startssys
Stop a Subsystem - - - - - - - - - - -
stopssys
Stop a Single Subsystem - - -
- - - - -stopassys
Stop All Subsystems
- - - - - - - - - -stopallssys
Refresh
a Subsystem - - - - - - - - - -refresh
Trace Subsystem - - - - - - - - - - -
-tracessys
Start Trace - - - - - - - -
- - - - - -tracessyson
Stop Trace - - -
- - - - - - - - - - - tracessysoff
Subservers - - - - - - - - - - - - - -
subserver
Query a Subserver - - - - - -
- - - - -qserver
Start a Subserver - -
- - - - - - - - -startserver
Stop a
Subserver - - - - - - - - - - - stopserver
Trace Subserver - - - - - - - - - - -
-traceserver
Start Trace - - - - - - -
- - - - - - -
Stop Trace - - - - - - -
- - - - - - -
1.
SMIT
(
System Management
Interface Tool
)是
AIX
操作系统提供的一个集成化
的系统管理工具。
在
AIX
系统中有两种界面,即字符界面和图形界面。
2.
一级菜单有
12
个大功能和一个帮助功能:
软件安装与维护(
Sofeware
Installation and
Maintenance
)
软件许可管理(
Sofeware License
Management
)
p>
设备管理(
Devices
)
系统物理和逻辑存储管理(
System Storage
Management (Physical & Logical
Storage)
)
用户和安全管理(
Security &
Users
)
通讯应用和服务(
Communications
Applications and Services
)
打印管理(
Print
Spooling
)
问题检测(
Problem
Determination
)
性能调整和资源时间安排(
Performance &
Resource
)
系统环境(
System
Environments
)
进程和子系统管理(
Processes &
Subsystems
)
p>
应用程序(
Applications
)<
/p>
Using SMIT (information only)
————
SMIT
帮助
3.
修改时区,
smit chtz
,
修改完成后,提示修改将在下一次系统启动时生效(注意类似命令
情况)
Before
Command completion, additional instructions may
appear below.
Any changes
made to the time zone will take effect at the next
system
boot.
4.
对话屏幕中的符号
——
*
表示该字段必须填写一个合法的值
#
表示这个字段必须填写数字
/
表示该字段必须填写文件或者目录路径
x
表示该字段必须填写
p>
16
进制的值
?表示在该字段中输入的值不会显示出来
+
表示该字段的值可以从一个弹出式列表或者循环列表中选择
5.
Smit
中的快捷键
——
功能键
组合键
作用
F1=Help
Esc+1
获得有关当前画面内容的帮助
F2=Refresh
Esc+2
刷新当前画面,也就是重画屏幕
F3=Cancel
Esc+3
取消并返回到上一个画面
F8=Image
Esc+8
保存
当前的屏幕画面到
Smit
的日志中,
并
且显示当前的快捷路径(
Current Fast
Path
)
F10=Exit
Esc+0
直接
退出
Smit,
返回到命令行
Enter=Do
__
执行,继续
/=Find
__
在上面的选择列表中查找一个字符串
n=Find Next
__
查找下一个
F4=List
Esc+4
打弹出式选择列表
F5=Reset
Esc+5
修改
了某个字段后,按
F5
键就会恢复原来
默认的值
F6=Command Esc+6
查看生成的命令行内容
F7=Edit
Esc+7
编辑
某个字段,
它会弹出一个对话框,
让您进
行编辑
F9=Shell
Esc+9
暂时
进入到
Shell
,
也就是命令行状态
,
但这
时
smit
被挂起
PgDn
Ctrl+v
向下翻一页
PgUp
Esc+v
向上翻一页
Home Esc+<
跳到滚动区域的第一行
End
Esc+>
跳到滚动区域的最底行
图形方式下快捷键的作用:
F9
重置所有字段
F10
在窗口下拉式菜单和
smit
功能菜单之间切换
F12
退出
smit
Ctrl+1
弹出所有可选的值
6.
Smit
的命令行参数
——
-C
以
ASCII
字符界面进入
Smit
-D
设置调试模式,同
-
t
和
-v
参数
-f
允许
Smit
的标准输入和标准输出可以重定向
-h
显示
smit
命令的用法,获得帮助
-l file
将
文件的内容重定向到指定的文件
file
中
p>
-s file
将
文件的内容重定向到指定的文件
< br>file
中
-M
以图形窗口界面进入
Smit
-t
在
< br>中记录详细的跟踪信息
-v
在
< br>中记录生成中间的和最终的命令字符串
-x
不执行任何命令,但是为稍后运行记录日志
-X
不执行任何<
/p>
Smit
的内部命令,也不生成命令
AIX
中查看系统中的网卡设备
#lsdev -Cc adapter | grep ent
ent0
Available 00-08 10/100/1000 Base-TX
PCI-X Adapter (14106902)
ent1
Available
07-08 2-Port 10/100/1000 Base-TX PCI-X Adapter
(14108902)
ent2
Available 07-09 2-Port
10/100/1000 Base-TX PCI-X Adapter
(14108902)
ent3
Available 0B-08
10/100/1000 Base-TX PCI-X Adapter (14106902)
ent4
Available
EtherChannel / IEEE 802.3ad Link
Aggregation
从上面可以看出,系统中共有四块网卡
(ent0~ent3
,而
ent4
是由多块网卡绑定出来的虚
拟网卡
EtherChannel.
那么,四块网卡具体是插在哪个插槽上的呢?
#lsslot -c pci | grep ent
6FCB-P1-C2
PCI-X capable,
64 bit, 133MHz slot
ent3
6FCB-P1-C3
PCI-X capable,
64 bit, 266MHz slot
ent0
上述
命令显示的是插在
PCI
插槽上的两块网卡,都是在第一个
p>
PCI
笼子中,分别在第二个
和第三个插槽
。另外两块则是主板上内置的网卡,不是插在
PCI
槽上的。<
/p>
#lscfg -v | grep ent
Model Implementation: Multiple
Processor, PCI bus
ent1 6FCB-P1-T9
2-Port 10/100/1000 Base-TX PCI-X Adapter
(14108902)
ent2 6FCB-P1-T10
2-Port 10/100/1000 Base-TX PCI-X
Adapter (14108902)
ent3
6FCB-P1-C2-T1 10/100/1000 Base-TX PCI-X Adapter
(14106902)
ent0
6FCB-P1-C3-T1 10/100/1000 Base-TX PCI-X Adapter
(14106902)
AIX
中,一
个网卡在系统中实际上可以看到两个设备接口,
en
开头的是<
/p>
Ethernet II
标准
的,
et
开头的是
IEEE
802.3
标准的。以太网的帧有两种标准:
Ethernet
II(
或者叫
Standard Ethernet)
和
IEEE802.3
,两者主要是标志帧的上
层协议的方式不一样,
Ethernet II
使用了一个
p>
TYPE
值表示,
而
IEEE802.3
则使用一个数据
LENGTH
表示。
一
般来说,
Eth
ernnet II
更常用。
#lsdev -Cc if
en0 Defined
00-08 Standard Ethernet Network
Interface
en1 Defined
07-08 Standard Ethernet Network Interface
en2 Defined
07-09 Standard
Ethernet Network Interface
en3 Defined
0B-08 Standard Ethernet Network
Interface
en4 Available
Standard Ethernet Network
Interface
et0 Defined
00-08 IEEE 802.3 Ethernet Network Interface
et1 Defined
07-08 IEEE
802.3 Ethernet Network Interface
et2
Defined
07-09 IEEE 802.3 Ethernet
Network Interface
et3 Defined
0B-08 IEEE 802.3 Ethernet Network
Interface
et4 Defined
IEEE 802.3
Ethernet Network Interface
lo0
Available
Loopback Network Interface
其中
lo0
表示本地回环接口,也就是
127.0.0.1
查看某块网卡的具体属性
#lsattr -El ent1
alt_addr
0x
Alternate
ethernet address
True
busintr
273
Bus interrupt level
False
busmem
0xf8120000
Bus memory address
False
chksum_offload yes
Enable
hardware transmit and receive
checksum
True
compat_mode
no
Gigabit
Backward compatability
True
copy_bytes
2048
Copy packet if this many or less bytes
True
delay_open
no
Enable delay of open until link state is known
True
failback
yes
Enable auto
failback to primary
True
failback_delay 15
Failback to primary delay timer
True
failover
disable
Enable
failover mode
True
flow_ctrl
yes
Enable Transmit and Receive Flow
Control
True
intr_priority
3
Interrupt priority
False