[转帖]SMIT命令说明_VMware, Unix及操作系统讨论区_Weblogic技术|Tuxedo技术|中间件技术|Oracle论坛|JAVA论坛|Linux/Unix技术|hadoop论坛_联动北方技术论坛  
网站首页 | 关于我们 | 服务中心 | 经验交流 | 公司荣誉 | 成功案例 | 合作伙伴 | 联系我们 |
联动北方-国内领先的云技术服务提供商
»  游客             当前位置:  论坛首页 »  自由讨论区 »  VMware, Unix及操作系统讨论区 »
总帖数
1
每页帖数
101/1页1
返回列表
0
发起投票  发起投票 发新帖子
查看: 3542 | 回复: 0   主题: [转帖]SMIT命令说明        下一篇 
css
注册用户
等级:上尉
经验:516
发帖:38
精华:0
注册:2013-1-11
状态:离线
发送短消息息给css 加好友    发送短消息息给css 发消息
发表于: IP:您无权察看 2013-1-11 11:01:27 | [全部帖] [楼主帖] 楼主

#smit
[test /home/test] smit
System Management
Move cursor to desired item and press Enter.
Software Installation and Maintenance
Software License Management
Devices
System Storage Management (Physical & Logical Storage)
Security & Users
Communications Applications and Services
Print Spooling
Problem Determination
Performance & Resource Scheduling
System Environments
Processes & Subsystems
Applications
Using SMIT (information only)
----------------------------------------
Software Installation and Maintenance
Move cursor to desired item and press Enter.
Install and Update Software
List Software and Related Information
Software Maintenance and Utilities
Network Installation Management
System Backup Manager
----------------------------------------
Software License Management
Move cursor to desired item and press Enter.
Manage Nodelocked Licenses
Manage License Servers and License Databases
Show Available License Servers
Show License Usage on Servers
Show Target ID
----------------------------��-----------
Devices
Move cursor to desired item and press Enter.
[TOP]
Install/Configure Devices Added After IPL
Printer/Plotter
TTY
Asynchronous Adapters
PTY
Console
Fixed Disk
Disk Array
CD ROM Drive
Read/Write Optical Drive
Diskette Drive
Tape Drive
Communication
Graphic Displays
Graphic Input Devices
Low Function Terminal (LFT)
SCSI Initiator Device
SCSI Adapter
Asynchronous I/O
Multimedia
List Devices
Configure/Unconfigure Devices
Install Additional Device Software
PCI Hot Plug Manager
ISA Adapters
----------------------------------------
System Storage Management (Physical & Logical Storage)
Move cursor to desired item and press Enter.
Logical Volume Manager
File Systems
Files & Directories
System Backup Manager
-------------------------------------
[test /home/test] smit lvm
Logical Volume Manager
Move cursor to desired item and press Enter.
Volume Groups
Logical Volumes
Physical Volumes
Paging Space
-------------------------------------���--
Volume Groups
Move cursor to desired item and press Enter.
List All Volume Groups
Add a Volume Group
Set Characteristics of a Volume Group
List Contents of a Volume Group
Remove a Volume Group
Activate a Volume Group
Deactivate a Volume Group
Import a Volume Group
Export a Volume Group
Mirror a Volume Group
Unmirror a Volume Group
Synchronize LVM Mirrors
Back Up a Volume Group
Remake a Volume Group
List Files in a Volume Group Backup
Restore Files in a Volume Group Backup
----------------------------------------
Change a Volume Group
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
* VOLUME GROUP name                                   rootvg
* Activate volume group AUTOMATICALLY                 yes                     +
at system restart?
* A QUORUM of disks required to keep the volume       yes                     +
group on-line ?
Convert this VG to Concurrent Capable?              no                      +
* Autovaryon VG in Concurrent Mode?                   no                      +
---------------------------------------
Mirror a Volume Group
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
* VOLUME GROUP name                                   rootvg
Mirror sync mode                                   [Foreground]             +
PHYSICAL VOLUME names                              []                       +
Number of COPIES of each logical                    2                       +
partition
Keep Quorum Checking On?                            no                      +
Create Exact LV Mapping?                            no                      +
----------------------------------------
Back Up a Volume Group
Move cursor to desired item and press Enter.
Back Up a Volume Group to Tape/File
Back Up a Volume Group to CD or DVD
----------------------------------------
Back Up a Volume Group to Tape/File
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[MORE...2]                                              [Entry Fields]
previously stored on the selected
output medium.
* Backup DEVICE or FILE                              []                       +/
* VOLUME GROUP to back up                            []                       +
List files as they are backed up?                   no                      +
Generate new vg.data file?                          yes                     +
Create MAP files?                                   no                      +
EXCLUDE files?                                      no                      +
EXPAND /tmp if needed?                              no                      +
Disable software packing of backup?                 no                      +
Number of BLOCKS to write in a single output       []                        #
(Leave blank to use a system default)
[BOTTOM
----------------------------------------
Restore Files in a Volume Group Backup
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
* Restore DEVICE or FILE                             []                       +/
FILES to restore                                   []
(Leave blank to restore entire archive)
Number of BLOCKS to read in a single input         []                        #
(Leave blank to use a system default)
Verify BLOCK size if tape device?                   no                      +
----------------------------------------
Logical Volumes
Move cursor to desired item and press Enter.
List All Logical Volumes by Volume Group
Add a Logical Volume
Set Characteristic of a Logical Volume
Show Characteristics of a Logical Volume
Remove a Logical Volume
Copy a Logical Volume
----------------------------------------
Change a Logical Volume
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[TOP]                                                   [Entry Fields]
* Logical volume NAME                                 lv00
Logical volume TYPE                                [jfs]
POSITION on physical volume                         middle                  +
RANGE of physical volumes                           minimum                 +
MAXIMUM NUMBER of PHYSICAL VOLUMES                 [32]                      #
to use for allocation
Allocate each logical partition copy                yes                     +
on a SEPARATE physical volume?
RELOCATE the logical volume during                  yes                     +
reorganization?
Logical volume LABEL                               [/u01]
MAXIMUM NUMBER of LOGICAL PARTITIONS               [512]                     #
SCHEDULING POLICY for reading/writing               parallel                +
logical partition copies
PERMISSIONS                                         read/write              +
Enable BAD BLOCK relocation?                        yes                     +
Enable WRITE VERIFY?                                no                      +
Mirror Write Consistency?                           yes                     +
[BOTTOM]
----------------------------------------
[test /home/test] smit lvm
List Contents of a Physical Volume
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
* PHYSICAL VOLUME name                               [hdisk0]                 +
List OPTION                                         status                  +
COMMAND STATUS
Command: OK            stdout: yes           stderr: no
Before command completion, additional instructions may appear below.
PHYSICAL VOLUME:    hdisk0                   VOLUME GROUP:     rootvg
PV IDENTIFIER:      007857f365c430ec VG IDENTIFIER     007857f3a79852ee
PV STATE:           active
STALE PARTITIONS:   0                        ALLOCATABLE:      yes
PP SIZE:            8 megabyte(s)            LOGICAL VOLUMES:  8
TOTAL PPs:          516 (4128 megabytes)     VG DESCRIPTORS:   2
FREE PPs:           90 (720 megabytes)
USED PPs:           426 (3408 megabytes)
FREE DISTRIBUTION:  23..38..00..00..29
USED DISTRIBUTION:  81..65..103..103..74
-----------------------------------------------
Change Characteristics of a Physical Volume
Type or select a value for the entry field.
Press Enter AFTER making all desired changes.
[Entry Fields]
* PHYSICAL VOLUME name                               [hdisk1]                 +
Change Characteristics of a Physical Volume
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
* Physical volume NAME                                hdisk1
* Allow physical partition ALLOCATION?                yes                     +
Physical volume STATE                               active                  +
----------------------------------------
Change / Show Characteristics of a Paging Space
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
Paging space name                                   hd6
Volume group name                                   rootvg
Physical volume name                                hdisk0
NUMBER of additional logical partitions            []                        #
Use this paging space each time the system is       yes                     +
RESTARTED?
------------------------------------------
--------------------------------------��-
Security & Users
Move cursor to desired item and press Enter.
Users
Groups
Passwords
Login Controls
Roles
----------------------------------------
Passwords
Move cursor to desired item and press Enter.
Change a User's Password
Change / Show Password Attributes for a User
----------------------------------------
Login Controls
Move cursor to desired item and press Enter.
Change / Show Login Attributes for a User
Change / Show Login Attributes for a Port
----------------------------------------
Change / Show Login Attributes for a User
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
* User NAME                                           test
User can LOGIN?                                     true                    +
User can LOGIN REMOTELY?                            true                    +
Valid TTYs                                         []
Allowed LOGIN TIMES                                []
Is this user ACCOUNT LOCKED?                                                +
Number of FAILED LOGINS before                     []                        #
user account is locked
Login AUTHENTICATION GRAMMAR                       []
----------------------------------------
Roles
Move cursor to desired item and press Enter.
Add a Role
Change / Show Characteristics of a Role
Remove a Role
List All Roles
----------------------------------------
Add a Role
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
* Role NAME                                          []
AUTHORIZATIONS                                     []
Role LIST                                          []                       +
GROUPS                                             []                       +
Smit SCREENS                                       []                       +
VISIBILITY                                         [1]                      +#
Message CATALOG                                    []
Message NUMBER                                     []                        #
----------------------------------------
Communications Applications and Services
Move cursor to desired item and press Enter.
TCP/IP
NFS
PPP
------------------------------------
smit tcpip
TCP/IP
Move cursor to desired item and press Enter.
Minimum Configuration & Startup
Further Configuration
Use DHCP for TCPIP Configuration & Startup
IPV6 Configuration
Quality of Service Configuration & Startup
Configure IP Security (IPv4)
Configure IP Security (IPv6)
Configure Mobile IPv6
----------------------------------------
Minimum Configuration & Startup
To Delete existing configuration data, please use Further Configuration menus
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[TOP]                                                   [Entry Fields]
* HOSTNAME                                           [vtrust]
* Internet ADDRESS (dotted decimal)                  []
Network MASK (dotted decimal)                      []
* Network INTERFACE                                   et0
NAMESERVER
Internet ADDRESS (dotted decimal)         [202.96.134.133]
DOMAIN Name                               [ns.shenzhen.gd.cn]
Default Gateway
Address (dotted decimal or symbolic name)     [192.168.8.1]
Cost                                          [0]                                          #
Do Active Dead Gateway Detection?              no
Your CABLE Type                                     N/A                                        +
START Now                                           no                                         +
[BOTTOM]
----------------------------------------
Further Configuration
Move cursor to desired item and press Enter.
Hostname
Static Routes
Network Interfaces
Name Resolution
Client Network Services
Server Network Services
Manage Print Server
Select BSD style rc Configuration
Start Configured TCPIP Daemons
Stop TCPIP Daemons
Authentication Configuration
----------------------------------------
Network Interface Selection
Move cursor to desired item and press Enter.
List All Network Interfaces
Add a Network Interface
Change / Show Characteristics of a Network Interface
Remove a Network Interface
PVCs for IP over an ATM Network
Configure Aliases
--------------------------------------------
Network Interface Drivers
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
Network Interface                                   en0
Maximum IP PACKET SIZE for THIS DEVICE             [1500]                                      +#
---------------------------------------
Change / Show a Standard Ethernet Interface
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
Network Interface Name                              en0
INTERNET ADDRESS (dotted decimal)                  [192.168.8.252]
Network MASK (hexadecimal or dotted decimal)       [255.255.255.0]
Current STATE                                       up                                         +
Use Address Resolution Protocol (ARP)?              yes                                        +
BROADCAST ADDRESS (dotted decimal)                 []
Interface Specific Network Options
('NULL' will unset the option)
rfc1323                                          []
tcp_mssdflt                                      []
tcp_nodelay                                      []
tcp_recvspace                                    []
tcp_sendspace                                    []
Apply change to DATABASE only                       no                                         +
----------------------------------------
Add an IPV4 Network Alias
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
Network INTERFACE                                   en0
* IPV4 ADDRESS (dotted decimal)                      []
Network MASK (hexadecimal or dotted decimal)       []
-----------------------------------------------
----------------------------------------
NFS
Move cursor to desired item and press Enter.
Configure TCP/IP (If Not Already Configured)
Network File System (NFS)
Network Information Service (NIS)
Network Information Service Plus (NIS+)
Configure Secure NFS & NIS
Cache FS
----------------------------------------
Network File System (NFS)
Move cursor to desired item and press Enter.
Configure NFS on This System
Add a Directory to Exports List
Change / Show Attributes of an Exported Directory
Remove a Directory from Exports List
Add a File System for Mounting
Change / Show Attributes of an NFS File System
Remove an NFS File System
----------------------------------------
PPP
Move cursor to desired item and press Enter.
Link Control Configuration
PPP IP Interfaces
PAP  Authentication
CHAP Authentication
Start PPP
Stop PPP
----------------------------------------
Print Spooling
Move cursor to desired item and press Enter.
Start a Print Job
Manage Print Jobs
List All Print Queues
Manage Print Queues
Add a Print Queue
Add an Additional Printer to an Existing Print Queue
Change / Show Print Queue Characteristics
Change / Show Printer Connection Characteristics
Remove a Print Queue
Manage Print Server
Programming Tools
----------------------------------------
Problem Determination
Move cursor to desired item and press Enter.
Error Log
Trace
System Dump
Alog
Hardware Diagnostics
Verify Software Installation and Requisites
----------------------------------------
smiy error
Error Log
Move cursor to desired item and press Enter.
Generate Error Report
Change / Show Characteristics of the Error Log
Clean the Error Log
----------------------------------------
smit trace
Trace
Move cursor to desired item and press Enter.
START Trace
STOP Trace
Generate a Trace Report
----------------------------------------
smit dump
System Dump
Move cursor to desired item and press Enter.
Show Current Dump Devices
Show Information About the Previous System Dump
Show Estimated Dump Size
Change the Primary Dump Device
Change the Secondary Dump Device
Change the Directory to which Dump is Copied on Boot
Start a Dump to the Primary Dump Device
Start a Dump to the Secondary Dump Device
Copy a System Dump from a Dump Device to a File
Copy a System Dump from a Dump Device to Diskette
Always ALLOW System Dump
System Dump Compression
----    -----------------------------------
smit alog
Alog
Move cursor to desired item and press Enter.
Show an Alog File
Change / Show Characteristics of an Alog File
----------------------------------------------------------------------------------------------
smit diag
Hardware Diagnostics
Move cursor to desired item and press Enter.
Current Shell Diagnostics
This selection invokes the "diag" command in the current shell.
No users or applications will be affected.  If the device you want
to test is not listed, or if you want to do further analysis, then
select the Maintenance Shell Diagnostics.
Maintenance Shell Diagnostics
This selection invokes the "cd /;shutdown -m" command, which brings the
system down to the Maintenance Shell.  During a shutdown, all users are
notified of the impending shutdown, and are given 60 seconds to log off.
Perform the following to use the Maintenance Shell Diagnostics.
*  Login as "root" at the default console (/dev/console).
*  Enter the "diag" command.
*  Enter "Ctrl d" to return to the default user shell.
----------------------    -------------------------------------
smit verify_install
Verify Software Installation and Requisites
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
SOFTWARE name                                      []                       +
---------------------------------------
smit performance
Performance & Resource Scheduling
Move cursor to desired item and press Enter.
Resource Status & Monitors
Analysis Tools
Resource Controls
Schedule Jobs
Power Management
Workload Management
---------------------------------------------
smit monitors
Resource Status & Monitors
Move cursor to desired item and press Enter.
Report System Activity            sar
Show Process Status                     ps
Show Virtual Memory Statistics        vmstat
Show Input/Output Statistics            iostat
------------------------------------------------------------
smit sar
Report System Activity
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[TOP]                                                   [Entry Fields]
* Interval LENGTH of each system activity sampling   []                        #
* NUMBER of sampling intervals                       []                        #
Report ALL activities listed below?                 no                      +
- OR any combination of the following -
Report use of FILE ACCESS system routines?          no                      +
Report BUFFER ACTIVITY for transfers, accesses,     no                      +
and cache hit ratios?
Report SYSTEM CALLS?                                no                      +
Report KERNEL activity?                             no                      +
Report MESSAGE and SEMAPHORE activities?            no                      +
Report AVERAGE QUEUE LENGTH while occupied, and     no                      +
percentage of time occupied?
Report PAGING statistics?                           no                      +
Report CPU activity?                                no                      +
Report status of TEXT, PROCESS, i-node, and FILE    no                      +
TABLES?
Report SYSTEM SWITCHING activity?                   no                      +
Report TTY DEVICE activity?                         no                      +
[BOTTOM]
-----------------------------------------------------
smit analysis
Analysis Tools
Move cursor to desired item and press Enter.
Show System Activity While Running a Command
Trace
----------------------------------------
#smit controls
Resource Controls
Move cursor to desired item and press Enter.
Remove a Process
Set Initial Priority of a Process
Change Initial Priority of a Process
Set System Run Level
Change System User Interface
----------------------------------------
smit at
Schedule Jobs
Move cursor to desired item and press Enter.
List All Jobs Scheduled
Schedule a Job
Remove a Job from the Schedule
----------------------------���-----------
smit pm
Power Management
Move cursor to desired item and press Enter.
Enable / Disable Power Management State Transition
Configure / Unconfigure Power Management
System State Transition from Enable State
Change / Show Characteristics of Power Management
Power Management Timer
Display Power Management
Power Management Characteristics of Each Device
Battery
----------------------------------------
smit pmDisplaySelect
Display Power Management
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
* Time before display dimmed (in minutes)            [20]                      #
* Time before display power suspended (in minutes)   [30]                      #
* Time before display power turned off (in minutes)  [40]                      #
To disable Display Power Management,
set the dimmed time to zero.
----------------------------------------
smit wlm
Workload Management
Move cursor to desired item and press Enter.
List all Classes
Add a Class
Change / Show Characteristics of a Class
Remove a Class
Class Assignment Rules
Start/Stop/Update WLM
----------------------------------------
Change / Show Characteristics of a Class
Type or select values in entry fields.
Press Enter AFTER making all desired changes.
[Entry Fields]
Class name                                          System
Description                                        []
Tier                                               [0]                       #
Minimum CPU time (%)                               [0]                       #
Maximum CPU time (%)                               [100]                     #
Shares of CPU                                      [1]                       #
Minimum Memory (%)                                 [1]                       #
Maximum Memory (%)                                 [100]                     #
Shares of Memory                                   [1]                       #
----------------------------------------
smit system
System Environments
Move cursor to desired item and press Enter.
Stop the System
Assign the Console
Change / Show Date and Time
Manage Language Environment
Change / Show Characteristics of Operating System
Change / Show Number of Licensed Users
Manage AIX Floating User Licenses for this Server
Broadcast Message to all Users
Manage System Logs
Change / Show Characteristics of System Dump
Change System User Interface
Internet and Documentation Services
Change/Show Default Documentation Language
Manage Remote Reboot Facility
----------------------------------------
smit src
Processes & Subsystems
Move cursor to desired item and press Enter.
Processes
Subsystems
Subservers
----------------------------------------
smit process
Processes
Move cursor to desired item and press Enter.
Show All Current Processes
Remove a Process
Bind a Process to a Processor
Unbind a Process
----------------------------------------
smit subsys
Subsystems
Move cursor to desired item and press Enter.
List All Subsystems
Query a Subsystem
Start a Subsystem
Stop Subsystem
Refresh a Subsystem
Trace Subsystem
----------------------------------------
List All Subsystems
COMMAND STATUS
Command: OK            stdout: yes           stderr: no
Before command completion, additional instructions may appear below.
[TOP]
Subsystem         Group            PID     Status
syslogd          ras              5954    active
sendmail         mail             6708    active
portmap          portmap          6966    active
inetd            tcpip            7224    active
snmpd            tcpip            7482    active
dpid2            tcpip            7740    active
biod             nfs              9034    active
rpc.statd        nfs              8780    active
rpc.lockd        nfs              9296    active
qdaemon          spooler          9808    active
writesrv         spooler          10070   active
i4llmd           iforls           17042   active
lpd              spooler                  inoperative
clvmd                                     inoperative
gated            tcpip                    inoperative
named            tcpip                    inoperative
routed           tcpip                    inoperative
rwhod            tcpip                    inoperative
iptrace          tcpip                    inoperative
xntpd            tcpip                    inoperative
timed            tcpip                    inoperative
dhcpcd           tcpip                    inoperative
dhcpsd           tcpip                    inoperative
ndpd-host        tcpip                    inoperative
ndpd-router      tcpip                    inoperative
tftpd            tcpip                    inoperative
nfsd             nfs                      inoperative
rpc.mountd       nfs                      inoperative
automountd       autofs                   inoperative
llbd             iforncs                  inoperative
glbd             iforncs                  inoperative
i4lmd            iforls                   inoperative
i4glbcd          iforncs                  inoperative
i4gdb            iforls                   inoperative
wsmrefserver                              inoperative
dtsrc                                     inoperative
mrouted          tcpip                    inoperative
rsvpd            qos                      inoperative
policyd          qos                      inoperative
pppcontrold      uucp                     inoperative
nis_cachemgr     nisplus                  inoperative
rpc.nisd         nisplus                  inoperative
rpc.nispasswdd   nisplus                  inoperative
keyserv          keyserv                  inoperative
ypbind           yp                       inoperative
ypserv           yp                       inoperative
ypupdated        yp                       inoperative
yppasswdd        yp                       inoperative
pxed             tcpip                    inoperative
binld            tcpip                    inoperative
dfpd             tcpip                    inoperative
i4conmgr         iforls                   inoperative
----------------------------------------
smit subserver
Subservers
Move cursor to desired item and press Enter.
Query a Subserver
Start a Subserver
Stop a Subserver
Trace Subserver
----------------------------------------
SUBSERVER name
Move cursor to desired item and press Enter.
[TOP]                                                                      ftp                                                                     uucp                                                                   telnet                                                                  shell                                                                   login                                                                  exec                                                                    finger                                                                  tftp                                                                    ntalk                                                                 echo
discard                                                                 chargen                                                                daytime                                                                  time                                                                   comsat                                                                 bootps                                                                 systat                                                                 netstat                                                                klogin                                                                 kshell                                                                 imapd                                                                  pop3d
-------------------------------


本文来自ChinaUnix博客,如果查看原文请点: http://blog.chinaunix.net/u/7315/showart_82638.html

该贴被css编辑于2013-1-11 11:08:53




赞(0)    操作        顶端 
总帖数
1
每页帖数
101/1页1
返回列表
发新帖子
请输入验证码: 点击刷新验证码
您需要登录后才可以回帖 登录 | 注册
技术讨论