Lines Matching refs:printf
136 printf("Basic task statistics\n"); in print_task_stats()
137 printf("---------------------\n"); in print_task_stats()
138 printf("%-25s%d\n", "Stats version:", s->version); in print_task_stats()
139 printf("%-25s%d\n", "Exit code:", s->ac_exitcode); in print_task_stats()
140 printf("%-25s0x%x\n", "Flags:", s->ac_flag); in print_task_stats()
141 printf("%-25s%d\n", "Nice value:", s->ac_nice); in print_task_stats()
142 printf("%-25s%s\n", "Command name:", s->ac_comm); in print_task_stats()
143 printf("%-25s%d\n", "Scheduling discipline:", s->ac_sched); in print_task_stats()
144 printf("%-25s%d\n", "UID:", s->ac_uid); in print_task_stats()
145 printf("%-25s%d\n", "GID:", s->ac_gid); in print_task_stats()
146 printf("%-25s%d\n", "PID:", s->ac_pid); in print_task_stats()
147 printf("%-25s%d\n", "PPID:", s->ac_ppid); in print_task_stats()
151 printf("%-25s%s", "Begin time:", ctime(&begin_time)); in print_task_stats()
153 printf("%-25s%d sec\n", "Begin time:", s->ac_btime); in print_task_stats()
155 printf("%-25s%llu usec\n", "Elapsed time:", s->ac_etime); in print_task_stats()
156 printf("%-25s%llu usec\n", "User CPU time:", s->ac_utime); in print_task_stats()
157 printf("%-25s%llu\n", "Minor page faults:", s->ac_minflt); in print_task_stats()
158 printf("%-25s%llu\n", "Major page faults:", s->ac_majflt); in print_task_stats()
159 printf("%-25s%llu usec\n", "Scaled user time:", s->ac_utimescaled); in print_task_stats()
160 printf("%-25s%llu usec\n", "Scaled system time:", s->ac_stimescaled); in print_task_stats()
162 printf("\nDelay accounting\n"); in print_task_stats()
163 printf("----------------\n"); in print_task_stats()
164 printf(" %15s%15s%15s%15s%15s%15s\n", in print_task_stats()
173 printf("CPU %15llu%15llu%15llu%15llu%15llu%15llu\n", in print_task_stats()
180 printf("IO %15llu%15llu%15llu\n", in print_task_stats()
184 printf("Swap %15llu%15llu%15llu\n", in print_task_stats()
188 printf("Reclaim%15llu%15llu%15llu\n", in print_task_stats()
194 printf("CPU %15llu%15.3f%15.3f%15.3f%15.3f%15.3f\n", in print_task_stats()
201 printf("IO %15llu%15.3f%15.3f\n", in print_task_stats()
205 printf("Swap %15llu%15.3f%15.3f\n", in print_task_stats()
209 printf("Reclaim%15llu%15.3f%15.3f\n", in print_task_stats()
215 printf("\nExtended accounting fields\n"); in print_task_stats()
216 printf("--------------------------\n"); in print_task_stats()
218 printf("%-25s%.3f MB\n", "Average RSS usage:", in print_task_stats()
220 printf("%-25s%.3f MB\n", "Average VM usage:", in print_task_stats()
223 printf("%-25s%llu MB\n", "Accumulated RSS usage:", s->coremem); in print_task_stats()
224 printf("%-25s%llu MB\n", "Accumulated VM usage:", s->virtmem); in print_task_stats()
226 printf("%-25s%llu KB\n", "RSS high water mark:", s->hiwater_rss); in print_task_stats()
227 printf("%-25s%llu KB\n", "VM high water mark:", s->hiwater_vm); in print_task_stats()
228 printf("%-25s%llu\n", "IO bytes read:", s->read_char); in print_task_stats()
229 printf("%-25s%llu\n", "IO bytes written:", s->write_char); in print_task_stats()
230 printf("%-25s%llu\n", "IO read syscalls:", s->read_syscalls); in print_task_stats()
231 printf("%-25s%llu\n", "IO write syscalls:", s->write_syscalls); in print_task_stats()
233 printf("\nPer-task/thread statistics\n"); in print_task_stats()
234 printf("--------------------------\n"); in print_task_stats()
235 printf("%-25s%llu\n", "Voluntary switches:", s->nvcsw); in print_task_stats()
236 printf("%-25s%llu\n", "Involuntary switches:", s->nivcsw); in print_task_stats()
240 printf("Linux task stats reporting tool\n" in print_usage()
297 printf("Either PID or TGID must be specified\n"); in main()