SSH Secure Shell 3.2.9 (Build 283)
Copyright (c) 2000-2003 SSH Communications Security Corp - http://www.ssh.com/
This copy of SSH Secure Shell is a non-commercial version.
This version does not include PKI and PKCS #11 functionality.
*******************************************************************************
* *
* *
* Welcome to AIX Version 5.3! *
* *
* *
* Please see the README file in /usr/lpp/bos for information pertinent to *
* this release of the AIX Operating System. *
* *
* *
*******************************************************************************
1.-bash-3.00$ oslevel //查看版本
5.3.0.0
2.-bash-3.00$ lspv //查看物理卷
hdisk0//harddisk缩写 000b45c0688a5c5d//pvid rootvg active//此设备为rootvg为激活状态系统装好默认为rootvg系统自动创建
hdisk1 00c97ac06a9cef35 None / 这个没有分配,可以是做其它datavg等。
3.-bash-3.00$ lspv -l hdisk0 //查看物理卷的LV逻辑卷
hdisk0:
LV NAME LPs PPs DISTRIBUTION MOUNT POINT
hd2 44 44 00..06..38..00..00 /usr
hd9var 5 5 00..00..05..00..00 /var
hd8 1 1 00..00..01..00..00 N/A
hd4 41 41 00..00..41..00..00 /
hd5 1 1 01..00..00..00..00 N/A
hd6 4 4 00..04..00..00..00 N/A
hd10opt 18 18 00..00..18..00..00 /opt
hd3 1 1 00..00..01..00..00 /tmp
hd1 5 5 00..00..05..00..00 /home0
fwdump 1 1 00..01..00..00..00 /var/adm/ras/platform
lg_dumplv 8 8 00..08..00..00..00 N/A
4.-bash-3.00$ lspv -p hdisk0 //查看物理卷hdisk0的属性
hdisk0:
PP RANGE STATE REGION LV NAME TYPE MOUNT POINT
1-1 used outer edge hd5 boot N/A
2-110 free outer edge
111-111 used outer middle hd6 paging N/A
112-112 used outer middle fwdump jfs2 /var/adm/ras/platform
113-120 used outer middle lg_dumplv sysdump N/A
121-123 used outer middle hd6 paging N/A
124-213 free outer middle
214-219 used outer middle hd2 jfs2 /usr
220-220 used center hd8 jfs2log N/A
221-221 used center hd4 jfs2 /
222-222 used center hd2 jfs2 /usr
223-223 used center hd9var jfs2 /var
224-224 used center hd3 jfs2 /tmp
225-225 used center hd1 jfs2 /home0
226-226 used center hd10opt jfs2 /opt
227-236 used center hd2 jfs2 /usr
237-237 used center hd10opt jfs2 /opt
238-277 used center hd4 jfs2 /
278-293 used center hd10opt jfs2 /opt
294-309 used center hd2 jfs2 /usr
310-313 used center hd9var jfs2 /var
314-317 used center hd1 jfs2 /home0
318-328 used center hd2 jfs2 /usr
329-437 free inner middle
438-546 free inner edge
5.-bash-3.00$ lsvg //查看roogvg卷组
rootvg
6.-bash-3.00$ lsvg -p rootvg//查看卷组中的物理卷
rootvg:
PV_NAME PV STATE TOTAL PPs FREE PPs FREE DISTRIBUTION
hdisk0 active 546 417 109..90..00..109..109
7.-bash-3.00$ lsvg -l rootvg//查看rootvg卷组中的lv逻辑卷一般用hd来表示
rootvg:
LV NAME TYPE LPs PPs PVs LV STATE MOUNT POINT
hd5 boot 1 1 1 closed/syncd N/A
hd6 paging 4 4 1 open/syncd N/A
hd8 jfs2log 1 1 1 open/syncd N/A
hd4 jfs2 41 41 1 open/syncd /
hd2 jfs2 44 44 1 open/syncd /usr
hd9var jfs2 5 5 1 open/syncd /var
hd3 jfs2 1 1 1 open/syncd /tmp
hd1 jfs2 5 5 1 open/syncd /home0
hd10opt jfs2 18 18 1 open/syncd /opt
fwdump jfs2 1 1 1 open/syncd /var/adm/ras/platform
lg_dumplv sysdump 8 8 1 open/syncd N/A
8.-bash-3.00$ lsvg rootvg//查看rootvg 卷组的属性如下:
VOLUME GROUP: rootvg VG IDENTIFIER: 000b45c00000d7000000011b688a6044
VG STATE: active PP SIZE: 128 megabyte(s)
VG PERMISSION: read/write TOTAL PPs: 546 (69888 megabytes)
MAX LVs: 256 FREE PPs: 417 (53376 megabytes)
LVs: 11 USED PPs: 129 (16512 megabytes)
OPEN LVs: 10 QUORUM: 2 (Enabled)
TOTAL PVs: 1 VG DESCRIPTORS: 2
STALE PVs: 0 STALE PPs: 0
ACTIVE PVs: 1 AUTO ON: yes
MAX PPs per VG: 32512
MAX PPs per PV: 1016 MAX PVs: 32
LTG size (Dynamic): 256 kilobyte(s) AUTO SYNC: no
HOT SPARE: no BB POLICY: relocatable
9.-bash-3.00$ lsdev //查看设备管理器
L2cache0 Available L2 Cache
aio0 Defined Asynchronous I/O (Legacy)
cd0 Available 0F-08-00 IDE DVD-ROM Drive
en0 Available 0D-08 Standard Ethernet Network Interface
en1 Defined 0D-09 Standard Ethernet Network Interface
en2 Defined 0D-08 Standard Ethernet Network Interface
en3 Defined 0D-09 Standard Ethernet Network Interface
ent0 Available 0D-08 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)
ent1 Available 0D-09 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)
et0 Defined 0D-08 IEEE 802.3 Ethernet Network Interface
et1 Defined 0D-09 IEEE 802.3 Ethernet Network Interface
et2 Defined 0D-08 IEEE 802.3 Ethernet Network Interface
et3 Defined 0D-09 IEEE 802.3 Ethernet Network Interface
fwdump Defined Logical volume
gxme0 Defined Graphics Data Transfer Assist Subsystem
hd1 Defined Logical volume
hd2 Defined Logical volume
hd3 Defined Logical volume
hd4 Defined Logical volume
hd5 Defined Logical volume
hd6 Defined Logical volume
hd8 Defined Logical volume
hd10opt Defined Logical volume
hd9var Defined Logical volume
hdisk0 Available 0G-08-01-8,0 16 Bit LVD SCSI Disk Drive
hdisk1 Available 0G-08-01-5,0 16 Bit LVD SCSI Disk Drive
ide1 Available 0F-08 ATA/IDE Controller Device
inet0 Available Internet Network Extension
iscsi0 Available iSCSI Protocol Device
kbd0 Available 1.1- USB keyboard
lai1 Available 0I-00 GXT135P Graphics Adapter
lft0 Available Low Function Terminal Subsystem
lg_dumplv Defined Logical volume
lo0 Available Loopback Network Interface
lvdd Available LVM Device Driver
mem0 Available Memory
mouse0 Available 0.1 USB mouse
pci0 Available PCI Bus
pci1 Available PCI Bus
pci2 Available PCI Bus
pci3 Defined 02-13 PCI Bus
pci4 Defined 02-14 PCI Bus
pci5 Defined 02-12 PCI Bus
pci6 Defined 02-16 PCI Bus
pci7 Defined 02-10 PCI Bus
pci8 Defined 01-13 PCI Bus
pci9 Defined 01-14 PCI Bus
pci10 Defined 01-10 PCI Bus
pci11 Defined 01-12 PCI Bus
pci12 Defined 0B-08 PCI Bus
pci13 Available 00-10 PCI Bus
pci14 Available 00-12 PCI Bus
pci15 Available 00-13 PCI Bus
pci16 Available 00-14 PCI Bus
pci17 Available 00-16 PCI Bus
pci18 Available 0H-08 PCI Bus
posix_aio0 Defined Posix Asynchronous I/O
proc0 Available 00-00 Processor
proc2 Available 00-02 Processor
pty0 Available Asynchronous Pseudo-Terminal
rcm0 Available Rendering Context Manager Subsystem
rootvg Defined Volume group
scsi2 Available 0G-08-00 PCI-X Dual Channel Ultra320 SCSI Adapter bus
scsi3 Available 0G-08-01 PCI-X Dual Channel Ultra320 SCSI Adapter bus
ses1 Available 0G-08-01-15,0 SCSI Enclosure Services Device
sisscsia1 Available 0G-08 PCI-X Dual Channel Ultra320 SCSI Adapter
sys0 Available System Object
sysplanar0 Available System Planar
usb0 Available USB System Software
usbhc0 Available 0E-08 USB Host Controller (33103500)
usbhc1 Available 0E-09 USB Host Controller (33103500)
vio0 Available Virtual I/O Bus
vsa0 Available LPAR Virtual Serial Adapter
vsa1 Available LPAR Virtual Serial Adapter
vty0 Available Asynchronous Terminal
vty1 Available Asynchronous Terminal
-bash-3.00$ clear
-bash-3.00$ lsdev
L2cache0 Available L2 Cache
aio0 Defined Asynchronous I/O (Legacy)
cd0 Available 0F-08-00 IDE DVD-ROM Drive
en0 Available 0D-08 Standard Ethernet Network Interface
en1 Defined 0D-09 Standard Ethernet Network Interface
en2 Defined 0D-08 Standard Ethernet Network Interface
en3 Defined 0D-09 Standard Ethernet Network Interface
ent0 Available 0D-08 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)
ent1 Available 0D-09 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)
et0 Defined 0D-08 IEEE 802.3 Ethernet Network Interface
et1 Defined 0D-09 IEEE 802.3 Ethernet Network Interface
et2 Defined 0D-08 IEEE 802.3 Ethernet Network Interface
et3 Defined 0D-09 IEEE 802.3 Ethernet Network Interface
fwdump Defined Logical volume
gxme0 Defined Graphics Data Transfer Assist Subsystem
hd1 Defined Logical volume
hd2 Defined Logical volume
hd3 Defined Logical volume
hd4 Defined Logical volume
hd5 Defined Logical volume
hd6 Defined Logical volume
hd8 Defined Logical volume
hd10opt Defined Logical volume
hd9var Defined Logical volume
hdisk0 Available 0G-08-01-8,0 16 Bit LVD SCSI Disk Drive
hdisk1 Available 0G-08-01-5,0 16 Bit LVD SCSI Disk Drive
ide1 Available 0F-08 ATA/IDE Controller Device
inet0 Available Internet Network Extension
iscsi0 Available iSCSI Protocol Device
kbd0 Available 1.1- USB keyboard
lai1 Available 0I-00 GXT135P Graphics Adapter
lft0 Available Low Function Terminal Subsystem
lg_dumplv Defined Logical volume
lo0 Available Loopback Network Interface
lvdd Available LVM Device Driver
mem0 Available Memory
mouse0 Available 0.1 USB mouse
pci0 Available PCI Bus
pci1 Available PCI Bus
pci2 Available PCI Bus
pci3 Defined 02-13 PCI Bus
pci4 Defined 02-14 PCI Bus
pci5 Defined 02-12 PCI Bus
pci6 Defined 02-16 PCI Bus
pci7 Defined 02-10 PCI Bus
pci8 Defined 01-13 PCI Bus
pci9 Defined 01-14 PCI Bus
pci10 Defined 01-10 PCI Bus
pci11 Defined 01-12 PCI Bus
pci12 Defined 0B-08 PCI Bus
pci13 Available 00-10 PCI Bus
pci14 Available 00-12 PCI Bus
pci15 Available 00-13 PCI Bus
pci16 Available 00-14 PCI Bus
pci17 Available 00-16 PCI Bus
pci18 Available 0H-08 PCI Bus
posix_aio0 Defined Posix Asynchronous I/O
proc0 Available 00-00 Processor
proc2 Available 00-02 Processor
pty0 Available Asynchronous Pseudo-Terminal
rcm0 Available Rendering Context Manager Subsystem
rootvg Defined Volume group
scsi2 Available 0G-08-00 PCI-X Dual Channel Ultra320 SCSI Adapter bus
scsi3 Available 0G-08-01 PCI-X Dual Channel Ultra320 SCSI Adapter bus
ses1 Available 0G-08-01-15,0 SCSI Enclosure Services Device
sisscsia1 Available 0G-08 PCI-X Dual Channel Ultra320 SCSI Adapter
sys0 Available System Object
sysplanar0 Available System Planar
usb0 Available USB System Software
usbhc0 Available 0E-08 USB Host Controller (33103500)
usbhc1 Available 0E-09 USB Host Controller (33103500)
vio0 Available Virtual I/O Bus
vsa0 Available LPAR Virtual Serial Adapter
vsa1 Available LPAR Virtual Serial Adapter
vty0 Available Asynchronous Terminal
vty1 Available Asynchronous Terminal
-bash-3.00$ clear
-bash-3.00$ lsdev
L2cache0 Available L2 Cache
aio0 Defined Asynchronous I/O (Legacy)
cd0 Available 0F-08-00 IDE DVD-ROM Drive
en0 Available 0D-08 Standard Ethernet Network Interface
en1 Defined 0D-09 Standard Ethernet Network Interface
en2 Defined 0D-08 Standard Ethernet Network Interface
en3 Defined 0D-09 Standard Ethernet Network Interface
ent0 Available 0D-08 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)
ent1 Available 0D-09 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)
et0 Defined 0D-08 IEEE 802.3 Ethernet Network Interface
et1 Defined 0D-09 IEEE 802.3 Ethernet Network Interface
et2 Defined 0D-08 IEEE 802.3 Ethernet Network Interface
et3 Defined 0D-09 IEEE 802.3 Ethernet Network Interface
fwdump Defined Logical volume
gxme0 Defined Graphics Data Transfer Assist Subsystem
hd1 Defined Logical volume
hd2 Defined Logical volume
hd3 Defined Logical volume
hd4 Defined Logical volume
hd5 Defined Logical volume
hd6 Defined Logical volume
hd8 Defined Logical volume
hd10opt Defined Logical volume
hd9var Defined Logical volume
hdisk0 Available 0G-08-01-8,0 16 Bit LVD SCSI Disk Drive
hdisk1 Available 0G-08-01-5,0 16 Bit LVD SCSI Disk Drive
ide1 Available 0F-08 ATA/IDE Controller Device
inet0 Available Internet Network Extension
iscsi0 Available iSCSI Protocol Device
kbd0 Available 1.1- USB keyboard
lai1 Available 0I-00 GXT135P Graphics Adapter
lft0 Available Low Function Terminal Subsystem
lg_dumplv Defined Logical volume
lo0 Available Loopback Network Interface
lvdd Available LVM Device Driver
mem0 Available Memory
mouse0 Available 0.1 USB mouse
pci0 Available PCI Bus
pci1 Available PCI Bus
pci2 Available PCI Bus
pci3 Defined 02-13 PCI Bus
pci4 Defined 02-14 PCI Bus
pci5 Defined 02-12 PCI Bus
pci6 Defined 02-16 PCI Bus
pci7 Defined 02-10 PCI Bus
pci8 Defined 01-13 PCI Bus
pci9 Defined 01-14 PCI Bus
pci10 Defined 01-10 PCI Bus
pci11 Defined 01-12 PCI Bus
pci12 Defined 0B-08 PCI Bus
pci13 Available 00-10 PCI Bus
pci14 Available 00-12 PCI Bus
pci15 Available 00-13 PCI Bus
pci16 Available 00-14 PCI Bus
pci17 Available 00-16 PCI Bus
pci18 Available 0H-08 PCI Bus
posix_aio0 Defined Posix Asynchronous I/O
proc0 Available 00-00 Processor
proc2 Available 00-02 Processor
pty0 Available Asynchronous Pseudo-Terminal
rcm0 Available Rendering Context Manager Subsystem
rootvg Defined Volume group
scsi2 Available 0G-08-00 PCI-X Dual Channel Ultra320 SCSI Adapter bus
scsi3 Available 0G-08-01 PCI-X Dual Channel Ultra320 SCSI Adapter bus
ses1 Available 0G-08-01-15,0 SCSI Enclosure Services Device
sisscsia1 Available 0G-08 PCI-X Dual Channel Ultra320 SCSI Adapter
sys0 Available System Object
sysplanar0 Available System Planar
usb0 Available USB System Software
usbhc0 Available 0E-08 USB Host Controller (33103500)
usbhc1 Available 0E-09 USB Host Controller (33103500)
vio0 Available Virtual I/O Bus
vsa0 Available LPAR Virtual Serial Adapter
vsa1 Available LPAR Virtual Serial Adapter
vty0 Available Asynchronous Terminal
vty1 Available Asynchronous Terminal
10.-bash-3.00$ lsps -a //查看所有交换空间
Page Space Physical Volume Volume Group Size %Used Active Auto Type
hd6 hdisk0 rootvg 512MB 9 yes yes lv
11.-bash-3.00$ smitty mktcpip //用smitty来设置tcpip。
lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk
x Available Network Interfaces x
x x
x Move cursor to desired item and press Enter. x
x x
x en0 0D-08 Standard Ethernet Network Interface x
x en1 0D-09 Standard Ethernet Network Interface x
x en2 0D-08 Standard Ethernet Network Interface x
x en3 0D-09 Standard Ethernet Network Interface x
x et0 0D-08 IEEE 802.3 Ethernet Network Interface x
x et1 0D-09 IEEE 802.3 Ethernet Network Interface x
x et2 0D-08 IEEE 802.3 Ethernet Network Interface x
x et3 0D-09 IEEE 802.3 Ethernet Network Interface x
x x
x F1=Help F2=Refresh F3=Cancel x
x Esc+8=Image Esc+0=Exit Enter=Do x
x /=Find n=Find Next x
mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj
12.-bash-3.00$ smitty or 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
Advanced Accounting
Problem Determination
Performance & Resource Scheduling
System Environments
Processes & Subsystems
Applications
Installation Assistant
Cluster Systems Management
Using SMIT (information only)
F1=Help F2=Refresh F3=Cancel Esc+8=Image
Esc+9=Shell Esc+0=Exit Enter=Do
13.-bash-3.00$ df -h //查看分区剩余空间大小
Filesystem Size Used Avail Use% Mounted on
/dev/hd4 5.2G 70M 5.1G 2% /
/dev/hd2 5.5G 1.5G 4.1G 26% /usr
/dev/hd9var 640M 546M 95M 86% /var
/dev/hd3 128M 47M 82M 37% /tmp
/dev/fwdump 128M 348K 128M 1% /var/adm/ras/platform
/dev/hd1 640M 558M 83M 88% /home0
/proc - - 0 - /proc
/dev/hd10opt 2.3G 496M 1.8G 22% /opt
192.168.2.5:/store/home
2.3T 563G 1.7T 25% /home
14.-bash-3.00$ iostat 2 //查看磁盘读取情况2秒刷新一次。
System configuration: lcpu=4 drives=3 paths=2 vdisks=0
tty: tin tout avg-cpu: % user % sys % idle % iowait
0.0 28.8 0.1 0.2 99.7 0.0
Disks: % tm_act Kbps tps Kb_read Kb_wrtn
hdisk0 1.0 481.0 2.5 0 968
hdisk1 0.0 0.0 0.0 0 0
cd0 0.0 0.0 0.0 0 0
tty: tin tout avg-cpu: % user % sys % idle % iowait
0.0 217.7 2.5 8.5 85.2 3.8
15.-bash-3.00$ mount//显示挂在信息
node mounted mounted over vfs date options
-------- --------------- --------------- ------ ------------ ---------------
/dev/hd4 / jfs2 Jan 03 11:56 rw,log=/dev/hd8
/dev/hd2 /usr jfs2 Jan 03 11:56 rw,log=/dev/hd8
/dev/hd9var /var jfs2 Jan 03 11:56 rw,log=/dev/hd8
/dev/hd3 /tmp jfs2 Jan 03 11:56 rw,log=/dev/hd8
/dev/fwdump /var/adm/ras/platform jfs2 Jan 03 11:56 rw,log=/dev/hd8
/dev/hd1 /home0 jfs2 Jan 03 11:57 rw,log=/dev/hd8
/proc /proc procfs Jan 03 11:57 rw
/dev/hd10opt /opt jfs2 Jan 03 11:57 rw,log=/dev/hd8
192.168.2.5 /store/home /home nfs3 Jan 03 12:04 rw,bg,soft,intr,nosuid,sec=sys
Disks: % tm_act Kbps tps Kb_read Kb_wrtn
hdisk0 42.3 11978.4 110.1 0 24376
hdisk1 0.0 0.0 0.0 0 0
cd0 0.0 0.0 0.0 0 0
tty: tin tout avg-cpu: % user % sys % idle % iowait
0.0 198.0 0.1 0.2 99.7 0.0
16.-bash-3.00$ cat /etc/filesystems //查看文件系统信息
* @(#)filesystems @(#)29 1.22 src/bos/etc/filesystems/filesystems, cmdfs, bos530 9/8/00 13:57:45
* IBM_PROLOG_BEGIN_TAG
* This is an automatically generated prolog.
*
* bos530 src/bos/etc/filesystems/filesystems 1.22
*
* Licensed Materials - Property of IBM
*
* (C) COPYRIGHT International Business Machines Corp. 1985,1993
* All Rights Reserved
*
* US Government Users Restricted Rights - Use, duplication or
* disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
*
* IBM_PROLOG_END_TAG
*
* COMPONENT_NAME: CMDFS
*
* FUNCTIONS: none
*
* ORIGINS: 27
*
* (C) COPYRIGHT International Business Machines Corp. 1985, 1993
* All Rights Reserved
* Licensed Materials - Property of IBM
*
* US Government Users Restricted Rights - Use, duplication or
* disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
*
*
*
* This version of /etc/filesystems assumes that only the root file system
* is created and ready. As new file systems are added, change the check,
* mount, free, log, vol and vfs entries for the appropriate stanza.
*
/:
dev = /dev/hd4
vfs = jfs2
log = /dev/hd8
mount = automatic
check = false
type = bootfs
vol = root
free = true
/home0:
dev = /dev/hd1
vfs = jfs2
log = /dev/hd8
mount = true
check = true
vol = /home
free = false
/usr:
dev = /dev/hd2
vfs = jfs2
log = /dev/hd8
mount = automatic
check = false
type = bootfs
vol = /usr
free = false
/var:
dev = /dev/hd9var
vfs = jfs2
log = /dev/hd8
mount = automatic
check = false
type = bootfs
vol = /var
free = false
/tmp:
dev = /dev/hd3
vol = "/tmp"
mount = automatic
check = false
free = false
vfs = jfs2
log = /dev/hd8
/proc:
dev = /proc
vol = "/proc"
mount = true
check = false
free = false
vfs = procfs
/opt:
dev = /dev/hd10opt
vfs = jfs2
log = /dev/hd8
mount = true
check = true
vol = /opt
free = false
/var/adm/ras/platform:
dev = /dev/fwdump
vfs = jfs2
log = /dev/hd8
mount = false
account = false
/home:
dev = "/store/home"
vfs = nfs
nodename = 192.168.2.5
mount = true
options = rw,bg,soft,intr,nosuid,sec=sys
account = false
17.-bash-3.00$ env//查看环境变量
AUTHSTATE=LDAP
TERM=vt100
SHELL=/bin/bash
SSH_CLIENT=60.xxx.xxx.141 31452 22
SSH_TTY=/dev/pts/16
LOCPATH=/usr/lib/nls/loc
USER=enjoygoodboy
ODMDIR=/etc/objrepos
MAIL=/usr/spool/mail/enjoygoodboy
PATH=/usr/linux/bin:/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/bin/X11:/sbin:/usr/java14/jre/bin:/usr/java14/bin:/usr/python/bin
LOGIN=enjoygoodboy
PWD=/home/v/g/enjoygoodboy
LANG=en_US
TZ=BEIST-8
SHLVL=1
HOME=/home/v/g/enjoygoodboy
LC__FASTMSG=true
MAILMSG=[YOU HAVE NEW MAIL]
LOGNAME=enjoygoodboy
SSH_CONNECTION=60.xxx.xxx.141 31452 192.168.1.18 22
_=/usr/linux/bin/env
OLDPWD=/etc/rc.d
NLSPATH=/usr/lib/nls/msg/%L/%N:/usr/lib/nls/msg/%L/%N.cat
-bash-3.00$ set //查看环境变量用set也可以。
AUTHSTATE=LDAP
BASH=/bin/bash
BASH_ARGC=()
BASH_ARGV=()
BASH_LINENO=()
BASH_SOURCE=()
BASH_VERSINFO=([0]="3" [1]="00" [2]="16" [3]="1" [4]="release" [5]="powerpc-ibm-aix5.1")
BASH_VERSION='3.00.16(1)-release'
COLUMNS=270
DIRSTACK=()
EUID=111557
GROUPS=()
HISTFILE=/home/v/g/enjoygoodboy/.bash_history
HISTFILESIZE=500
HISTSIZE=500
HOME=/home/v/g/enjoygoodboy
HOSTNAME=aix
HOSTTYPE=powerpc
IFS=$' \t\n'
LANG=en_US
LC__FASTMSG=true
LINES=60
LOCPATH=/usr/lib/nls/loc
LOGIN=enjoygoodboy
LOGNAME=enjoygoodboy
MACHTYPE=powerpc-ibm-aix5.1
MAIL=/usr/spool/mail/enjoygoodboy
18.-bash-3.00$ lscfg|grep proc //查看系统有多少处理器。
+ proc0 Processor
+ proc2 Processor
19.-bash-3.00$ lscfg //获取系统详细信息。
INSTALLED RESOURCE LIST
The following resources are installed on the machine.
+/- = Added or deleted from Resource List.
* = Diagnostic support not available.
Model Architecture: chrp
Model Implementation: Multiple Processor, PCI bus
+ sys0 System Object
+ sysplanar0 System Planar
* vio0 Virtual I/O Bus
* vsa1 U788C.001.AAA8364-P1-T7 LPAR Virtual Serial Adapter
* vty1 U788C.001.AAA8364-P1-T7-L0 Asynchronous Terminal
* vsa0 U788C.001.AAA8364-P1-T6 LPAR Virtual Serial Adapter
* vty0 U788C.001.AAA8364-P1-T6-L0 Asynchronous Terminal
* pci2 U788C.001.AAA8364-P1 PCI Bus
* pci1 U788C.001.AAA8364-P1 PCI Bus
* pci0 U788C.001.AAA8364-P1 PCI Bus
* pci13 U788C.001.AAA8364-P1 PCI Bus
+ ent0 U788C.001.AAA8364-P1-T1 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)
+ ent1 U788C.001.AAA8364-P1-T2 2-Port 10/100/1000 Base-TX PCI-X Adapter (14108902)
* pci14 U788C.001.AAA8364-P1 PCI Bus
+ usbhc0 U788C.001.AAA8364-P1 USB Host Controller (33103500)
+ usbhc1 U788C.001.AAA8364-P1 USB Host Controller (33103500)
* pci15 U788C.001.AAA8364-P1 PCI Bus
* ide1 U788C.001.AAA8364-P1-T12 ATA/IDE Controller Device
+ cd0 U788C.001.AAA8364-P1-D5 IDE DVD-ROM Drive
* pci16 U788C.001.AAA8364-P1 PCI Bus
+ sisscsia1 U788C.001.AAA8364-P1 PCI-X Dual Channel Ultra320 SCSI Adapter
+ scsi2 U788C.001.AAA8364-P1-T10 PCI-X Dual Channel Ultra320 SCSI Adapter bus
+ scsi3 U788C.001.AAA8364-P1-T11 PCI-X Dual Channel Ultra320 SCSI Adapter bus
+ hdisk1 U788C.001.AAA8364-P1-T11-L5-L0 16 Bit LVD SCSI Disk Drive (73400 MB)
+ hdisk0 U788C.001.AAA8364-P1-T11-L8-L0 16 Bit LVD SCSI Disk Drive (73400 MB)
+ ses1 U788C.001.AAA8364-P1-T11-L15-L0 SCSI Enclosure Services Device
* pci17 U788C.001.AAA8364-P1 PCI Bus
* pci18 U788C.001.AAA8364-P1-C14-C1 PCI Bus
+ lai1 U788C.001.AAA8364-P1-C14-C1-T1 GXT135P Graphics Adapter
+ L2cache0 L2 Cache
+ mem0 Memory
+ proc0 Processor
+ proc2 Processor
* mouse0 U788C.001.AAA8364-P1-T3-L1 USB mouse
* kbd0 U788C.001.AAA8364-P1-T4-L1 USB keyboard