Lines Matching refs:iostat_ofp

54 FILE *iostat_ofp = NULL;  variable
58 fprintf(iostat_ofp, "Device: rrqm/s wrqm/s r/s w/s " in dump_hdr()
118 fprintf(iostat_ofp, "%-11s ", make_dev_hdr(hdr, 11, dip, 1)); in __dump_stats()
119 fprintf(iostat_ofp, "%8.2lf ", (double)sp->rqm[1] / dt); in __dump_stats()
120 fprintf(iostat_ofp, "%8.2lf ", (double)sp->rqm[0] / dt); in __dump_stats()
121 fprintf(iostat_ofp, "%7.2lf ", (double)sp->ios[1] / dt); in __dump_stats()
122 fprintf(iostat_ofp, "%7.2lf ", (double)sp->ios[0] / dt); in __dump_stats()
123 fprintf(iostat_ofp, "%9.2lf ", (double)sp->sec[1] / dt); in __dump_stats()
124 fprintf(iostat_ofp, "%9.2lf ", (double)sp->sec[0] / dt); in __dump_stats()
125 fprintf(iostat_ofp, "%9.2lf ", (double)(sp->sec[1] / 2) / dt); in __dump_stats()
126 fprintf(iostat_ofp, "%9.2lf ", (double)(sp->sec[0] / 2) / dt); in __dump_stats()
127 fprintf(iostat_ofp, "%8.2lf ", avgrq_sz); in __dump_stats()
128 fprintf(iostat_ofp, "%8.2lf ", (double)sp->tot_qusz / dt); in __dump_stats()
129 fprintf(iostat_ofp, "%7.2lf ", await); in __dump_stats()
130 fprintf(iostat_ofp, "%7.2lf ", svctm); in __dump_stats()
131 fprintf(iostat_ofp, "%6.2lf", p_util); in __dump_stats()
133 fprintf(iostat_ofp, "%8s\n", "TOTAL"); in __dump_stats()
135 fprintf(iostat_ofp, "%8.2lf\n", TO_SEC(stamp)); in __dump_stats()
165 fprintf(iostat_ofp, "%-11s ", "TOTAL"); in __dump_stats_t()
166 fprintf(iostat_ofp, "%8.2lf ", asp->rqm_s[0]); in __dump_stats_t()
167 fprintf(iostat_ofp, "%8.2lf ", asp->rqm_s[1]); in __dump_stats_t()
168 fprintf(iostat_ofp, "%7.2lf ", asp->ios_s[0]); in __dump_stats_t()
169 fprintf(iostat_ofp, "%7.2lf ", asp->ios_s[1]); in __dump_stats_t()
170 fprintf(iostat_ofp, "%9.2lf ", asp->sec_s[0]); in __dump_stats_t()
171 fprintf(iostat_ofp, "%9.2lf ", asp->sec_s[1]); in __dump_stats_t()
172 fprintf(iostat_ofp, "%9.2lf ", asp->sec_s[0] / 2.0); in __dump_stats_t()
173 fprintf(iostat_ofp, "%9.2lf ", asp->sec_s[1] / 2.0); in __dump_stats_t()
174 fprintf(iostat_ofp, "%8.2lf ", asp->avgrq_sz / asp->n); in __dump_stats_t()
175 fprintf(iostat_ofp, "%8.2lf ", asp->avgqu_sz / asp->n); in __dump_stats_t()
176 fprintf(iostat_ofp, "%7.2lf ", asp->await / asp->n); in __dump_stats_t()
177 fprintf(iostat_ofp, "%7.2lf ", asp->svctm / asp->n); in __dump_stats_t()
178 fprintf(iostat_ofp, "%6.2lf", asp->p_util / asp->n); in __dump_stats_t()
180 fprintf(iostat_ofp, "%8s\n", "TOTAL"); in __dump_stats_t()
182 fprintf(iostat_ofp, "%8.2lf\n", TO_SEC(stamp)); in __dump_stats_t()
188 if (iostat_ofp) in iostat_init()
224 if (!all && iostat_ofp) in iostat_dump_stats()
225 fprintf(iostat_ofp, "\n"); in iostat_dump_stats()
230 if (iostat_ofp) { in iostat_check_time()