Command to monitor CPU every second
Command: sudo sar 1 3600
AIX mymachine 1 6 00006EFAD400 10/09/20
System configuration: lcpu=8 mode=Capped
12:18:23 %usr %sys %wio %idle physc
12:18:24 2 1 0 97 3.99
12:18:25 1 0 0 99 4.00
12:18:26 0 0 0 99 4.01
12:18:27 0 0 0 99 4.03
12:18:28 0 0 0 99 3.99
12:18:29 0 0 0 99 4.01
12:18:30 1 0 0 99 4.00
12:18:31 0 0 0 99 4.01
Command to monitor Memory every second
Command : vmstat 1 3600
System Configuration: lcpu=8 mem=15808MB
kthr memory page faults cpu
----- ----------- ------------------------ ------------ -----------
r b avm fre re pi po fr sr cy in sy cs us sy id wa
1 0 1885399 1576810 0 0 0 0 0 0 239 2466 1267 1 0 99 0
3 0 1885399 1576806 0 0 0 0 0 0 263 1953 1245 1 0 99 0