topas 명령어 (AIX 5.3·6.1)
https://archive.horanglab.com/posts/aix-cmd-topas
핵심 정리
- 로컬 시스템의 활동 통계를 한 화면(80×25 이상)에 실시간으로 보여 주는 성능 감시 도구입니다. 같은 하드웨어의 다른 AIX 파티션 지표도 일부 볼 수 있습니다.
- 플래그 없이 실행하면
topas -d20 -i2 -n20 -p20 -w20 -c20 -f0처럼 동작합니다(2초 간격).q로 끝냅니다. - 기본 화면: 오른쪽에 EVENTS/QUEUES, FILE/TTY, PAGING, MEMORY, PAGING SPACE, NFS, WPAR, AME, 왼쪽에 CPU, 네트워크, 디스크, 파일 시스템, WLM·WPAR, 프로세스.
- 키:
c(CPU 목록),d(디스크 목록),n(네트워크),p(프로세스),P(전체 프로세스),D(디스크 상세),L(LPAR),C(CEC),W(WLM),F(파일 시스템),V(볼륨 그룹),~(nmon), 스페이스바(멈춤). - 바로 열기:
-P(프로세스),-D(디스크),-L(LPAR),-C(CEC),-E(VIOS의 SEA),-T(테이프),-W(WLM),-F·-V·-G·-M·-@(6.1). - 디스크·어댑터를 더하면 topas와 다른 SPMI 사용자를 모두 다시 시작해야 반영됩니다.
| 항목 | 내용 |
|---|---|
| 버전 | AIX 5.3, AIX 6.1 (6.1에서 -@, -f, -F, -G, -M, -V와 여러 패널이 더해지고, 5.3의 -R 기록 모드와 -o는 빠짐) |
| 원문 | IBM Commands Reference — 5.3 Volume 5, 6.1 Volume 5 |
| 파일 | /usr/bin/topas |
| 필요 파일 세트 | bos.perf.tools, perfagent.tools |
| 관련 명령어 | topasout, topasrec, nmon, vmstat, iostat, lparstat, svmon |
목적
로컬과 원격 시스템의 통계를 골라 보고합니다.
영어 원문
Reports selected local and remote system statistics.
구문
topas [ -d hotdisk ] [ -f hotfs ] [ -h ] [ -i interval ] [ -n hotni ] [ -p hotprocess ] [ -w hotwlmclass ]
[ -c hotprocessor ] [ -I remotepollinterval ] [ -@ [ wparname ] ] [ -U username ]
| [ -C | -D | -G | -F | -L | -P | -V | -T | -M | -t | -E | -W ] [ -m ]
- WPAR에서 실행할 때는
-C,-L,-E,-V,-T,-t,-w,-W,-I,-@를 쓸 수 없습니다. - 5.3 구문에는
-f,-@,-G,-F,-V,-M이 없고, 대신-R(기록)과-o field=value가 있습니다.
설명
topas 명령은 로컬 시스템 활동의 통계를 골라 보고합니다. curses 라이브러리로 80×25 문자 화면이나 그만한 크기 이상의 그래픽 창에 알맞게 출력합니다. bos.perf.tools와 perfagent.tools 파일 세트가 설치돼 있어야 합니다.
같은 하드웨어 플랫폼에 속한 원격 AIX 파티션의 성능 지표 일부도 보고할 수 있습니다(파티션 교차 보기, 클러스터 사용률 보기 절 참고).
- 시스템 구성을 동적으로 바꾸면 도구를 다시 시작해야 반영됩니다.
topas -D는 디스크 상세를 보고하며, 디스크 패널에서d(어댑터 패널),d뒤v(가상 어댑터 패널),m(MPIO 패널) 키를 씁니다. 스페이스바는 화면 멈춤을 켜고 끄며, Page Up·Page Down으로 스크롤합니다. 어댑터·가상 어댑터·MPIO 패널은 WPAR 안에서 쓸 수 없습니다.- 플래그 없이 실행하면
topas -d20 -i2 -n20 -p20 -w20 -c20 -f0처럼 동작합니다. - 파티션 이동(migration)이나 최대 절전(hibernation)이 끝나면 CEC·클러스터 패널이 다시 뜹니다.
기본 화면은 두 고정 부분과 바뀌는 부분으로 이뤄집니다. 왼쪽 위 두 줄에는 시스템 이름, 마지막 관찰 날짜와 시각, 감시 간격이 나옵니다. 오른쪽 25칸에는 다음 통계가 나옵니다.
| 절 | 항목 |
|---|---|
| EVENTS/QUEUES | Cswitch(초당 문맥 교환), Syscalls(초당 시스템 호출), Reads·Writes(초당 read·write 호출), Forks·Execs(초당 fork·exec 호출), Runqueue(프로세서를 기다리는 실행 준비 스레드의 평균 수), Waitqueue(페이징이 끝나기를 기다리는 스레드의 평균 수) |
| FILE/TTY | Readch·Writech(read·write 호출로 읽고 쓴 초당 바이트), Rawin(TTY에서 읽은 raw 바이트), Ttyout(TTY에 쓴 바이트), Igets(i-node 조회 루틴 호출), Namei(경로 이름 조회 루틴 호출), Dirblk(디렉터리 검색이 훑은 디렉터리 블록) |
| PAGING | Faults(페이지 폴트, 페이징을 일으키지 않는 것 포함), Steals(VMM이 빼앗은 4K 프레임), PgspIn·PgspOut(페이징 공간에서 읽고 쓴 4K 페이지), PageIn·PageOut(읽고 쓴 4K 페이지, 파일 시스템 포함. PgspIn·PgspOut을 빼면 파일 시스템 몫), Sios(VMM이 낸 입출력 요청) |
| MEMORY | Real,MB(실제 메모리), % Comp(계산용 페이지, 보통 페이징 공간을 쓰는 것), % Noncomp(비계산용 페이지, 보통 파일), % Client(원격 마운트 파일 캐시) |
| PAGING SPACE | Size,MB(모든 페이징 공간의 합), % Used, % Free |
| NFS | 서버·클라이언트 V2·V3의 초당 호출 수 |
| Total WPAR | 정의된 WPAR 수(Defined, Active, Broken, Transition)(6.1) |
| Active WPAR | 자원이 활성인 WPAR 수(6.1) |
| AME | TMEM,MB(실제 메모리), CMEM,MB(압축 풀 크기), EF[T/A](목표·실제 확장 계수), CI·CO(압축 풀 페이지 인·아웃)(6.1) |
바뀌는 부분에는 다음 절이 이 순서로 나옵니다. 시작할 때는 핫 항목을 감시하는 절이 모두 나오며, WLM 클래스 절은 WLM이 활성일 때만 나옵니다(WLM·WPAR 통계를 보려면 WLM을 시작해야 함). (6.1) WPAR 값이 없는 지표는 시스템 전체 값을 반전(흰 글자, 검은 바탕)으로 보여 줍니다.
| 절 | 켜고 끄는 키 | 내용 |
|---|---|---|
| 프로세서 사용률 | c(한 번: 끔, 두 번: 프로세서 목록, 세 번: 누적 막대) |
User%, Kern%, Wait%, Idle%, Physc·%Entc(공유 프로세서일 때). 목록은 User%로 정렬하며, 열 머리로 커서를 옮겨 다른 열로 정렬 |
| 네트워크 인터페이스 | n(한 번: 끔, 두 번: 인터페이스 목록) |
Interf, BPS(받고 보낸 KB/초 합), I-Pack·O-Pack(초당 받은·보낸 패킷), KB-In·KB-Out. BPS로 정렬, 정렬은 16개까지 |
| 물리 디스크 | d(한 번: 끔, 다시: 디스크 목록) |
Disk, Busy%(활성 시간 비율), BPS(KB-Read+KB-Writ), TPS(초당 전송), KB-Read, KB-Writ. BPS로 정렬, 정렬은 128개까지 |
| 파일 시스템 | f(6.1) |
File System, BPS, TPS, KB-Read, KB-Writ. 이름이 길면 files..01234처럼 가운데를 줄임 |
| WLM 클래스 | w |
클래스별 % processor, % Mem, % Blk I/O 사용률. CPU%로 정렬 |
| 워크로드 파티션 | @(6.1, -@로 시작하면 WLM 절 대신) |
WPAR, % processor, % Mem, % Blk I/O |
| 프로세스 | p |
Name(경로·인수 없이 9자), Process ID, % CPU Utilization(처음 나올 때는 생애 평균), Paging Space Used, 소유자(WLM 절이 꺼져 있을 때)나 WLM 클래스·WPAR 이름 |
-n, -d, -f, -w, -p로 정한 수가 화면에 나올 최대 수이며, 다른 절이 함께 나오면 더 적게 나옵니다.
영어 원문
The topas command reports selected statistics about the activity on the local system. The command uses the curses library to display its output in a format suitable for viewing on an 80x25 character-based display or in a window of at least the same size on a graphical display. The topas command requires the bos.perf.tools and perfagent.tools file sets to be installed on the system.
The topas command can also report a limited set of performance metrics from remote AIX partitions that belong to the same hardware platform. This support is described in the Cross-Partition View and Cluster Utilization View sections.
Note: For any dynamic configuration changes to the system, the tool must be restarted to reflect the new changes.
The topas -D command reports the disk details. This report is described in the Disk Panel section. You can run the subcommands from the Disk panel to display the following views:
Adapter Panel Specified by pressing the d key. This panel provides details on the adapters and the disks that belong to the selected adapters. Virtual Adapter Panel Specified by pressing the d key and then the v key. This panel provides details of the virtual adapters that are related to the disks. MPIO Panel Specified by pressing the m key. This panel provides the details of the disks and the paths.
Panel Freezing Specified by pressing the space bar key on the keyboard. The space bar key acts as a toggle for freezing the topas panel.
Scrolling The Page Up and Page Down keys are used to scroll through the data.
Restriction: Adapter panel, Virtual Adapter panel, and MPIO panel are restricted inside WPAR.
If the topas command is invoked without flags, it runs as if invoked with the following command: topas -d20 -i2 -n20 -p20 -w20 -c20 -f0
Note: The Central Electronic Complex (CEC) or cluster panel re-spawns when the migration or hibernation of the partition is complete. All other behavior for the CEC and any other panel remains the same in the event of migration or hibernation.
The program extracts statistics from the system with an interval specified by the monitoring_interval_in_seconds argument. The default output, as shown below, consists of two fixed parts and a variable section. The top two lines at the left of the display show the name of the system the topas command runs on, the date and time of the last observation, and the monitoring interval.
The second fixed part fills the rightmost 25 positions of the display. It contains the following subsections of statistics:
- EVENTS/QUEUES — Displays the per-second frequency of selected system-global events and the average size of the thread run and wait queues: Cswitch The number of context switches per second over the monitoring interval. Syscalls The total number of system calls per second that are run over the monitoring interval. Reads The number of read system calls per second that are run over the monitoring interval. Writes The number of write system calls per second that are run over the monitoring interval. Forks The number of fork system calls per second that are run over the monitoring interval. Execs The number of exec system calls per second that are run over the monitoring interval. Runqueue The average number of threads that were ready to run but were waiting for a processor to become available. Waitqueue The average number of threads that were waiting for paging to complete.
- FILE/TTY — Displays the per-second frequency of selected file and the TTY statistics. The following data is reported: Readch The amount of bytes read per second through the read system call over the monitoring interval. Writech The amount of bytes written per second through the write system call over the monitoring interval. Rawin The amount of raw bytes read per second from TTYs over the monitoring interval. Ttyout The amount of bytes written to TTYs per second over the monitoring interval. Igets The number of calls per second to the inode lookup routines over the monitoring interval. Namei The number of calls per second to the path name lookup routines over the monitoring interval. Dirblk The number of directory blocks scanned per second by the directory search routine over the monitoring interval.
- PAGING — Displays the per-second frequency of paging statistics. The following data is reported: Faults The total number of page faults taken per second over the monitoring interval. This includes page faults that do not cause paging activity. Steals The physical memory 4 K frames stolen per second by the virtual memory manager over the monitoring interval. PgspIn The number of 4 K pages read from paging space per second over the monitoring interval. PgspOut The number of 4 K pages written to paging space per second over the monitoring interval. PageIn The number of 4 K pages read per second over the monitoring interval. This includes paging activity associated with reading from file systems. Subtract PgspIn from this value to get the number of 4K pages read from file systems per second over the monitoring interval. PageOut The number of 4 K pages written per second over the monitoring interval. This includes paging activity associated with writing to file systems. Subtract PgspOut from this value to get the number of 4K pages written to file systems per second over the monitoring interval. Sios The number of I/O requests per second issued by the virtual memory manager over the monitoring interval.
- MEMORY — Displays the real memory size and the distribution of memory in use. The following data is reported: Real,MB The size of real memory in megabytes. % Comp The percentage of real memory currently allocated to computational page frames. Computational page frames are generally those that are backed by paging space. % Noncomp The percentage of real memory currently allocated to non-computational frames. Non-computational page frames are generally those that are backed by file space, either data files, executable files, or shared library files. % Client The percentage of real memory currently allocated to cache remotely mounted files.
- PAGING SPACE — Displays the size and use of paging space. The following data is reported: Size,MB The sum of all paging spaces on the system, in megabytes. % Used The percentage of total paging space currently in use. % Free The percentage of total paging space currently free.
- NFS — Displays the NFS statistics in calls per second. The following data is reported: • Server V2 calls/sec • Client V2 calls/sec • Server V3 calls/sec • Client V3 calls/sec
- Total WPAR — Displays the total number of workload partitions that are defined in the system. The total amount of workload partitions can be in the following states: Defined, Active, Broken or Transition.
- Active WPAR — Displays the total number of resource active workload partitions.
- AME — Displays memory compression statistics in an Active Memory Expansion enabled system. The following data is reported: TMEM,MB True Memory Size, in megabytes. CMEM,MB Compressed Pool Size, in megabytes. EF[T/A] Expansion Factors: Target & Actual. CI Compressed Pool Page-Ins. CO Compressed Pool Page-Outs.
The variable part of the topas display can have one, two, three, four, or five subsections. If more than one subsection displays, they are always shown in the following order:
Processor utilization
Network interfaces
Physical disks
File system
Workload Manager classes
workload partitions
Processes
When the topas command is started, it displays all subsections for which hot entities are monitored. The Workload Manager (WLM) Classes subsection is displayed only when WLM is active.
The WLM should be started to view the WLM and WPAR statistics.
Tip: When there is no WPAR specific information for a metric, the system-wide value is displayed for that metric in inverted background (that is, white text and black context).
The following table provides the details for the subsections that the topas command displays:
- Processor utilization — This subsection displays one-line report summary of all the processor usage. Pressing the c key only once turns this subsection off. If more than one processor exists, a list of processors is displayed by pressing the c key twice. Pressing the c key thrice displays a bar chart showing cumulative processor usage. The following fields are displayed by both formats: User% The percentage of processor used by programs running in user mode. (Default sorted by User%) Kern% The percentage of processor used by programs running in kernel mode. Wait% The percentage of time spent in waiting for I/O. Idle% The percentage of time that the processors are idle. Physc The number of physical processors that are consumed. Displayed only if the partition is running with shared processor. %Entc The percentage of entitled capacity that is consumed. Displayed only if the partition is running with shared processor. When this subsection displays the list of hot processors, the list is sorted by the User% field. However, the list can be sorted by the other fields by moving the cursor to the top of the desired column.
- Network interfaces — This subsection shows a one-line report summary of the activity for all network interfaces. Pressing the n key once turns off this subsection. Pressing the n key twice displays a list of active network interfaces. The maximum number of interfaces displayed is the number of active interfaces being monitored, as specified by using the
-nflag. A smaller number of interfaces are displayed if other subsections are also being displayed. Both reports display the following fields: BPS The total throughput in kilobytes per second over the monitoring interval. This field is the sum of kilobytes received and kilobytes sent per second. Interf The name of the network interface. I-Pack The amount of data packets received per second over the monitoring interval. KB-In The number of kilobytes received per second over the monitoring interval. KB-Out The number of kilobytes sent per second over the monitoring interval. O-Pack The amount of data packets sent per second over the monitoring interval. When this subsection displays the list of hot network interfaces, the list is sorted by the BPS field. However, the list can be sorted by the other fields by moving the cursor to the top of the desired column. Sorting is only valid for up to 16 network adapters. - Physical disks — This subsection shows a one-line report summary of the activity for all physical disks. Pressing the d key turns once off this subsection. Pressing the d key again displays a list of active physical disks. The maximum number of physical disks displayed is the number of active physical disks being monitored as specified by using the
-dflag. A smaller number of physical disks are displayed if other subsections are also being displayed. Both reports display the following fields: Busy% The percentage of time the physical disk is active (bandwidth use of the drive). BPS The amount of data transferred (read and written) in kilobytes per second over the monitoring interval. This field is the sum of the values of the KB-Read and KB-Writ. Disk The name of the physical disk. KB-Read The number of kilobytes read per second from the physical disk. KB-Writ The number of kilobytes written per second to the physical disk. TPS The number of transfers per second that were issued to the physical disk. A transfer is an I/O request to the physical disk. Multiple logical requests can be combined into a single I/O request to the disk. A transfer is of indeterminate size. When this subsection displays the list of hot physical disks, the list is sorted by the BPS field. However, the list can be sorted by the other fields by moving the cursor to the top of the desired column. Sorting is only valid for up to 128 physical disks. - File system — This subsection shows a one-line report summary of the activity for all of the file systems. Pressing the f key once turns off this section. Pressing the f key twice displays a list of active file systems. The maximum number of file systems that are displayed is the number of active file systems that are monitored when they are specified by using the
-fflag. A smaller number of file systems are displayed if other subsections are also being displayed. Both reports display the following fields: BPS The amount of data transferred (read and written) in kilobytes per second over the monitoring interval. This field is the sum of the values of the KB-Read and KB-Writ fields. File System The name of the file system. KB-Read The number of kilobytes read per second from the file system. KB-Writ The number of kilobytes written per second to the file system. TPS The number of transfers per second that are issued to the file system. A transfer is an I/O request to the file system. Multiple logical requests can be combined into a single I/O request to the file system. The size of a transfer is not determinate. When this subsection displays the list of the file systems, the list is sorted by the BPS field. However, the list can be sorted by the other fields by moving the cursor to the top of the target column. Tip: If the file system name exceeds the field width in the display, then the file system name is displayed in a truncated format. The truncation contains the first and last few characters of the file system, the middle part of the name is replaced by periods (..). For example, if the file system name isfilesystem001234, then the name is displayed asfiles..01234. - WLM classes — This subsection displays a list of hot Workload Manager (WLM) Classes. The maximum number of WLM classes displayed is the number of hot WLM classes being monitored as specified with the
-wflag. A smaller number of classes will be displayed if other subsections are also being displayed. Pressing the w key turns off this subsection. The following fields are displayed for each class: % processor Utilization The average processor use of the WLM class over the monitoring interval. % Mem Utilization The average memory use of the WLM class over the monitoring interval. % Blk I/O The average percent of block I/O of the WLM class over the monitoring interval. When this subsection first displays the list of hot WLM classes, the list will be sorted by the CPU% field. However, the list can be sorted by the other fields by moving the cursor to the top of the desired column. Tip: If the WLM class name exceeds the field width in the display, the WLM class name is truncated. The truncation contains the first and last few characters of the WLM class, and the middle part of the name is replaced by periods (..). For example, if the WLM class name isunclassified00123, then the WLM class name is displayed asuncla..00123. - Workload partitions — The workload partitions subsection replaces WLM subsection if invoked with the
-@flag. This subsection displays a list of hot workload partitions. The maximum number of workload partitions that are displayed is the number of hot WPARthat are monitored (when they are specified with the-w -@flag). A smaller number of WPAR is displayed if other subsections are also being displayed. To turn off the workload partitions subsection, press the @ key. The following fields are displayed for each WPAR: WPAR The name of the workload partition (WPAR). % processor Utilization The average processor use of the WPAR over the monitoring interval. % Mem Utilization The average memory use of the WPAR over the monitoring interval. % Blk I/O The average percent of block I/O of the WPAR over the monitoring interval. When this subsection displays the list of hot WPAR, the list is sorted by the CPU% field. However, the list can be sorted by the other fields by moving the cursor to the top of the target column that you want to use to sort the list. Tip: If the WPAR name exceeds the field width in the display, the WPAR name is truncated. The truncation contains the first and last few characters of the WPAR, and the middle part of the name is replaced by periods (..). For example, if the WPAR name isneptune00123, then the WPAR is displayed asneptu..00123. - Processes — This subsection displays a list of hot processes. The maximum number of processes displayed is the number of hot processes being monitored as specified with the
-pflag. A smaller number of processes will be displayed if other subsections are also being displayed. Pressing the p key turns off this subsection. The processes are sorted by their processor usage over the monitoring interval. The following fields are displayed for each process: Name The name of the executable program executing in the process. The name is stripped of any pathname and argument information and truncated to 9 characters in length. Process ID The process ID of the process. % CPU Utilization The average processor use of the process over the monitoring interval. The first time a process is shown, this value is the average processor use over the lifetime of the process. Paging Space Used The size of the paging space allocated to this process. This can be considered an expression of the footprint of the process but does not include the memory used to keep the executable program and any shared libraries it may depend on. Process Owner (if the WLM section is off) The user name of the user who owns the process. Workload Manager (WLM) Class (if the WLM section is on) The WLM class to which the process belongs. WPAR (if the WPAR section is on) The WPAR name that the process belongs to. Tip: If the WLM Class/WPAR name exceeds the field width in the display, the WLM Class/WPAR name is truncated. The truncation contains the first and last few characters of the WLM Class/WPAR, and the middle part of the name is replaced by periods (..). For example, if the WLM Class/WPAR name isunclassified00123, then the WLM Class/WPAR name is displayed asuncla..00123.
어댑터 패널
topas -D에서 d 키를 누르면 어댑터 패널이 나옵니다.
| 지표 | 뜻 |
|---|---|
Adapter |
어댑터 이름 |
KBPS |
어댑터에서 전송한(읽거나 쓴) KB/초 |
TPS |
어댑터가 낸 초당 평균 전송 수 |
KB-R, KB-W |
어댑터에서 읽은·쓴 KB 합계 |
f 키를 누르면 그 어댑터에 속한 디스크(가상 대상 장치)의 상세가 나옵니다: Vtargets/Disk(이름), Busy%, KBPS(KB-R+KB-W), TPS, KB-R·KB-W(초당), AQD(보내기를 기다리는 평균 요청 수), AQW(대기 큐 평균 시간), ART·AWT(읽기·쓰기 응답 평균 시간), MRT·MWT(읽기·쓰기 응답 최대 시간). 시간의 기본 단위는 ms이며 접미사로 단위를 나타냅니다.
영어 원문
When you use the topas -D command, you can press the d key to display the Adapter panel view. In this panel, the following metrics are displayed:
- Adapter — The name of the adapter.
- KBPS — The amount of data transferred (read or written) in the adapter in kilobytes per second.
- TPS — Indicates the average number of transfers per second that the adapter issues.
- KB-R — The total number of kilobytes that are read from the adapter.
- KB-W — The total number of kilobytes that are written to the adapter.
If you press the f key, the following details of the disks that belong to the adapter are displayed on the Adapter panel:
- AQD — The average number of requests that are waiting to be sent to the virtual target device or disk.
- AQW — The average time spent by a transfer request in the waiting queue. The suffix indicates the unit of time. The default unit of time is millisecond.
- ART — The average time to receive a response from the hosting server for the read request sent. The suffix indicates the unit of time. The default unit of time is millisecond.
- AWT — The average time to receive a response from the hosting server for the write request sent. The suffix indicates the unit of time. The default unit of time is millisecond.
- Busy% — The percentage of time the virtual target device or disk is active (bandwidth use of the virtual target device or disk).
- KBPS — The amount of data that is read and written in kilobytes per second over the monitoring interval. This field is the sum of the values of the KB-R and KB-W metrics.
- KB-R — The number of kilobytes per second that are read from the virtual target device or disk.
- KB-W — The number of kilobytes per second that are written to the virtual target device or disk.
- MRT — The maximum time to receive a response from the hosting server for the read request sent. The suffix indicates the unit of time. The default unit of time is millisecond.
- MWT — The maximum time to receive a response from the hosting server for the write request sent. The suffix indicates the unit of time. The default unit of time is millisecond.
- TPS — The number of transfers per second that are issued to the virtual target device or disk. A transfer is an I/O request to the virtual target device or disk. Multiple logical requests can be combined into a single I/O request to the disk. A transfer is of medium size.
- Vtargets/Disk — The name of the virtual target device or disk.
가상 어댑터 패널
topas -D에서 v 키를 누르면 가상 어댑터 패널이 나옵니다.
| 지표 | 뜻 |
|---|---|
vAdapter |
가상 어댑터 이름 |
KBPS |
어댑터에서 전송한 KB/초 |
TPS |
어댑터에 낸 초당 전송 수 |
KB-R |
호스팅 서버에서 어댑터로 받은 초당 블록 수 |
KB-W |
어댑터에서 호스팅 서버로 보낸 초당 블록 수 |
AQD, AQW |
어댑터로 보내기를 기다리는 평균 요청 수, 대기 큐 평균 시간 |
ART, AWT, MRT, MWT |
호스팅 서버의 읽기·쓰기 응답 평균·최대 시간 |
f 키를 누르면 그 어댑터에 속한 디스크의 상세(어댑터 패널의 f와 같은 지표)가 나옵니다.
영어 원문
When you run the topas -D command, you can press the v key to display the Virtual Adapter panel view. In this panel, the following metrics are displayed:
- AQD — The average number of requests waiting to be sent to the adapter.
- AQW — The average time spent by a transfer request in the waiting queue. The suffix indicates the unit of time. The default unit of time is millisecond.
- ART — The average time to receive a response from the hosting server for the read request sent. The suffix indicates the unit of time. The default unit of time is millisecond.
- AWT — The average time to receive a response from the hosting server for the write request sent. The suffix indicates the unit of time. The default unit of time is millisecond.
- KBPS — The amount of data transferred (read or written) in kilobytes per second in the adapter.
- KB-R — The number of blocks received per second from the hosting server to the adapter.
- KB-W — The number of blocks sent per second from this adapter to the hosting server.
- MRT — The maximum time to receive a response from the hosting server for the read request sent. The suffix indicates the unit of time. The default unit of time is millisecond.
- MWT — The maximum time to receive a response from the hosting server for the write request sent. The suffix indicates the unit of time. The default unit of time is millisecond.
- TPS — The number of transfers per second that are issued to the adapter.
- vAdapter — The name of the virtual adapter.
If you press the f key, the following details of the disks that belong to the adapter are displayed on the Virtual Adapter panel:
- AQD — The average number of requests that are waiting to be sent to the virtual target device or disk.
- AQW — The average time spent by a transfer request in the waiting queue. The suffix indicates the unit of time. The default unit of time is millisecond.
- ART — The average time to receive a response from the hosting server for the read request sent. The suffix indicates the unit of time. The default unit of time is millisecond.
- AWT — The average time to receive a response from the hosting server for the write request sent. The suffix indicates the unit of time. The default unit of time is millisecond.
- Busy% — The percentage of time the virtual target device or disk is active (bandwidth use of the virtual target device or disk).
- KBPS — The amount of data that is read and written in kilobytes per second over the monitoring interval. This field is the sum of the values of the KB-R and KB-W metrics.
- KB-R — The number of kilobytes that are read per second from the virtual target device or disk.
- KB-W — The number of kilobytes that are written per second to the virtual target device or disk.
- MRT — The maximum time to receive a response from the hosting server for the read request sent. The suffix indicates the unit of time. The default unit of time is millisecond.
- MWT — The maximum time to receive a response from the hosting server for the write request sent. The suffix indicates the unit of time. The default unit of time is millisecond.
- TPS — The number of transfers per second that are issued to the virtual target device or disk. A transfer is an I/O request to the virtual target device or disk. Multiple logical requests can be combined into a single I/O request to the disk. A transfer is of medium size.
- Vtargets/Disk — The name of the virtual target device or disk.
MPIO 패널
topas -D에서 m 키를 누르면 MPIO 패널이 나옵니다. 위쪽은 디스크 패널과 같은 지표이고, 아래쪽에는 경로별 Path(경로 이름), Busy%(경로 활성 시간 비율), KBPS(KB-R+KB-W), KB-R·KB-W(초당), TPS가 나옵니다. 디스크를 고르고 f를 누르면 그 디스크의 경로를 나열합니다.
영어 원문
When you use the topas -D command, you can press the m key to display the MPIO panel view. In this panel, the top section contains the same metrics that the Disks panel displays.
The bottom section of the panel contains the following fields:
- Busy% — The percentage of time the path is active (bandwidth use of the path).
- KBPS — The amount of data that is read and written in kilobytes per second over the monitoring interval. This field is the sum of the values of the KB-R and KB-W metrics.
- KB-R — The number of kilobytes that is read per second in that path.
- KB-W — The number of kilobytes that is written per second in that path.
- Path — The name of the path.
- TPS — The number of transfers per second that are issued in that path.
패널 멈추기
스페이스바는 topas 패널 멈춤을 켜고 끕니다. 멈추면 데이터 수집을 멈추고 직전 반복의 데이터를 계속 보여 주며, 그동안에도 패널을 돌아다니고 고른 열로 정렬할 수 있습니다. 멈춘 상태에서 패널을 옮기면 데이터가 나오지 않는 패널이 있으니, 그때는 스페이스바를 다시 눌러 풉니다.
영어 원문
The space bar key on the keyboard acts as a toggle for freezing the topas panel. If frozen, topas stops data collection and continues to display the data from the previous iteration. You can move around the panel and sort the data based on the selected column. In frozen state, if you move between panels, some panels may not display the data. In this case, press the space bar key to unfreeze the topas panel.
스크롤
데이터가 topas 창보다 많으면 Page Up과 Page Down으로 스크롤합니다. 데이터는 고른 열로 정렬됩니다. 일부 패널에서만 쓸 수 있습니다.
영어 원문
If the amount of data is more than the topas window size, then Page Up and Page Down keys are used to scroll though the data. The data is sorted based on the selected column.
Note: The above functionality is available with selected panels in topas.
I/O 메모리 할당 풀 패널
공유 메모리 모드에서 LPAR 패널(topas -L)이 켜져 있을 때 e 키를 누르면 I/O 메모리 할당 풀 패널이 나옵니다. 아래쪽에 iompn(풀 이름), iomin·iodes·ioinu·iores(풀의 최소·원하는·현재·예약 I/O 메모리 할당), iohwm(사용한 최대 할당, high water mark), ioafl(할당 요청 실패 횟수)이 나옵니다.
영어 원문
When a Logical Partition panel (topas -L) is enabled in shared-memory mode, you can press the e key to display the I/O Memory Entitlement Pools panel.
The following metrics are displayed in the lower section of this panel:
- iompn — The name of the I/O memory pool.
- iomin — The minimum I/O memory entitlement of the pool.
- iodes — The desired I/O memory entitlement of the pool.
- ioinu — The current I/O memory entitlement of the pool.
- iores — The reserved I/O memory entitlement of the pool.
- iohwm — The maximum I/O memory entitlement in use for the pool (high water mark).
- ioafl — The total number of times the allocation requests have failed for this pool.
파티션 교차(CEC) 보기
topas -C(또는 C 키)는 같은 하드웨어 플랫폼에 속한다고 알아낸 모든 AIX 파티션에 대해 lparstat과 비슷한 지표를 보여 줍니다. 전용·공유 파티션을 따로 나눠 보여 주고, 맨 위에는 파티션 집합 전체의 파티션·메모리·프로세서 활동을 모아 보여 줍니다.
- 다른 파티션에서 모으려면 그 파티션에도 최신
perfagent.tools와bos.perf.tools가 있어야 합니다(예전 AIX는 Performance Aide,perfagent.server). - 다른 서브넷의 파티션을 찾지 못할 수 있습니다. 그러면
$HOME/Rsi.hosts파일에 파티션마다 전체 호스트 이름을 한 줄씩 적습니다. topas -C는 같은 서브넷의 모든 LPAR에 브로드캐스트를 보내지만, 같은 CEC 안의 LPAR 응답만 처리합니다.- 풀 정보 지표를 모으려면 감시하는 파티션 중 적어도 하나에 PUA(Pool Utilization Authority)가 설정돼 있어야 합니다.
첫 화면의 지표
| 묶음 | 지표 |
|---|---|
| 파티션 합계 | Shr·Ded(공유·전용 파티션 수) |
| 메모리(GB) | Mon(감시하는 파티션의 메모리), Avl(파티션 집합에 쓸 수 있는 메모리), InUse(사용 중) |
| 프로세서 | Shr·Ded(공유·전용 프로세서 수), PSz(공유 물리 CPU 수), APP(기본 공유 프로세서 풀의 쓸 수 있는 물리 프로세서. 알 수 없으면 -), Don(풀에 기부한 프로세서 수), Shr_PhysB·Ded_PhysB(공유·전용 파티션이 소비한 물리 프로세서 합) |
| 파티션별 | Host, OS(OS 수준), Mod(모드 세 글자, 아래), Mem·InU(메모리와 사용량, GB), Lp(논리 프로세서), Us·Sy·Wa·Id(%), PhysB(소비한 물리 프로세서), Ent·%Entc·Vcsw·PhI(공유만: 할당, 소비 비율, 초당 가상 문맥 교환, 초당 phantom 인터럽트), Pmem(공유 메모리 모드에서 받치는 물리 메모리), %idon·%bdon(기부하는 전용 파티션의 유휴·바쁜 사이클 기부 중 사용), %istl·%bstl(전용 파티션의 유휴·바쁜 사이클을 하이퍼바이저가 가져간 동안 사용) |
모드(Mod)의 세 글자:
| 자리 | 값 |
|---|---|
| 첫째(공유 파티션) | C SMT 켜짐·capped, c SMT 꺼짐·capped, U SMT 켜짐·uncapped, u SMT 꺼짐·uncapped |
| 첫째(전용 파티션) | S SMT 켜짐·기부 안 함, d SMT 꺼짐·기부, D SMT 켜짐·기부, - SMT 꺼짐·기부 안 함 |
| 둘째(메모리) | M AMS 켜짐·AME 꺼짐, - 둘 다 꺼짐, E AME·AMS 켜짐, e AME 켜짐·AMS 꺼짐 |
| 셋째(전원) | S 정적 절전, d 절전 꺼짐, D 동적 절전, - 알 수 없음, E 절전을 켰음, d 절전을 껐음 |
%idon과 %bdon은 기부하는 전용 파티션이 없으면 나오지 않습니다.
HMC에서 정보 가져오기
어떤 전역 데이터는 어느 파티션에서도 얻을 수 없습니다. 원문은 -o 옵션으로 명령줄에서 지정할 수 있다고 하며(5.3 구문의 옵션), topas가 HMC에 직접 물어보게 하려면 다음을 합니다.
- 파티션에 OpenSSH를 설치합니다.
- HMC에서
hscroot사용자의 원격 명령을 허용해 파티션에서 ssh로 접속할 수 있게 합니다. - 그 파티션에서 물을 때 HMC의
hscroot가 비밀번호 없이 되도록 HMC의.ssh/authorized_keys2를 설정합니다. - 파티션에서
ssh -l hscroot hmc_address date를 실행해 비밀번호 없이 날짜가 나오는지 확인합니다. - topas의
-o옵션으로 관리 시스템과 HMC 이름을 지정합니다.
제한: HMC 버전 5 이상에서만 되며, 보안 영향을 신중히 따진 뒤에 켭니다.
상세 머리글(g 키)
첫 화면에서 g를 누르면 상세 머리글이 나옵니다.
| 묶음 | 항목 |
|---|---|
| Partition Info | Monitored·Unmonitored(감시하는·않는 파티션 수), Shared, Uncapped, Capped, Dedicated, Donating(기부 중) |
| Memory | Monitored, UnMonitored, Available, UnAllocated(어느 파티션에도 할당 안 됨), Consumed |
| Processor | Monitored, UnMonitored, Available(CEC의 물리 프로세서), UnAllocated, Shared, Dedicated, Donated, Pool Size, Avail Proc Pool(위 APP) |
| 그 밖 | Shr Physical Busy·Ded Physical Busy(공유·전용 파티션의 물리 사용 합), Donated Phys. processors·Stolen Phys. processors(기부한·빼앗긴 사이클을 프로세서 수로), Virtual Pools, Virt. Context Switch, Phantom Interrupts |
CEC 보기 안의 패널
| 키 | 패널 | 지표 |
|---|---|---|
p |
풀 | pool, psize(풀의 실제 최대 용량), entc(풀의 할당 용량), maxc(최대 용량), physb(공유 파티션 물리 사용 합), app(풀의 쓸 수 있는 물리 프로세서), mem·muse(풀의 공유 파티션 메모리 합과 사용 합). 풀을 고르고 f로 그 풀의 공유 파티션을 나열 |
v |
VIO 서버·클라이언트 처리량 | Server, Client, KBPS, TPS, KB-R, KB-W, AQD, AQW, ART, AWT, MRT, MWT. 서버를 고르고 d로 서버 어댑터·대상 장치·클라이언트 디스크 상세 패널(Adapter, Vtargets, Client_disk와 같은 지표), 어댑터를 고르고 f로 그 어댑터의 장치를 나열 |
m |
메모리 풀 | 머리: Mshr·Mded(공유·전용 메모리 모드 LPAR 수), Pools, Mpsz·MPuse(풀의 물리 메모리와 사용량), Entl·Use(I/O 메모리 할당과 사용), Mon, InUse, Avl. 풀: mpid, mpsz, mpus, mem, memu, iome, iomu, hpi(하이퍼바이저 페이지 폴트), hpit(하이퍼바이저 페이지 인 대기 ms). 풀을 고르고 f로 파티션별 mem, memu, meml(하이퍼바이저에 빌려준 메모리), pmem, iom, iomu, hpi, hpit, vcsw, physb, %entc |
영어 원문
This panel displays metrics similar to the lparstat command for all the AIX partitions it can identify as belonging to the same hardware platform. Dedicated and shared partitions are displayed in separate sections with appropriate metrics. The top section represents aggregated data from the partition set to show overall partition, memory, and processor activity.
Remote enablement for this panel to collect from other partitions requires to use the latest updates to the perfagent.tools and bos.perf.tools to support this function. For earlier versions of AIX, the topas command also collects remote data from partitions that have the Performance Aide product
(perfagent.server) installed. The topas -C command may not be able to locate partitions residing on other sub-nets. To avoid this, create a $HOME/Rsi.hosts file containing the fully qualified host names for each partition (including domains), one host per line.
Note: The topas -C command sends broadcast packet to all the Logical Partitions (LPARs) in the same subnet, but only processes response from the LPARs within the same CEC.
The following metrics display in the initial cross-partition panel. Additional metrics with full descriptive labels can be displayed by using the key toggles identified in the Additional cross-partition panel subcommands section:
Partition totals:
- Shr — The number of shared partitions based on the system processor.
- Ded — The number of dedicated partitions based on the system processor.
- Memory (in GB)
- Mon — The total memory of monitored partitions
- Avl — The memory available to partition set
- InUse — The memory in use on monitored partitions
- Processor:
- Shr — The number of shared processors
- Ded — The number of dedicated processors
- PSz — The number of shared physical CPUs in the system.
- APP — Indicates the available physical processors in the system (default shared processor pool). Note: Default shared processor pool contains the physical processors that are available on the managed system. The topas command retrieves the
APPvalue from the data that is provided by the LPARs that are in the same managed system. If these LPARs do not belong to the default shared processor pool, the topas command cannot determine theAPPvalue for the managed system. TheAPPvalue is indicated by the-(hyphen) character in this case. - Don — The total number of processors donated to the pool
Shr_PhysB— The total number of physical processors that are consumed by all shared partitionsDed_PhysB— The total number of physical processors that are consumed by all dedicated partitions- Individual partition data:
- Host — The host name
- OS — The operating system level
- Mod — The mode of the individual partitions. The mode is displayed in a set of 3 characters.
- Character — The first character indicates the CPU in the partition. The second character indicates the memory mode of the partition. The third character indicates the energy state of the partition.
- Mem — The total memory measured in gigabytes.
- InU — The memory in use measured in gigabytes.
- Lp — The number of logical processors.
- Us — The percentage of processor used by programs executing in user mode.
- Sy — The percentage of processor used by programs executing in kernel mode.
- Wa — The percentage of time spent waiting for I/O.
- Id — The percentage of time the processors are idle.
- PhysB — The number of physical processors that are consumed by each partition.
- Ent — The entitlement granted (shared-only).
- %Entc — The percent entitlement consumed (shared-only).
- Vcsw — The average of virtual context switches per second (shared-only).
- PhI — The average of phantom interrupts per second (shared-only).
- Pmem — The physical memory that is backing the partitions logical memory (if in shared-memory mode).
- %idon — The percentage of physical processor that is used while explicitly donating idle cycles. This metric is applicable only for donating dedicated partitions.
- %bdon — The percentage of physical processor that is used while busy cycles are being donated. This metric is applicable only for donating dedicated partitions.
- %istl — The percentage of physical processor that is used while idle cycles are being stolen by the hypervisor. This metric is applicable only for dedicated partitions.
- %bstl — The percentage of physical processor that is used while busy cycles are being stolen by the hypervisor. This metric is applicable only for dedicated partitions.
- For shared partitions:
- First Character — Description
- C — SMT enabled and capped
- c — SMT disabled and capped
- U — SMT enabled and uncapped
- u — SMT disabled and uncapped
- For dedicated partitions:
- First Character — Description
- S — SMT enabled and not donating
- d — SMT disabled and donating
- D — SMT enabled and donating
-— SMT disabled and not donating- Second Character — Description
- M — AMS enabled and AME disabled
-— AME and AMS disabled- E — AME enabled and AMS enabled
- e — AME enabled and AMS disabled
- Third Character — Description
- S — Static power save mode is enabled
- d — Power save mode is disabled
- D — Dynamic power save mode is enabled
-— Unknown / Undefined- E — Power save mode has been enabled
- d — Power save mode has been disabled
The %idon and %bdon metrics are not displayed when there is no donating dedicated partition.
Requirement: At least one partition to be monitored must have Pool Utilization Authority (PUA) configured for pool information metrics to be collected.
For cross-partition monitoring/recording, some global data is not available from any partition. The -o option allows you to specify these fields in the command line. Optionally, you can configure a system to allow the topas command to query the HMC directly for this information. This requires the following steps:
Install OpenSSH at the partition.
Enable remote command support on the HMC for user hscroot to allow ssh connections to be opened from the partition.
Configure ssh on the HMC to not require a password for the HMC user hscroot when queried from the selected partition. This requires the
.ssh/authorized_keys2on the HMC for user login hscroot.Run ssh -l hscroot
hmc_addressdate from the partition to confirm whether the date is displayed without requiring that a password be entered.Utilize the topas -o options described in the usage table to specify the managed system and HMC names when running the topas command.
Restriction: This functionality is currently available only for HMC version 5 and above, and should only be enabled after careful consideration of any security implications.
The following displays when press the g key in the initial screen, which brings the cross partition view with detailed headers: Topas CEC Monitor Interval: 10 Mon Jan 22 00:08:00 2007 Partition Info Memory (GB) Processor Virtual Pools : 2 Monitored : 2 Monitored : 6.2 Monitored :2.0 Avail Pool Proc: 5 UnMonitored: - UnMonitored: - UnMonitored: - Shr Physical Busy: 0.00 Shared : 0 Available : - Available : - Ded Physical Busy: 0.05 Uncapped : 0 UnAllocated: - UnAllocated: - Donated Phys. processors: 0.00 Capped : 2 Consumed : 1.9 Shared : 0 Stolen Phys. processors : 0.01 Dedicated : 2 Dedicated : 2 Hypervisor Donating : 0 Donated : 0 Virt. Context Switch: 347
Pool Size : 0 Phantom Interrupts : 0
Host OS M Mem InU Lp Us Sy Wa Id PhysB Vcsw Ent %EntC PhI -------------------------------------shared------------------------------------- ptoolsl1 A53 U 3.1 1.9 4 1 2 0 96 0.01 398 0.20 5.3 0k Host OS M Mem InU Lp Us Sy Wa Id PhysB Vcsw %istl %bstl %bdon %idon ------------------------------------dedicated----------------------------------- ptools1 A54 S 3.1 0.9 2 0 0 0 99 0.00 177 0.1 0.0 0.0 0.0 ptoolsl3 A54 S 3.1 0.9 2 0 0 0 99 0.00 170 0.2 0.0 0.0 0.0
The following headers are in the previous screen:
Partition Info:
- Monitored — The number of partitions that are monitored
- Unmonitored — The number of partitions that are not monitored
- Shared — The number of shared partitions
- Uncapped — The number of uncapped shared partitions
- Capped — The number of capped partitions
- Dedicated — The number of dedicated partitions
- Donating — The number of partitions that are currently donating
- Memory:
- Monitored — The total memory that is monitored
- UnMonitored — The total memory that is not monitored
- Available — The total memory that is available
- UnAllocated — The total memory that is not allocated to any partition
- Consumed — The total memory that is consumed by the partitions
- Processor:
- Monitored — The number of physical processors that are monitored
- UnMonitored — The number of physical processors that are not monitored
- Available — The number of physical processors that are available in CEC system
- UnAllocated — The number of physical processors that are not allocated to any partition
- Shared — The number of processors that are in shared partitions
- Dedicated — The number of processors that are in dedicated partitions
- Donated — The sum of the number of processors in all the partitions donating
- Pool Size — The number of shared physical CPUs in the system.
- Avail Proc Pool — Indicates the available physical processors in the system (default shared processor pool). Note: Default shared processor pool contains the physical processors that are available on the managed system. The topas command retrieves the
APPvalue from the data that is provided by the LPARs that are in the same managed system. If these LPARs do not belong to the default shared processor pool, the topas command cannot determine theAPPvalue for the managed system. TheAPPvalue is indicated by the-(hyphen) character in this case. - Shr Physical Busy — The sum of physical busy of all of the shared partitions
- Ded Physical Busy — The sum of dedicated busy of all of the dedicated partitions
- Donated Phys. processors — The sum of the donated processor cycles from all of the partitions reported as a number of processors
- Stolen Phys. processors — The sum of stolen processor cycles from all of the partitions reported as a number of processors
- Virtual Pools — The number of virtual pools
- Virt. Context Switch — The total number of virtual context switches per second in the monitoring interval
- Phantom Interrupts — The total number of phantom interrupts per second in the monitoring interval
When the topas command is running inside any cross partition view, press the p key to bring up the pool panel. The following is an example that displays: pool psize entc maxc physb app mem muse 0 3.0 2.0 4.0 0.1 2.0 1.0 1.5 1 4.0 3.0 5.0 0.5 1.5 1.0 0.5 2 3.0 2.5 4.0 0.2 2.0 1.0 0.5
You can scroll up or down in the pool ID column and press the f key to list only the shared partitions that belong to the poolid where cursor is positioned. The following headers might be displayed in the screen:
- psize — The effective maximum capacity of the pool
- entc — The entitled capacity of the pool
- maxc — The maximum capacity of the pool
- physb — The sum of physical busy of processors in shared partitions of a pool
- app — The available physical processor in the pool
- mem — The sum of monitored memory for all shared partitions in the pool
- muse — The sum of memory consumed for all shared partitions in the pool
When the topas command is running inside any cross-partition view, press the v key to display the Virtual I/O Server/Client Throughput panel. The following metrics are displayed:
- AQD — The average number of requests that are waiting to be sent.
- AQW — The average time spent by a transfer request in the waiting queue. The suffix indicates the unit of time. The default unit of time is millisecond.
- ART — The average time to receive a response from the hosting server for the read request sent. The suffix indicates the unit of time. The default unit of time is millisecond.
- AWT — The average time to receive a response from the hosting server for the write request sent. The suffix indicates the unit of time. The default unit of time is millisecond.
- Client — The name of the VIO Client.
- KBPS — The amount of data that is read and written in kilobytes per second over the monitoring interval. This field is the sum of the values of the KB-R and KB-W metrics.
- KB-R — The number of kilobytes that are read per second.
- KB-W — The number of kilobytes that are written per second.
- MRT — The maximum time to receive a response from the hosting server for the read request sent. The suffix indicates the unit of time. The default unit of time is millisecond.
- MWT — The maximum time to receive a response from the hosting server for the write request sent. The suffix indicates the unit of time. The default unit of time is millisecond.
- Server — The name of the VIO Server.
- TPS — The number of transfers that are issued per second.
When the topas command is running inside the Virtual I/O Server/Client Throughput panel, press the d key after selecting a server from the Virtual I/O Server/Client Throughput panel to toggle to VIO Server/Client Disk Details panel. This panel displays the server adapter details in the top section and displays the target device and client disk details in the bottom of the section. To list the target devices and client disks belong to that adapter, select the adapter and press the f key.
The following metrics are displayed in a Virtual I/O Server/Client Disk Details panel:
- Adapter — The name of the server adapter.
- Vtargets — The name of the virtual target device that belongs to the server adapter.
Client_disk— The name of the client disk that is mapped to the virtual target device of the server adapter.
The following details of the adapters are displayed on the top section of the panel:
- KBPS — The amount of data transferred (read or written) in the adapter in kilobytes per second.
- TPS — The number of transfers per second that are issued to the adapter.
- KB-R — The total number of kilobytes read from the adapter.
- KB-W — The total number of kilobytes written to the adapter.
- AQD — The number of requests waiting to be sent to the adapter.
- AQW — The average time spent by a transfer request in the waiting queue. The suffix indicates the unit of time. The default time unit is millisecond.
- ART — The time to receive a response from the hosting server for the read request sent. The suffix indicates the unit of time. The default time unit is millisecond.
- AWT — The time to receive a response from the hosting server for the write request sent. The suffix indicates the unit of time. The default time unit is millisecond.
- MRT — The maximum time to receive a response from the hosting server for the read request sent. The suffix indicates the unit of time. The default time unit is millisecond.
- MWT — The maximum time to receive a response from the hosting server for the write request sent. The suffix indicates the unit of time. The default time unit is millisecond.
The following details for the virtual target device and client disk are displayed on the panel:
- Busy% — The percentage of time the that the virtual target device or disk is active (bandwidth use of the virtual target device or disk).
- KBPS — The number of kilobytes read and written per second over the monitoring interval. This field is the sum of the values of the KB-R and KB-W metrics.
- TPS — The number of transfers per second that are issued to the virtual target device or disk. A transfer is an I/O request to the virtual target device or disk. Multiple logical requests can be combined into a single I/O request to the virtual target device or disk. A transfer is of medium size.
- KB-R — The number of kilobytes read per second from the virtual target device or disk.
- KB-W — The number of kilobytes written per second to the virtual target device or disk.
- AQD — The average number of requests waiting to be sent to virtual target device or disk.
- AQW — The average time spent by a transfer request in the waiting queue. The suffix indicates the unit of time. The default time unit is millisecond.
- ART — The average time to receive a response from the hosting server for the read request sent. The suffix indicates the unit of time. The default time unit is millisecond.
- AWT — The average time to receive a response from the hosting server for the write request sent. The suffix indicates the unit of time. The default time unit is millisecond.
- MRT — The maximum time to receive a response from the hosting server for the read request sent. The suffix indicates the unit of time. The default time unit is millisecond.
- MWT — The maximum time to receive a response from the hosting server for the write request sent. The suffix indicates the unit of time. The default time unit is millisecond.
To display the Memory Pool panel from the CEC panel, press the m key. This panel displays the statistics of all of the memory pools in the system. To display the partitions corresponding to that pool in the lower section of the panel, select a particular memory pool and press the f key.
The following values are displayed in the header section of the panel:
- Mshr — The number of logical partitions (LPAR) running in the shared-memory mode.
- Mded — The number of LPARrunning in dedicated-memory mode.
- Pools — The total number of memory pools in the system.
- Mpsz — The total size of physical memory of all the memory pools in gigabytes.
- MPuse — The total memory used by LPARassociated with all of the pools in gigabytes.
- Entl — The total I/O memory entitlement of all of the LPARin all the pools in gigabytes.
- Use — The total I/O memory entitlement in use of all of the LPARin all the pools in gigabytes.
- Mon — The total monitored memory of the system ( sum of the values of the Mpsz metric and the Total memory of dedicated memory partitions metric).
- InUse — The total memory in use of the system (sum of the MPuse metric and Total memory inuse for dedicated memory partitions metric).
- Avl — The total memory available for the system (the value of the Mon metric minus the value of the InUse metric).
The following values of the pools are displayed:
- mpid — The ID of the memory pool.
- mpsz — The size of the total physical memory of the memory pool in gigabytes.
- mpus — The total memory of the memory pool in use ( this is the sum of the physical memory allocated to all of the LPARin the pool).
- mem — The size of the aggregate logical memory of all the partitions in the pool in gigabytes.
- memu — The aggregate logical memory that is used for all the partitions in the pool in gigabytes.
- iome — The aggregate of I/O memory entitlement that is configured for all the LPARin the pool in gigabytes.
- iomu — The aggregate of the I/O memory entitlement that is used for all the LPARin the pool in gigabytes.
- hpi — The aggregate number of hypervisor page faults that have occurred for all of the LPARin the pool.
- hpit — The aggregate of time spent in waiting for hypervisor page-ins by all of the LPARin the pool in milliseconds.
The following values of the partitions in the pools are displayed:
- mem — The size of logical memory of the partition in gigabytes.
- memu — The logical memory that is used for the partition in gigabytes.
- meml — The logical memory loaned to hypervisor by the LPAR.
- pmem — The physical memory that is allocated to the partition from the memory pool in gigabytes.
- iom — The amount of I/O memory entitlement that is configured for the LPAR in gigabytes.
- iomu — The amount of I/O memory entitlement that is used for the LPAR in gigabytes.
- hpi — The number of hypervisor page faults.
- hpit — The time spent in waiting for hypervisor page-ins in milliseconds.
- vcsw — The virtual context switches average per second.
- physb — The physical processor that is busy.
- %entc — The percentage of the consumed processor entitlement.
클러스터 사용률 보기
클러스터는 관련된 파티션(노드)의 묶음입니다. topas -G(또는 G 키)는 HA 클러스터나 사용자 정의 클러스터의 사용률을 lparstat과 비슷한 지표로 보여 주며, 전용·공유 파티션을 따로 나누고 맨 위에 파티션 집합 전체를 모아 보여 줍니다(6.1).
| 묶음 | 지표 |
|---|---|
| 파티션 합계 | Shr, Ded |
| 메모리(GB) | Mon, InUse |
| 프로세서 | Shr, Ded, Shr_PhysB, Ded_PhysB |
| 파티션별 | Host, CEC(CEC ID), OS, Mem, M(모드, CEC 보기의 첫째 글자와 같음), InU, Lp, Us, Sy, Wa, Id, PhysB, Ent·%Entc·Vcsw(공유만) |
첫 화면에서 g를 누르면 상세 머리글(Partition Info, Memory, Processor 묶음)이 나옵니다. 출력 예는 영어 원문을 봅니다.
영어 원문
A cluster is a group of related partitions or nodes. The Cluster Utilization view can either show utilization of an HA cluster or a user-defined cluster. This panel displays metrics similar to the lparstat command for all the AIX partitions it can identify as belonging to the same hardware platform. The dedicated and shared partitions are displayed in separate sections with appropriate metrics. The top section represents aggregated data from the partition set to show overall partition, memory, and processor activity.
The following metrics are displayed in an initial cluster utilization panel. Additional metrics with full descriptive labels can be displayed using the key toggles identified in the Additional Cluster Utilization Panel Subcommands topic.
Partition totals:
- Shr — The number of shared partitions based on the system processor.
- Ded — The number of dedicated partitions based on the system processor.
- Memory (in GB):
- Mon — The total memory of monitored partitions.
- InUse — The memory in use on monitored partitions.
- Processor:
- Shr — The number of shared processors.
- Ded — The number of dedicated processors.
Shr_PhysB— The total number of physical processors that are busy for all shared partitions.Ded_PhysB— The total number of physical processors that are busy for all dedicated partitions.- Individual partition data:
- Host — The host name.
- CEC — The CEC identifier.
- OS — The operating system level
- Mem — The total memory measured in gigabytes.
- M — The mode of the individual partitions.
- InU — The memory in use measured in gigabytes.
- Lp — The number of logical processors.
- Us — The percentage of the processor used by programs executing in user mode.
- Sy — The percentage of the processor used by programs executing in kernel mode.
- Wa — The percentage of time spent waiting for I/O.
- Id — The percentage of time the processors are idle.
- PhysB — The number of physical processors that are busy.
- Ent — The entitlement granted (shared-only).
- %Entc — The percentage entitlement consumed (shared-only).
- Vcsw — The average of virtual context switches per second (shared-only).
- For shared partitions
- C — SMT enabled and capped
- c — SMT disabled and capped
- U — SMT enabled and uncapped
- u — SMT disabled and uncapped
- For dedicated partitions
- S — SMT enabled and not donating
- d — SMT disabled and donating
- D — SMT enabled and donating
-— SMT disabled and not donating
The following data is displayed when you press the g key on the initial screen, which generates the cluster utilization view with detailed headers: Topas CEC Cluster Monitor ID: Interval: 10 Thu Apr 2 16:13:18 2009 Partitions Memory (GB) Processor Shr :2 Mon : 6.0 Shr :1.5 Shr_PhyB : 0.01 Ded :2 InU : 3.0 Ded :2 Ded_PhyB : 0.00
Host CEC OS M Mem InU Lp Us Sy Wa Id PhysB Vcsw Ent %EntC -------------------------------------shared------------------------------- clock16 19318230 A61 U 2.0 1.1 2 0 0 0 99 0.00 423 0.75 0.6 clock15 19318230 A61 U 2.0 1.6 2 0 0 0 99 0.01 985 0.75 0.9
Host CEC OS M Mem InU Lp Us Sy Wa Id PhysB Vcsw ------------------------------------dedicated------------------ ses10 19318230 A61 D 2.0 1.1 2 0 0 0 99 0.00 0 clock10 19318230 A61 D 0.0 0.0 2 0 0 0 99 0.00 742
The following display when press g key from the above panel, which brings the cluster utilization view with detailed headers:
Topas Cluster Monitor ID: Interval: 10 Thu Apr 2 16:13:44 2009 Partition Info Memory (GB) Processor Supplier: ses10.in.ibm.com Monitored :4 Monitored:6.0 Monitored :3.5 Shr Physical Busy :0.01 Shared :2 Consumed :3.0 Shared :1.5 Ded Physical Busy :0.00
Uncapped :2 Dedicated :2 Capped :2 Dedicated :2
Host CEC OS M Mem InU Lp Us Sy Wa Id PhysB Vcsw Ent %EntC -------------------------------------shared------------------------------- clock16 19318230 A61 U 2.0 1.1 2 0 0 0 99 0.00 423 0.75 0.6 clock15 19318230 A61 U 2.0 1.6 2 0 0 0 99 0.01 985 0.75 0.9
Host CEC OS M Mem InU Lp Us Sy Wa Id PhysB Vcsw ------------------------------------dedicated------------------ ses10 19318230 A61 D 2.0 1.1 2 0 0 0 99 0.00 0 clock10 19318230 A61 D 0.0 0.0 2 0 0 0 99 0.00 742
구현 참고
topas나 다른 SPMI 사용자를 시작한 뒤에 더한 디스크와 네트워크 어댑터는 topas에 나타나지 않습니다. 디스크와 네트워크 어댑터를 바꾼 뒤에는 topas와 SPMI를 쓰는 모든 클라이언트를 멈췄다가 다시 시작해야 합니다.
영어 원문
Disks and network adapters added after starting topas or any other SPMI consumer will not be reflected in topas. You must stop topas and all clients that use SPMI and then restart after the changes to disks and network adapters are made.
플래그
| 플래그 | 설명 |
|---|---|
-@ [wparname] |
WPAR 지표를 보여 줍니다. WPAR 이름을 주면 그 WPAR을 감시합니다. 6.1부터 |
-c hotprocessor |
감시할 핫 프로세서 수입니다. 화면에 나올 최대 수이기도 하며, 있는 수보다 크면 설치된 프로세서만 보여 줍니다. 원문은 생략하면 기본 2라고 하며(플래그 없을 때는 20), 0이면 프로세서 정보를 감시하지 않습니다. |
-C |
파티션 교차(CEC) 패널을 보여 줍니다. 같은 하드웨어의 AIX 파티션에서 lparstat과 비슷한 지표를 모아 전용·공유 파티션과 전체 요약을 보여 줍니다. HMC에서만 얻을 수 있는 값은 HMC 연결이 없으면 명령줄로 정할 수 있습니다. |
-G |
클러스터 사용률 패널을 보여 줍니다. 6.1부터 |
-D |
디스크 패널을 보여 줍니다. Disk, Busy%, KBPS, TPS, KB-R, ART, MRT, KB-W, AWT, MWT, AQW(대기 큐 평균 시간), AQD(디스크로 보내기를 기다리는 평균 요청 수)를 보고합니다. d(어댑터), v(가상 어댑터), f(어댑터의 디스크), m(MPIO, f로 경로) 키를 씁니다. 제한: -D는 시작할 때 첫 간격에 디스크 최소·최대 서비스 시간을 다시 정하므로, 이미 돌고 있는 -D나 다른 사용자의 서비스 시간 지표에 영향을 줍니다. |
-d hotdisk |
감시할 핫 디스크 수입니다. 생략하면 원문상 기본 2이며, 0이면 디스크 정보를 감시하지 않습니다. |
-E |
VIO 서버의 공유 이더넷 어댑터(SEA) 통계(KBPS, I-Pack, O-Pack, KB-In, KB-Out)를 보여 줍니다. |
-F |
파일 시스템 화면을 보여 줍니다. -@나 @와 함께 쓰면 위에 활성 WPAR 목록이 나옵니다. File System, BPS(B-Read+B-Writ), TPS, B-Read, B-Writ(초당 바이트), Open·Create(열린·만든 파일 수), Lock(잠금 수)을 보고합니다. 6.1부터 |
-f HotFS |
감시할 파일 시스템 수입니다. 생략하면 2이고, 원문은 "0을 지정하면 파일 시스템 정보를 감시한다"고 적었는데 감시하지 않는다는 뜻의 오기로 보입니다. 6.1부터 |
-h |
도움말(사용법)을 보여 줍니다. |
-i interval |
감시 간격(초)을 정합니다. 기본은 2초입니다. 원문은 -R 기록 모드와 함께 쓰면 기록 간격(기본 300초, 10·15·30·60·120·300초)이 된다고 설명합니다. |
-I remotepollinterval |
파티션 교차 화면에서 원격 파티션 데이터를 모으는 간격입니다. 기본 10초, 10·15·30·60·120초를 쓸 수 있습니다. |
-L |
LPAR 화면을 보여 줍니다. mpstat·lparstat과 비슷한 데이터를 보고합니다. 공유 메모리 모드에서는 %lbusy, %hypv, hcalls 대신 IOME·iomu(I/O 메모리 할당과 사용, GB), pmem, hpi, hpit를 보여 주며, e 키로 I/O 메모리 할당 풀 패널을 엽니다. |
-M |
메모리 토폴로지 패널을 보여 줍니다(lssrad과 비슷). REF1 단위로 SRAD별 자원과, 프로세서별 디스패치 정보를 보여 줍니다: REF1, SRAD, TOTALMEM, INUSE, FREE, FILECACHE, HOMETHRDS(그 SRAD가 홈인 스레드 수), CPUS, TOTALDISP, LOCALDISP%, NEARDISP%, FARDISP%. 6.1 문서 |
-m |
흑백 모드(색 없음)로 보여 줍니다. |
-n hotni |
감시할 핫 네트워크 인터페이스 수입니다. 생략하면 2, 0이면 감시하지 않습니다. |
-P |
ps처럼 전체 화면 프로세스 목록을 보여 줍니다. 어느 열로든 정렬할 수 있습니다: USER(8자), PID, PPID, PRI, NI, DATA RES·TEXT RES(데이터·텍스트 상주 크기, 4KB 페이지), PAGE SPACE(가상 작업 집합, 4KB 페이지. 실제 페이징 공간 할당은 svmon으로), TIME, CPU%, PGFAULTS, COMMAND(9자). -@와 함께 쓰면 PPID 대신 WPAR 열이 나옵니다. |
-p hotprocess |
감시할 핫 프로세스 수입니다. 생략하면 20, 0이면 프로세스 정보를 감시하지 않습니다. 프로세스 정보를 얻는 것이 topas 부하의 대부분이므로 필요 없으면 0을 줍니다. |
-t |
기본 화면의 테이프 절을 켜고 끕니다. |
-T |
전체 화면 테이프 패널을 보여 줍니다(Atape 장치만): Tape, Busy%, KBPS, TPS, KB-R, ART, MRT, KB-W, AWT, MWT. |
-U username |
-P와 함께 써서 그 사용자가 가진 프로세스만 보여 줍니다. |
-V |
볼륨 그룹 패널을 보여 줍니다. 위에는 볼륨 그룹, 아래에는 논리 볼륨의 TPS, KB-R, KB-W, KBPS를 보고합니다. 6.1부터 |
-W |
전체 화면 WLM 클래스 화면(나뉜 화면)을 보여 줍니다. 위는 핫 WLM 클래스 목록(전체 이름), 아래는 f로 고른 클래스(또는 WPAR)의 바쁜 프로세스입니다. -@나 @를 쓰면 WLM 대신 WPAR 절이 나옵니다. WLM이 활성이 아니면 아래에 기본 시스템 프로세스가 나옵니다. |
-w hotwlmclass |
감시할 핫 WLM 클래스 수입니다. 생략하면 2, 0이면 감시하지 않습니다. |
영어 원문
-@wparname — Shows the WPAR-specific metrics. If you specify a WPAR name with the wparname parameter, the topas monitors that WPAR.-chotprocessor — Specifies with thehotprocessor parameter the number of hot processors to be monitored. This is also the maximum number of processors displayed when enough room is available on the screen. If this number exceeds the number of processors available, only the installed processors will be monitored and displayed. If this argument is omitted, a default of2is assumed. If a value of0(zero) is specified, no processor information is monitored.-C— Displays the Cross-partition panel. The topas command collects a set of metrics from AIX partitions running on the same hardware platform. The metrics are similar to those collected by the lparstat command. Dedicated and shared partitions are displayed, and a set of aggregated values provide an overview of the entire hardware systems partition set. Certain values only available from the HMC platform can be set through the line command if an HMC connection is not available.-G— Displays the Cluster Utilization panel. The topas command collects a set of metrics from AIX partitions that are running on the same hardware platform. The metrics are similar to those collected by the lparstat command. Dedicated and shared partitions are displayed.-D— Displays the Disk Metrics display (Disk panel view). The display reports disk service times, disk queuing metrics, and disk throughput. The following metrics are reported: Disk The name of the physical disk. Busy% The percentage of time that the physical disk is active (bandwidth use for the disk). KBPS The number of kilobytes that are read and written per second over the monitoring interval. This field is the sum of the values of the KB-R and KB-W metrics. TPS The number of transfers per second that are issued to the physical disk. A transfer is an I/O request to the physical disk. Multiple logical requests can be combined into a single I/O request to the disk. A transfer is of medium size. KB-R The number of kilobytes read per second from the physical disk. ART The average time to receive a response from the hosting server for the read request sent. The suffix indicates the unit of time. The default time unit is millisecond. MRT The maximum time to receive a response from the hosting server for the read request sent. The suffix indicates the unit of time. The default time unit is millisecond. KB-W The number of kilobytes written per second to the physical disk. AWT The average time to receive a response from the hosting server for the write request sent. The suffix indicates the unit of time. The default time unit is millisecond. MWT The maximum time to receive a response from the hosting server for the write request sent. The suffix indicates the unit of time. The default time unit is millisecond. AQW The average time spent by a transfer request in the waiting queue. The suffix indicates the unit of time. The default time unit is millisecond. AQD The average number of requests that are waiting to be sent to disk. With the-Dflag specified, you can run the following subcommands: • To view the Adapter Panel, press the d key. • To display all of the virtual adapters present in the partition (Virtual Adapter Panel), press the v key. • To display the disks that belong to the adapter or the virtual adapter, press the f key. • To display the MPIO Panel, press the m key. This panel displays the disks details and the path details. To list the paths of the disks, press the f key. Limitation: The-Doption provides Disk panel view where it reports disk service times, disk queuing metrics, and disk throughput. Whenever-Doption is started, it resets the disk minimum and maximum service time metrics during the first interval. Because the service time metrics are reset during first interval of-Doption, the existing instance of-Doption or some other consumer's use of the disk service time metrics is affected.-dhotdisk — Specifies the number of disks to be monitored. The hotdisk parameter specifies the number of the hot disks to be monitored. This is also the maximum number of disks displayed when enough room is available on the screen. When this number exceeds the number of disks installed, only the installed disks will be monitored and displayed. If this argument is omitted, a default of2is assumed. If a value of0(zero) is specified, no disk information is monitored.-E— Displays the statistics of the shared Ethernet adapter on a Virtual I/O Server. The following metrics are displayed: KBPS The total throughput in kilobytes per second over the monitoring interval. This field is the sum of the kilobytes received and kilobytes sent per second. I-Pack The number of data packets received per second over the monitoring interval. O-Pack The number of data packets sent per second over the monitoring interval. KB-In The number of kilobytes received per second over the monitoring interval. KB-Out The number of kilobytes sent per second over the monitoring interval.-F— Displays the file system display. When you specify the flag with the-@flag or the @ subcommand, file system is shown in two windows. The top part of the display shows a list of active WPAR. This list can be sorted on any column. The display reports file system service times, file system queuing metrics, and file system throughput. The following metrics are reported: File System The name of file system. BPS The amount of data transferred (read and written) per second over the monitoring interval. This field is the sum of the values of B-Read and B-Writ. TPS The number of transfers per second that are issued to the file system. A transfer is an I/O request to the file system. Multiple logical requests can be combined into a single I/O request to the file system. The size of a transfer is not determinate. B-Read The amount of bytes read per second from the file system. B-Writ The amount of bytes written per second from the file system. Open The logical number of files open. Create The logical number of files creates. Lock The number of files lock file system. Tip: If the file system name exceeds the field width in the display, then the file system name is displayed is truncated. The truncation contains the first and last few characters of the file system, and the middle part of the name is replaced by periods (..). For example, if the file system name isfilesystem001234, then the file system name is displayed asfiles..01234.-fHotFS — Specifies with the HotFS parameter the number of file system to be monitored. This is also the maximum number of file system displayed when enough room is available. When this number exceeds the number of file system mounted, only the mounted file system is monitored and displayed. If you do not specify the-fflag, the default value is two. If you specify a value of zero, the file system information is monitored.-h— Displays help information in the following format:usage: topas [-d number-of-monitored-hot-disks] [-h] [-i monitoring-interval_in_seconds] [-n number-of-monitored-hot-network-interfaces] [-p number-of-monitored-hot-processes] [-w number-of-monitored-hot-WLM classes] [-c number-of-monitored-hot-processors] [-U username_owned_processes] [-D|-P|-W|-L] [-m]-iinterval — Sets the monitoring interval or the recording interval in seconds. If you specify the-iflag with the interval parameter, the interval parameter sets the monitoring intervals. The default value for theinterval parameter is two seconds. If you specify the-iflag with the-Rmode, the interval parameter becomes the recording interval for partition metrics. The default value for theinterval parameter is 300 seconds. Valid values are 10, 15, 30, 60, 120, and 300 seconds.-Iremotepollinterval — For cross-partition display, sets with the remotepollinterval parameter the sampling interval to collect data from remote partitions. The default value for the remotepollinterval parameter is 10 seconds. Values of 10, 15, 30, 60 and 120 seconds are allowed.-L— Displays the logical partition display. This display reports similar data to what is provided to mpstat and lparstat. In shared-memory mode, this panel displays information about I/O memory entitlement of the partition. The existing %lbusy, %hypv and hcalls metrics are replaced by the following metrics: IOME The I/O memory entitlement of the partition in gigabytes. iomu The I/O memory entitlement of the partition in use in gigabytes. pmem The physical memory that is backing logical memory of the partition in gigabytes. hpi The number of hypervisor page-ins. hpit The time in milliseconds waiting for hypervisor page-ins. With the-Lflag specified, you can press the e key to display the I/O Memory Entitlement Pools panel. For more information about this panel, see I/O Memory Entitlement Pools Panel.-M— Displays the Memory topology panel. The display reports similar data to what is provided by the lssrad command.There are two sections in this panel: • The first section gives us the memory topology from an SRAD point of view. Under every REF1 system detail level, it provides the individual SRAD IDs and the resources (memory, processors) associated with each of them. • The second section, the CPU RAD display, gives the relevant data at a processor level. The following metrics are displayed as part of this panel. REF1 The first hardware provided reference point, that identifies sets of resources that are near to each other. SRAD Scheduler Resource Allocation Domain ID. TOTALMEM The total memory in MB under the SRAD. INUSE The memory in use under the SRAD. FREE Free memory under the SRAD. FILECACHE The number of file cache bytes that are taken by the LRU daemon. HOMETHRDS The number of threads for which the SRAD is home. Threads typically run on the CPUs contained in the home SRAD, but it is not guaranteed. The system chooses a home SRAD for a thread when it is created. A thread’s home SRAD may change during a thread’s lifetime. CPUS The processors which are associated with this SRAD. 0 would indicate that cpu0 is associated with the corresponding SRAD id. 0 - 28 would indicate that all cpus from cpu0 to cpu28 are associated with the corresponding SRAD. If the cpu ids are not contiguous, then the values will be separated by commas. TOTALDISP Total number of threads dispatched from the corresponding processor during that interval. LOCALDISP% Percentage of threads that were dispatched locally within this SRAD, usually at the chip level. NEARDISP% Percentage of threads that were dispatched to a CPU that is not local, and that is not far. Typically, these may be resources that share the same hardware node. FARDISP% Percentage of threads that were dispatched to a processor typically outside the hardware node. Note: The hardware meanings for local, near and far vary with varying architectures.-m— Displays in monochrome mode (no colors).-nhotni — Specifies with the hotni parameter the number of hot network interfaces to be monitored. This is also the maximum number of network interfaces displayed when enough room is available on the screen. When this number exceeds the number of network interfaces installed, only the installed network interfaces will be monitored and displayed. If this argument is omitted, a default of value of 2 is assumed. If a value of 0 (zero) is specified, no network information is monitored.-P— Similar to the ps command, the-Pflag displays the full-screen process display. This display shows a list of the busiest processes, similar to the process subsection on the default display, only with more columns showing more metrics per process. This list can be sorted by any column. Following are the metrics displayed. USER The login name of the process owner. Truncates the user name to 8 characters. PID The process ID of the process. PPID The process ID of the parent process. PRI The priority of the process or kernel thread; higher numbers mean lower priority. NI The priority of a process specified with the nice command ; used in calculating priority for the sched other policy. DATA RES The real-memory data (resident set) size of the process (4 KB pages). TEXT RES The real-memory text (resident set) size of the process (4 KB pages). PAGE SPACE The virtual working set size used by process (4 KB pages). Note: The true paging space allocations per process are not available using the topas command. For more detailed reports, see the svmon command. TIME The total execution time for the process. CPU% The percentage of processor usage. PGFAULTS The number of I/O and other page faults. COMMAND The command name. Truncates the command name to 9 characters. When specified with-@(topas –P -@), a new field WPAR is displayed and the PPID field is removed. All other metrics remains the same. WPAR The WPAR name that the process belongs to. Tip: If the WPAR class name exceeds 12 characters and it need to be displayed in a 12 character format, the first five characters will be followed by two periods (.), and then follows the last five characters. For example, if the WPAR class name isneptune001234, then the WPAR name is displayed asneptu..01234.-photprocess — Specifies with the hotprocess parameter the number of hot processes to be monitored. This is also the maximum number of processes shown when enough room is available on the screen. If this argument is omitted, a default of 20 is assumed. If a value of 0 is specified, no process information will be monitored. Retrieval of process information constitutes the majority of the topas overhead. If process information is not required, always use this option to specify that you do not want process information.-t— Toggles the tape display section on or off in the main topas display.-T— Displays the full screen tape display panel. Note: Only the Atape device utilization is reported. The following metrics are displayed in this panel: Tape The name of the tape device. Busy% The bandwidth use of the tape. KBPS The amount of data transferred (read or written) to the tape in kilobytes per second. TPS The average number of transfers per second issued to the tape. KB-R The total number of kilobytes read from the tape. ART The average time to receive a response for the read request sent. The suffix indicates the unit of time. The default time unit is millisecond. MRT The maximum time to receive a response for the read request sent. The suffix indicates the unit of time. The default time unit is millisecond. KB-W The total number of kilobytes written to the adapter. AWT The average time to receive a response for the write request sent. The suffix indicates the unit of time. The default time unit is millisecond. MWT The maximum time to receive a response for the write request sent. The suffix indicates the unit of time. The default time unit is millisecond.-Uusername — With the-Pflag, this flag shows the processes owned by the user specified with the username parameter. Only processes owned by the user that is specified will be shown in theAll Process Display.-V— Displays the Volume Group panel. The panel reports the following metrics of the volume groups in the top section of the panel, and the same metrics of the logical volumes in the bottom section of the panel. LogicalVolume/VolumeGroup The name of the logical volume or the volume group. TPS The total number of I/O requests over the interval that the metrics are displayed. KB-R The total number of kilobytes read over the interval. KB-W The total number of kilobytes written over the interval. KBPS The amount of data transferred (read or written) in kilobytes per second in the enquiring logical volume or volume group.-W— Displays the full-screen WLM class display, which is a split display. The top part of the display shows a list of hot WLM classes, similar to the WLM classes subsection on the default display, but with enough space available to display the full class names. This list can be sorted on any column. If you specify the-@flag, or if you press the @ subcommand, the WPAR section is displayed and the WLM section is not displayed. The WPAR section shows the list of hot WPAR. This list can be sorted on any column. The bottom part of the display shows a list of busiest processes, similar to the full screen process display, but only displays processes that belong to one WLM class or WPAR that are selected with the f key. Note: If the WLM class is not active then the default system processes will be displayed in the bottom part of the display.-w[number of monitored hot WLM classes] — Specifies with the hotwlmclass parameter the number of hot Workload Manager (WLM) classes to be monitored. This is also the maximum number of WLM classes displayed when enough room is available on the screen. If this number exceeds the number of WLM classes installed, only the installed WLM classes will be monitored and displayed. If this argument is omitted, a default of 2 is assumed. If a value of 0 (zero) is specified, no WLM class information is monitored.
일반 하위 명령(키)
topas는 실행 중에 한 글자 하위 명령을 받으며, 감시 간격마다 확인해 처리합니다.
| 키 | 동작 |
|---|---|
a |
감시하는 바뀌는 절(프로세서, 네트워크, 디스크, WLM, 프로세스)을 모두 보여 주며, 늘 처음 기본 화면으로 돌아갑니다. |
c |
누적 보고를 프로세서 목록으로 바꾸고, 다시 누르면 누적 보고로 돌아갑니다. |
C |
CEC(파티션 교차) 패널을 켭니다. 이미 켜져 있으면 전역 요약, 전용, 공유 절로 다시 맞춥니다. |
d |
전체 디스크 활동을 가장 바쁜 디스크 목록으로 바꾸고, 다시 누르면 전체 활동으로 돌아갑니다. |
D |
디스크 상세 화면(접근 시간, 큐)으로 바꾸고, 다시 누르면 기본 화면으로 돌아갑니다. |
E |
VIO 서버의 공유 이더넷 어댑터 패널을 보여 줍니다. |
f |
WLM 클래스 위에서 누르면 아래에 그 클래스의 상위 프로세스를 보여 줍니다. 기본 화면의 파일 시스템 절에서는 바쁜 파일 시스템 목록과 전체 활동을 오갑니다. 볼륨 그룹 패널에서는 고른 볼륨 그룹의 상위 논리 볼륨을 보여 줍니다. |
F |
전체 화면 파일 시스템 화면으로 바꾸고, 다시 누르면 기본 화면으로 돌아갑니다(6.1). |
G |
클러스터 사용률 패널을 켭니다(6.1). |
h |
도움말 화면을 보여 줍니다. |
H |
지금 패널의 도움말이 있으면 보여 줍니다. |
L |
LPAR 화면(LPAR, Micro-Partitioning, SMT 지표)으로 바꿉니다. |
n |
전체 네트워크 활동을 가장 바쁜 인터페이스 목록으로 바꿉니다. |
p |
핫 프로세스 절을 켜고 끕니다. |
P |
전체 화면 프로세스 화면으로 바꾸고, 다시 누르면 기본 화면으로 돌아갑니다. |
q |
끝냅니다. |
r |
화면을 다시 그립니다. |
t |
기본 화면의 테이프 절을 켜고 끕니다. |
T |
전체 화면 테이프 화면을 보여 줍니다. |
V |
볼륨 그룹 패널을 보여 줍니다(6.1). |
w |
WLM 클래스 절을 켜고 끕니다. |
W |
전체 화면 WLM 클래스 화면으로 바꿉니다. 여기서 @를 누르면 WPAR 절로 바뀌고, W를 다시 누르면 기본 화면으로 돌아갑니다. |
@ |
WLM 클래스 지표와 WPAR 지표를 오갑니다. 기본, 프로세스, 파일 시스템, WLM 패널에서만 쓰며 WPAR 안에서는 무시합니다(6.1). |
| 화살표, Tab | 프로세서, 네트워크, 디스크, WLM 클래스 절과 전체 화면 WLM·프로세스 화면에서 커서가 있는 열로 정렬합니다(큰 값부터). 디스크 128개, 네트워크 어댑터 16개까지 정렬합니다. |
~ |
nmon 화면을 보여 줍니다(물결표 키). |
영어 원문
While topas is running, it accepts 1-character subcommands. Each time the monitoring interval elapses, the program checks for one of the following subcommand and responds to the action requested.
- a — Shows all of the variable subsections being monitored (processor, network, disk, WLM, and process). Pressing the a key always returns the topas command to the initial main display.
- c — Replaces the current display of the cumulative report with the processor subsection. When you press the c key again, it displays the cumulative report. The number of busiest processors displayed will depend upon the space available on the screen.
- C — Activates the Cross-Partition panel. If the panel is currently active, the C key resets the panel to display the global summary, dedicated, and shared sections. See the Additional Cross-partition Panel Subcommands section below for options specific to this panel.
- d — Replaces the current display of the total disk activity with a list of the busiest disks. When you press the d key again, it displays the total disk activity. The number of busiest disks displayed will depends on the space available on the screen.
- D — Replaces the current display with the Disk Metric display. This display offers additional information about disk access times and disk queuing. If the D key is pressed again, the display toggles back to the default main screen.
- E — Shows the shared Ethernet adapter panel in VIO Server.
- f — Press the f key while moving the cursor over a WLM class to display the list of top processes in the class at the bottom of the WLM screen. In the file system subsection of the topas command main panel, press the f key to replace the default report of total file system activity of the system with a list of busiest file system. When you press the f key again, it returns to the default display of the total file system activity. The number of busiest file system depends upon the space available on the screen. In the Volume Group panel (topas
-V), you can select a volume group name and press the f key to display the list of top logical volumes that belong to the volume group at the bottom of the LVM panel. - F — Replaces the default display with the full-screen file system display. This display provides more detailed information about file systems on the system than the file system section of the main display. When the you press the F key again, it returns to the default main display.
- G — Activates the Cluster Utilization panel. If the panel is currently active, the Gkey resets the panel to display the global summary, dedicated, and shared sections. See the Additional Cluster Utilization Panel Subcommands topic for options specific to this panel.
- h — Shows the help screen.
- H — Shows the help screen for the local panel, if available.
- L — Replaces the current display with the logical partition display; LPAR, Micro-Partitioning, and simultaneous multithreading metrics similar to what lparstat and mpstat provide are displayed.
- n — Replaces the report on the total network activity of the system with the list of the busiest interfaces. Press the n key in the network interfaces subsection. The number of busiest interfaces displayed will depend upon the space available on the screen.
- p — Toggles the hot processes subsection on and off. The number of busiest processes displayed will depend upon the space available on the screen.
- P — Replaces the default display with the full-screen process display. This display provides more detailed information about processes running on the system than the process section of the main display. When the P key is pressed again, it toggles to the default main display.
- q — Quits the program.
- r — Refreshes the display.
- t — Toggles the tape display on or off in the main panel.
- T — Shows the full-screen tape display.
- V — Shows the Volume Group panel.
- w — Toggles the Workload Manager (WLM) classes subsection on and off. The number of busiest WLM classes displayed will depend upon the space available on the screen.
- W — Replaces the default display with the full-screen WLM class display. This display provides more detailed information about WLM classes, WPAR classes, and processes assigned to classes. When you press the @ key, the WLM class subsection is replaced by WPAR subsection. When you press the W key again, it toggles back to the default main display.
- @ — Toggles between the WLM class metric and WPAR metrics, that is, WPAR is monitored instead of WLM. This is the at (@) key. This key is valid for the Main panel, Process panel, File System panel, and WLM panel. If you press the @ key from any other panel, it is ignored. The @ key is restricted inside a WPAR, that is, it is ignore inside a WPAR. The @ key is valid in the following panels: Main Panel The WLM and Process subsections are replaced by the WPAR metric. Process Panel The default mode of the process panel is replaced by the WPAR mode. File System Panel The file system panel contains WPAR names if you press the f key. The per WPAR file-system metrics are displayed on the lower section of this panel. WLM Panel The WLM subsection is replaced by the WPAR subsection.
- Arrow and Tab keys — Subsections from the main display such as the processor, Network, Disk, WLM Classes, and the full-screen WLM and Process displays can be sorted by different criteria. Positioning the cursor over a column activates sorting on that column. The entries are always sorted from highest to lowest value. The cursor can be moved by using the Tab key or the arrow keys. Sorting is only valid for 128 disks and 16 network adapters.
- ~ — Shows the nmon screen. This is the tilde (~) key.
CEC 패널의 추가 키
| 키 | 동작 |
|---|---|
d |
전용 파티션 절을 켜고 끕니다. |
g |
맨 위 전역 절을 짧은 목록, 상세 목록, 끔으로 바꿉니다. |
r |
HMC 연결이 있으면 새 파티션, 프로세서, 메모리 할당 같은 HMC 구성 변경을 찾습니다. |
s |
공유 파티션 절을 켜고 끕니다. |
p |
풀 패널을 켜고 끕니다. 풀 ID를 고르고 f로 그 풀의 공유 파티션을 나열합니다. |
v |
VIO 서버·클라이언트 처리량 패널을 켜고 끕니다. VIO 서버를 고르고 f로 그 서버의 클라이언트를 나열합니다. |
m |
메모리 풀 패널을 켜고 끕니다. 풀을 고르고 f로 그 풀의 파티션을 봅니다. |
영어 원문
When the topas Cross-partition panel is active, it accepts the following additional 1-character subcommands. Each time the monitoring interval elapses, the program checks for one of the following subcommands and responds to any requested action.
- d — Toggles the dedicated partition section on and off.
- g — Toggles the top global section of the panel between brief listing, detailed listing, and off.
- r — Forces topas to search the for HMC configuration changes if a connection is available. This includes the discovery of new partitions, processors, or memory allocations.
- s — Toggles the shared partition section on and off.
- p — Toggles the pool panel section on or off. Inside the pool panel, user can select one pool ID and press the f key to list the shared partitions that belong to the pool.
- v — Toggles the Virtual I/O Server/Client Throughput details on or off. You can select one virtual I/O server and press the f key to list the VIO clients that belong to that server.
- m — Toggles the memory pool panel on or off. You can select a memory pool and press the f key to view the partitions in that pool.
클러스터 패널의 추가 키
| 키 | 동작 |
|---|---|
d |
전용 파티션 절을 켜고 끕니다. |
g |
맨 위 전역 절을 짧은 목록, 상세 목록, 끔으로 바꿉니다. |
s |
공유 파티션 절을 켜고 끕니다. |
영어 원문
When the topas Cluster Utilization panel is active, it accepts the following additional 1-character subcommands. Each time the monitoring interval elapses, the program checks for one of the following subcommands and responds to any requested action:
- d — Toggles the dedicated partition section on and off.
- g — Toggles the top global section of the panel between brief listing, detailed listing, and off.
- s — Toggles the shared partition section on and off.
디스크 패널(-D)의 추가 키
| 키 | 동작 |
|---|---|
d |
어댑터 패널을 켜고 끕니다. |
m |
MPIO 패널을 켜고 끕니다. |
영어 원문
When the topas Disk panel is active, it accepts the following additional 1-character subcommands. Each time the monitoring interval elapses, the program checks for one of the following subcommands and responds to any requested action:
- d — Toggles the Adapter panel on or off.
- m — Toggles the MPIO panel on or off.
어댑터 패널의 추가 키
| 키 | 동작 |
|---|---|
v |
어댑터 패널에서 가상 어댑터 패널을 켜고 끕니다. |
영어 원문
When the topas Adapter panel is active, it accepts the following additional 1-character subcommand. Each time the monitoring interval elapses, the program checks for one of the following subcommands and responds to any requested action:
- v — Toggles the Virtual Adapter panel on or off. Press this key from the Adapter panel.
LPAR 패널(-L)의 추가 키
| 키 | 동작 |
|---|---|
e |
I/O 메모리 할당 풀 패널을 켜고 끕니다. |
영어 원문
When the topas Logical panel is active, it accepts the following additional 1-character subcommand. Each time the monitoring interval elapses, the program checks for one of the following subcommands and responds to any requested action:
- e — Toggles the I/O Memory Entitlement Pools panel.
VIO 서버·클라이언트 처리량 패널의 추가 키
| 키 | 동작 |
|---|---|
d |
VIO 서버·클라이언트 처리량 패널에서 고른 VIO 서버의 디스크 패널을 켜고 끕니다. 서버 어댑터를 고르고 f로 그 어댑터의 디스크와 클라이언트를 나열합니다. |
영어 원문
When the topas Virtual I/O Server/Client Throughput panel is active, it accepts the following additional 1-character subcommand. Each time the monitoring interval elapses, the program checks for one of the following subcommands and responds to any requested action:
- d — Turns the Virtual I/O Server/Client Disk panel on or off for the Virtual I/O Server that is selected in the Virtual I/O Server/Client Throughput panel. You can select the server adapters and press the f key to list the disks and the clients that belong to that adapter.
WLM 클래스 전체 화면의 예
topas -W가 만드는 화면의 예입니다(위는 WLM 클래스, 아래는 프로세스, 일부).
Topas Monitor for host: ptoolsl3 Interval: 2 Mon Feb 12 06:25:11 2007
WLM-Class (Active) CPU% Mem% Blk-I/O%
System 0 57 0
Shared 0 4 0
Default 0 0 0
Unmanaged 0 14 0
Unclassified 0 38 0
==============================================================================
DATA TEXT PAGE PGFAULTS
USER PID PPID PRI NI RES RES SPACE TIME CPU% I/O OTH COMMAND
root 1 0 108 20 197 9 180 0:24 0.0 0 0 init
root 1032 0 16 41 3 3374 3 0:00 0.0 0 0 lrud
root 3144 1 108 20 40 1 36 5:19 0.0 0 0 syncd
root 3666 1 108 20 135 23 123 0:00 0.0 0 0 errdemon
topas -W -@는 위쪽에 WLM 클래스 대신 WPAR(neptune001234 등)의 CPU%, Mem%, Blk-I/O%를 보여 줍니다(6.1). 전체 출력은 영어 원문을 봅니다.
영어 원문
The following is an example of the display generated by the topas -W command: Topas Monitor for host: ptoolsl3 Interval: 2 Mon Feb 12 06:25:11 2007 WLM-Class (Active) CPU% Mem% Blk-I/O% System 0 57 0 Shared 0 4 0 Default 0 0 0 Unmanaged 0 14 0 Unclassified 0 38 0
==============================================================================
DATA TEXT PAGE PGFAULTS
USER PID PPID PRI NI RES RES SPACE TIME CPU% I/O OTH COMMAND root 1 0 108 20 197 9 180 0:24 0.0 0 0 init root 1032 0 16 41 3 3374 3 0:00 0.0 0 0 lrud root 1290 0 60 41 4 3374 4 0:02 0.0 0 0 xmgc root 1548 0 36 41 4 3374 4 0:26 0.0 0 0 netm root 1806 0 37 41 16 3374 16 13:25 0.0 0 0 gil root 2064 0 16 41 4 3374 4 0:04 0.0 0 0 wlmsched root 2698 1 108 20 14 2 14 0:00 0.0 0 0 shlap root 3144 1 108 20 40 1 36 5:19 0.0 0 0 syncd root 3362 0 108 20 4 3374 4 0:00 0.0 0 0 lvmbb root 3666 1 108 20 135 23 123 0:00 0.0 0 0 errdemon root 3982 0 108 20 4 3374 4 0:01 0.0 0 0 rtcmd
The following is an example of the display generated by topas –W -@ command: Topas Monitor for host: ptoolsl3 Interval: 2 Mon Feb 12 06:25:11 2007 WPAR CPU% Mem% Blk-I/O% neptune001234 0 1 0
==============================================================================
DATA TEXT PAGE PGFAULTS
USER PID PPID PRI NI RES RES SPACE TIME CPU% I/O OTH COMMAND root 356372 491650 58 41 370 67 370 0:00 0.1 0 0 topas root 262246 188508 24 41 256 21 256 6:27 0.1 0 0 xmtopas root 192626 1 60 20 113 17 113 11:17 0.1 0 0 getty root 61470 0 16 41 17 0 17 0:31 0.0 0 0 wlmsched root 290818 1 58 41 284 67 284 1:54 0.0 0 1 topas root 57372 0 37 41 30 0 30 3:39 0.0 0 0 gil root 86248 1 60 20 47 0 47 1:04 0.0 0 0 rpc.lock root 385224 237728 60 20 254 197 254 0:00 0.0 0 0 sendmail root 131174 176242 60 20 175 79 175 0:03 0.0 0 0 aixmibd root 53274 0 36 41 13 0 13 0:05 0.0 0 0 netm root 90244 1 60 20 126 2 126 2:35 0.0 0 0 syncd root 45078 0 60 41 14 0 14 0:58 0.0 0 0 xmgc root 266384 176242 60 20 644 160 644 0:27 0.0 0 0 IBM.CSMA root 250004 176242 60 20 617 157 617 0:26 0.0 0 0 rmcd root 184410 176242 60 20 254 197 254 0:14 0.0 0 0 sendmail root 151640 0 60 20 13 0 13 0:02 0.0 0 0 rgsr root 40980 0 59 41 71 0 71 0:02 0.0 0 0 pilegc root 110738 0 60 20 13 0 13 0:01 0.0 0 0 n4bg root 180368 1 60 20 98 14 98 0:01 0.0 0 0 cron root 1 0 60 20 158 10 158 0:01 0.0 0 0 init
예제
| 명령 | 하는 일 |
|---|---|
topas -i5 -n0 -p0 -w0 -f0 |
5초마다 핫 디스크를 20개까지 보여 주고, 네트워크·WLM·파일 시스템·프로세스 정보는 뺌 |
topas -p5 -n0 -d0 -f0 |
가장 활발한 프로세스 5개와 WLM 클래스를 20개까지 보여 주고, 네트워크·디스크·파일 시스템 정보는 뺌 |
topas |
기본 옵션으로 실행 |
topas -P |
바로 프로세스 화면으로 |
topas -W |
바로 WLM 클래스 화면으로 |
topas -L |
바로 LPAR 화면으로 |
topas -D |
바로 디스크 상세 화면으로 |
topas -F |
바로 파일 시스템 화면으로(6.1) |
topas -@ abc |
바로 WPAR abc 감시 모드로(6.1) |
topas -@ |
바로 WPAR 모드로(6.1) |
topas -V |
바로 LVM(볼륨 그룹) 화면으로(6.1) |
topas -T |
바로 테이프 화면으로 |
topas -E |
VIO 서버의 공유 이더넷 어댑터 패널로 |
topas -G |
바로 클러스터 사용률 화면으로(6.1) |
topas -M |
바로 메모리 토폴로지 패널로, SRAD 통계(6.1 문서) |
topas -P -U guest |
사용자 guest의 프로세스 사용률 |
topas -c2 |
프로세서 사용률이 높은 상위 2개 |
영어 원문
- To display up to twenty "hot" disks every five seconds and omit network interface, WLM classes, file system information and process information, enter the following command:
topas -i5 -n0 -p0 -w0 -f0
- To display the five most active processes and up to twenty most active WLM classes (which is the default when omitting the
-wflag) but no network , disk, or file system information, enter the following command:
topas -p5 -n0 -d0 -f0
- To run the program with default options, enter the following command:
topas
- To go directly to the process display, enter the following command:
topas -P
- To go directly to the WLM classes display, enter the following command:
topas -W
- To go directly to the logical partition display, enter the following command:
topas -L
- To go directly to the disk metric display, enter the following command:
topas -D
- To go directly to the file system display, enter the following command:
topas -F
- To go directly to WPAR monitoring mode abc, enter the following command:
topas -@ abc
- To go directly to the topas WPAR mode, enter the following command:
topas -@
- To go directly to the LVM display, enter the following command:
topas -V
- To go directly to the tape display, enter the following command:
topas -T
- To go to the shared Ethernet adapter on the VIO Server panel, enter the following command:
topas -E
- To go directly to the cluster utilization display, enter the following command:
topas -G
- To go directly to the Memory topology panel and view SRAD statistics, enter the following command:
topas -M
- To display the process utilization specific to the user guest, enter the following command:
topas -P -U guest
- To display top two processors with high processor utilization, enter the following command:
topas -c2
파일
| 파일 | 설명 |
|---|---|
/usr/bin/topas |
topas 명령이 들어 있습니다. |
영어 원문
- /usr/bin/topas — Contains the topas command.
리눅스(GNU)와 다른 점
| 항목 | AIX topas | 리눅스 top |
|---|---|---|
| 기본 화면 | 시스템 전체(CPU, 메모리, 페이징, 디스크, 네트워크, 프로세스) | CPU·메모리 요약과 프로세스 목록 |
| 디스크·네트워크 | 기본 화면에 있음(d, n, -D) |
없음(iotop, iftop 등 별도) |
| 가상화 | LPAR(-L), CEC(-C), VIOS(-E) |
없음 |
| 끝내기 | q |
q |
AIX에서 리눅스의 top과 비슷한 화면은 topas -P이며, 더 자세한 그림은 ~ 키로 여는 nmon 화면입니다.