version 1.69, 2009/05/03 05:01:54 |
version 1.70, 2009/08/13 23:45:35 |
|
|
mvprintw(INTSROW, INTSCOL + 3, " Interrupts"); |
mvprintw(INTSROW, INTSCOL + 3, " Interrupts"); |
mvprintw(INTSROW + 1, INTSCOL + 9, "total"); |
mvprintw(INTSROW + 1, INTSCOL + 9, "total"); |
|
|
|
if (LINES - 1 > VMSTATROW + 17) |
|
mvprintw(VMSTATROW + 17, INTSCOL + 9, "IPKTS"); |
|
if (LINES - 1 > VMSTATROW + 18) |
|
mvprintw(VMSTATROW + 18, INTSCOL + 9, "OPKTS"); |
|
|
mvprintw(VMSTATROW + 0, VMSTATCOL + 10, "forks"); |
mvprintw(VMSTATROW + 0, VMSTATCOL + 10, "forks"); |
mvprintw(VMSTATROW + 1, VMSTATCOL + 10, "fkppw"); |
mvprintw(VMSTATROW + 1, VMSTATCOL + 10, "fkppw"); |
mvprintw(VMSTATROW + 2, VMSTATCOL + 10, "fksvm"); |
mvprintw(VMSTATROW + 2, VMSTATCOL + 10, "fksvm"); |
|
|
s.nchcount = nchtotal.ncs_goodhits + nchtotal.ncs_badhits + |
s.nchcount = nchtotal.ncs_goodhits + nchtotal.ncs_badhits + |
nchtotal.ncs_miss + nchtotal.ncs_long; |
nchtotal.ncs_miss + nchtotal.ncs_long; |
|
|
|
if (LINES - 1 > VMSTATROW + 17) |
|
putint(sum.ifc_ip, VMSTATROW + 17, INTSCOL, 8); |
|
if (LINES - 1 > VMSTATROW + 18) |
|
putint(sum.ifc_op, VMSTATROW + 18, INTSCOL, 8); |
|
|
psiz = 0; |
psiz = 0; |
f2 = 0.0; |
f2 = 0.0; |
|
|
|
|
putfloat((nchtotal.ncs_miss + nchtotal.ncs_long - nchtotal.ncs_pass2) * |
putfloat((nchtotal.ncs_miss + nchtotal.ncs_long - nchtotal.ncs_pass2) * |
100.0 / nz(s.nchcount), NAMEIROW + 2, NAMEICOL + 45, 4, 0, 1); |
100.0 / nz(s.nchcount), NAMEIROW + 2, NAMEICOL + 45, 4, 0, 1); |
#undef nz |
#undef nz |
|
|
} |
} |
|
|
int |
int |
|
|
if (state == TIME) |
if (state == TIME) |
copyinfo(&s3, &s1); |
copyinfo(&s3, &s1); |
fetchkre(); |
fetchkre(); |
|
fetchifstat(); |
if (state == TIME) |
if (state == TIME) |
dkswap(); |
dkswap(); |
num_disp = 0; |
num_disp = 0; |