9.3.4 References

9.4 Quiz

  1. A client needs more disk space for another volume group and has decided to use hdisk12 from the uservg volume group. Theclient realizes that paging space, paging12, must first be removed from hdisk12. Which of the following is the correct sequence of events?
    A.
    chps -an paging12, rmps paging12
    B.
    swapoff paging12, rmps paging12
    C.
    swapoff paging12, reboot, rmps paging12
    D.
    chps -an paging12, swapoff paging12, rmps paging12

  2. A customer would like to remove an unneeded, but active, paging space called paging00. What is proper sequence of steps to accomplish this?
    A.
    Remove the paging space with the rmps command and reboot the system.
    B.
    Disable the paging space with the chps command, reboot the system and remove the paging00 logical volume with the rmps command.
    C.
    Disable the paging space with the chps command, remove the paging00 logical volume with the rmps command, and reboot the system.
    D.
    Disable the paging space with the chps command, reboot the system and remove the paging00 logical volume with the rmlv command.

  3. Company ABC has sent a technical specialist to a customer site in response to a complaint about slow system performance . The technical specialist verified unusually slow performance on the customer's system, and is attempting to find the source of the problem using the vmstat command. Given the output of the vmstat command below, what is the most likely cause of the performance problem?
    kthr     memory             page              faults        cpu
    ----- ----------- ------------------------ ------------ -----------
     r  b   avm   fre  re  pi  po  fr   sr  cy  in   sy  cs us sy id wa
     0  0  5311 48642   0   0   0   0    0   0 102    4  11  0  0 99  0
     0  1 52197  1756   0   0   0   0    0   0 206  157  26 28 12  0 60
     0  1 51192  2751   0   0   0   0    0   0 204   24  22 22 12  0 66
    
    A.
    High user process activity
    B.
    Excessive system paging
    C.
    Poor disk drive I/O response time
    D.
    Excessive system CPU interrupts

  4. A system administrator runs the vmstat command due to system performance problems. The output of vmstat is shown. What can be concluded from this output?
    kthr     memory             page              faults        cpu
    ----- ----------- ------------------------ ------------ -----------
     r  b   avm   fre  re  pi  po  fr   sr  cy  in   sy  cs us sy id wa
     2  0  9200 11027   0   0   0   0    0   0 103   52  14 44 46  9  0
     2  1  9200 11027   0   0   0   0    0   0 207  251  29 45 45  9  0
     3  1  9200 11027   0   0   0   0    0   0 207  120  29 46 47  7  0
     5  1  9200 11027   0   0   0   0    0   0 206  120  29 43 55  2  0
     4  1  9200 11027   0   0   0   0    0   0 207  131  32 49 48  3  0
    
    A.
    The CPU is not sufficient for the load.
    B.
    The machine needs a memory upgrade.
    C.
    The machine needs a FDDI card installed.
    D.
    A user program is causing unnecessary paging.

  5. A system administrator is experiencing performance problems and runs the vmstat command. The output of vmstat is shown. What can be concluded from this output?
    kthr     memory             page              faults        cpu
    ----- ----------- ------------------------ ------------ -----------
     r  b   avm   fre  re  pi  po  fr   sr  cy  in   sy  cs us sy id wa
     2  0  9200 11027   0   0   0   0    0   0 103   52  14 14 16  0 69
     2  1  9200 11027   0   0   0   0    0   0 207  251  29 12 11  0 67
     3  1  9200 11027   0   0   0   0    0   0 207  120  29  9 11  0 80
     5  1  9200 11027   0   0   0   0    0   0 206  120  29 13  5  0 79
     4  1  9200 11027   0   0   0   0    0   0 207  131  32  9  8  0 72
    
    A.
    The machine is I/O bound.
    B.
    The machine needs memory optimized.
    C.
    The machine needs a FDDI card installed.
    D.
    A user program is causing unnecessary paging.

  6. The system administrator for Company XYZ is monitoring a system that has recently shown a decrease in performance. What is the best tool to identify where a performance bottleneck may exist?
    A.
    lsps
    B.
    errpt
    C.
    svmon
    D.
    vmstat

  7. A system has a 128-port controller with 130 TTYs configured total for the system and the terminal input and output is slowing down. The console is exhibiting the same behavior. Systems support runs netstat, vmstat and ps aux commands. Based on the outputs of these commands, what needs to be done to remedy the problem?
    
    # vmstat
    
    kthr     memory             page              faults        cpu
    ----- ----------- ------------------------ ------------ -----------
     r  b   avm   fre  re  pi  po  fr   sr  cy  in   sy  cs us sy id wa
     0  0  9778  1262   0   0   0   0    0   0 161   72  32 10 15 75  0
     0  0  9778  1261   0   0   0   0    0   0 171  161  38 11 20 69  0
     0  0  9778  1261   0   0   0   0    0   0 162  119  32 11 20 69  0
     0  0  9778  1261   0   0   0   0    0   0 163  119  32 12 20 68  0
     0  0  9778  1261   0   0   0   0    0   0 164  120  33 11 20 69  0
    
    
    # netstat
    
    16 mbufs in use:
    0 mbuf cluster pages in use
    4 Kbytes allocated to mbufs
    110 requests for mbufs denied
    0 calls to protocol drain routines
    0 sockets not created because sockthresh was reached
    
    # ps aux
    
    USER       PID %CPU %MEM   SZ  RSS    TTY STAT    STIME  TIME COMMAND
    root       516 99.1  0.0    4    8      - A      Jul 27 2851:18 kproc
    root     14474  1.1  1.0  980 1180      - A    08:01:48  1:09 /usr/dt/bin/dtter
    root      1032  0.2  0.0  316  232      - A      Jul 27  6:51 kproc
    root      2258  0.2  1.0  964 1148      - A    08:01:13  0:14 /usr/dt/bin/dtter
    user1     2364  0.1  5.0 5468 4768      - A      Jul 27  2:02 /usr/lpp/X11/bin/
    root      5676  0.0  0.0  116  184      - A      Jul 27  1:11 ./sapd
    root      4154  0.0  0.0   84   96      - A      Jul 27  0:53 /usr/sbin/syncd 6
    root         0  0.0  0.0    8   12      - A      Jul 27  0:31 swapper
    root      4044  0.0  2.0 1808 2008      - A    08:00:43  0:01 dtwm
    root         1  0.0  0.0  384  436      - A      Jul 27  0:07 /etc/init
    root      7740  0.0  1.0  980 1132      - A      Jul 27  0:04 /usr/sbin/snmpd
    root       774  0.0  0.0   12   16      - A      Jul 27  0:03 kproc
    user2     3376  0.0  0.0  432  428      - A      Jul 27  0:02 /usr/dt/bin/dtlog
    user2     8796  0.0  0.0  232  312      - A      Jul 27  0:01 /usr/sbin/cron
    root      7998  0.0  0.0  272  260      - A      Jul 27  0:01 /usr/sbin/tftpd -
    root      5196  0.0  1.0  456  532      - A      Jul 27  0:01 /usr/bin/cnsview
    imnadm   12132  0.0  2.0 1756 1808      - A      Jul 27  0:00 /usr/IMNSearch/ht
    
    
    A.
    Add another paging space.
    B.
    Increase the value of the wall.
    C.
    Increase the size of paging space.
    D.
    Run kill -9 on PID of kproc process.

  8. A customer is experiencing performance problems and runs the vmstat command. The output of vmstat is shown. What can be concluded from this output?
    kthr     memory             page              faults        cpu
    ----- ----------- ------------------------ ------------ -----------
     r  b   avm   fre  re  pi  po  fr   sr  cy  in   sy  cs us sy id wa
     1  0  9200    27   0  87  89   0    0   0 103   52  14 10 15  9 65
     2  1  9200    22   0 136 122   0    0   0 207  251  29  9 12  8 71
     3  1  9200    19   0 112 107   0    0   0 207  120  29 11  9  7 73
     5  1  9200    17   0  99 122   0    0   0 206  120  29 12  8  8 72
    
    A.
    The machine needs a CPU upgrade.
    B.
    Another ATM card needs to be added.
    C.
    The paging space needs to be optimized.
    D.
    A user program is causing a system loop.

  9. A customer is experiencing performance problems and runs the iostat command. The output of the iostat command is shown. What should be recommended?
    tty:      tin         tout   avg-cpu:  % user    % sys     % idle    % iowait
              0.0         170.2               7.1     12.1        0.8      80.0
    
    Disks:        % tm_act     Kbps      tps    Kb_read   Kb_wrtn
    hdisk0           0.0       0.0       0.0          0         0
    hdisk1           0.0       0.0       0.0          0         0
    cd0             55.9     622.4     155.6       1250         8
    
    tty:      tin         tout   avg-cpu:  % user    % sys     % idle    % iowait
              0.0         170.2               5.1     14.1        0.8      80.0
    
    Disks:        % tm_act     Kbps      tps    Kb_read   Kb_wrtn
    hdisk0           0.5       2.0       0.5          4         0
    hdisk1           0.0       0.0       0.0          0         0
    cd0             55.9     622.4     155.6       1270         0
    
    A.
    A user program needs optimizing.
    B.
    Another ATM card needs to be added.
    C.
    The CD-ROM needs to be removed from the configuration.
    D.
    Space permitting, the volume mounted on the CD-ROM should be moved to a disk.

9.4.1 Answers

1.
A
2.
B
3.
C
4.
A
5.
A
6.
D
7.
B
8.
C
9.
D

9.5 Exercises