Several commands for AIX

Source: Internet
Author: User
Tags cpu usage

Which version of AIX is being used? Provide detailed information when you need help!

As a UNIX development, maintainer, of course, know the specific version of the current login system. So when you need to communicate with other technicians, share your fun, and ask for help, you can get them to understand the basics of your system as quickly as possible. Since the 2006, AIX versioning has been more comprehensive, but the complex level is also more likely to confuse people who don't know. First look at an output example:

$ oslevel-s 
 5300-06-05-0806 
 $ 

The version information listed here can be specifically interpreted as the current system environment is AIX version 5, ML (Maintenance level) 3,TL (technical level) 06,SP (Service Pack) 05.

TL is the version that IBM will support for a long time, for each released Tl,aix product department will release the updated SP every 6 weeks or so to release new hardware support, resolve the system known vulnerabilities and so on.

Another more comprehensive command, often for AIX system engineers, is for AIX system administrators to use a command that has been supported since Aix 4.3.3, prtconf (or lsconf). Its sample output is as follows:

$ prtconf 
 System model:ibm,8203-e4a 
 Machine serial number:xxxxxxx 
 Processor type:powerpc_power6 Processor Implementation Mode:power 6 
 Processor version:pv_6_compat number of 
 processors:1 
 Processor Clock speed:4204 MHz 
 CPU type:64-bit 
 Kernel type:64-bit 
 LPAR info:3 aix53 Memory size:6208 
 MB 
 G Ood Memory size:6208 MB 
 Platform firmware level:el320_076 firmware version:ibm,el320_076 
 Console Login : Enable 
 Auto restart:true full 
 core:false 

 network information 
        Host name:aix53 
        IP Address: 9.125.241.55 
        Sub netmask:255.255.255.0 
        gateway:9.125.241.1 
        Name server:9.181.2.101 
        Domain Name:cn.ibm.com 

 Paging Information total 
        paging space:2048mb 

 Percent used:4% ............................... 
 $ 


You can see this command details the hardware configuration of the system, including the hard disk, CPU, memory configuration, and network address information. This is much faster than we use Ifconfig–a, uname, Lsdev and so on to collect orders separately.

Monitor the performance of the system, not super users can also do.

Developers and ordinary users of the system, such as DBAs, also need to focus on system performance. AIX Systems also have enough monitoring tools in place for our non-root ordinary users.

The first is to introduce a window-style tool Topas, which differs from the command top under different UNIX or Linux, using Topas in AIX. With this command, we can observe the usage of each resource in the system-CPU, network, disk, memory and swap area, under the same interface. Often we need to focus on the parts selected in the following picture box:

The selected sections of the box represent the system CPU latency (which often affects CPU performance), the amount of disk busyness, and the percentage of CPU consumed by the process, and the usage of the swap area. These are the most common and basic indicators.

Other common users of the monitoring commands can be used include Iostat and Vmstat. The former reports storage IO usage, which is primarily used to monitor memory and CPU usage. Often used for information collection of the system's daily running state. It is simple to use, such as "Iostat 3" and "Vmstat 1 10". Note that the first line of Vmstat represents statistics since the system was started, and it is necessary to exclude this line when doing real-time data statistics and analysis.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.