AIX学习笔记1-常用命令解读-AIX系统运行状态

影响系统性能的因素主要有CPU、内存、IO和网络资源。要了解一个主机首要的就是对这几项的了解。
CPU(Central Processing Unit),查询系统中CPU的数量和速度
#lsdev -Cc processor | grep Available

#lsattr -El proc

shenji_db#[/]lsdev -Cc processor | grep Available
proc0  Available 00-00 Processor
proc2  Available 00-02 Processor
proc4  Available 00-04 Processor
proc6  Available 00-06 Processor
proc8  Available 00-08 Processor
proc10 Available 00-10 Processor
proc12 Available 00-12 Processor
proc14 Available 00-14 Processor
proc16 Available 00-16 Processor
proc18 Available 00-18 Processor

shenji_db#[/]lsattr -El proc0
frequency   2101896000     Processor Speed       False
smt_enabled true           Processor SMT enabled False
smt_threads 2              Processor SMT threads False
state       enable         Processor state       False
type        PowerPC_POWER5 Processor type        False

内存--系统中配置的内存容量
#lsattr –El mem0

shenji_db#[/]lsattr -El mem0
goodsize 8192 Amount of usable physical memory in Mbytes False
size     8192 Total amount of physical memory in Mbytes  False

I/O
磁盘的数量和类型
#lsdev -Cc disk
数据在磁盘上的分布
#lspv

shenji_db#[/]lsdev -Cc disk
hdisk0  Available 0F-08-00-8,0 16 Bit LVD SCSI Disk Drive
hdisk1  Available 0J-08-00-8,0 16 Bit LVD SCSI Disk Drive
hdisk2  Available 0E-08-02     MPIO Other FC SCSI Disk Drive
hdisk20 Available 0E-08-02     Hitachi Disk Array (Fibre)

shenji_db#[/]lspv
hdisk0          00c139ae9f703b91                    rootvg          active
hdisk1          00c139ae829da350                    rootvg          active
hdisk2          none                                None            
hdisk20         00c139ae26fbe9a3                    datavg          active

网络资源
网卡的带宽,当前工作的速度
#entstat -d ent0

shenji_db#[/]entstat -d en1
-------------------------------------------------------------
ETHERNET STATISTICS (en1) :
Device Type: 10/100/1000 Base-TX PCI-X Adapter (14106902)
Hardware Address: 00:11:25:c0:74:70
Elapsed Time: 268 days 10 hours 11 minutes 28 seconds

Transmit Statistics:                          Receive Statistics:
--------------------                          -------------------
Packets: 9518076                              Packets: 311188023
Bytes: 13389539446                            Bytes: 36785395235
Interrupts: 0                                 Interrupts: 258320479
Transmit Errors: 0                            Receive Errors: 0
Packets Dropped: 0                            Packets Dropped: 0
                                              Bad Packets: 0
Max Packets on S/W Transmit Queue: 39        
S/W Transmit Queue Overflow: 0
Current S/W+H/W Transmit Queue Length: 1

Broadcast Packets: 36877                      Broadcast Packets: 285607858
Multicast Packets: 0                          Multicast Packets: 12241439
No Carrier Sense: 0                           CRC Errors: 0
DMA Underrun: 0                               DMA Overrun: 0
Lost CTS Errors: 0                            Alignme
  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值