Lines Matching refs:printf

84         printf("Unable to open /proc/meminfo: %s\n", strerror(errno));  in get_mem_info()
92 printf("Empty /proc/meminfo"); in get_mem_info()
314 printf("%5s ", "PID"); in main()
316 printf("%5s ", "oom"); in main()
319 printf("%7s %7s %7s ", "WRss", "WPss", "WUss"); in main()
321 printf("%7s %7s %7s ", "WSwap", "WPSwap", "WUSwap"); in main()
323 printf("%7s ", "WZSwap"); in main()
327 printf("%8s %7s %7s %7s ", "Vss", "Rss", "Pss", "Uss"); in main()
329 printf("%7s %7s %7s ", "Swap", "PSwap", "USwap"); in main()
331 printf("%7s ", "ZSwap"); in main()
336 printf("%s\n", "cmdline"); in main()
357 printf("%5s ", ""); // pid in main()
359 printf("%5s ", ""); // oomadj in main()
362 printf("%7s %6" PRIu64 "K %6" PRIu64 "K ", in main()
365 printf("%8s %7s %6" PRIu64 "K %6" PRIu64 "K ", in main()
370 printf("%6" PRIu64 "K ", total_swap / 1024); in main()
371 printf("%6" PRIu64 "K ", total_pswap / 1024); in main()
372 printf("%6" PRIu64 "K ", total_uswap / 1024); in main()
374 printf("%6" PRIu64 "K ", total_zswap / 1024); in main()
378 printf("TOTAL for oomadj < %d (%6" PRIu64 "K)\n", *lmk_adj_it, *lmk_minfree_it / 1024); in main()
393 printf("%5d ", proc.pid); in main()
396 printf("%5d ", proc.oomadj); in main()
400 printf("%6zuK %6zuK %6zuK ", in main()
406 printf("%7zuK %6zuK %6zuK %6zuK ", in main()
418 printf("%6zuK ", proc.usage.swap / 1024); in main()
419 printf("%6zuK ", su.proportional / 1024); in main()
420 printf("%6zuK ", su.unique / 1024); in main()
426 printf("%6zuK ", zpswap / 1024); in main()
431 printf("%s\n", cmdline.c_str()); in main()
441 printf("%5s ", ""); in main()
444 printf("%5s ", ""); in main()
448 printf("%7s %7s %7s ", "", "------", "------"); in main()
450 printf("%8s %7s %7s %7s ", "", "", "------", "------"); in main()
454 printf("%7s %7s %7s ", "------", "------", "------"); in main()
456 printf("%7s ", "------"); in main()
460 printf("%s\n", "------"); in main()
463 printf("%5s ", ""); in main()
466 printf("%5s ", ""); in main()
470 printf("%7s %6" PRIu64 "K %6" PRIu64 "K ", in main()
473 printf("%8s %7s %6" PRIu64 "K %6" PRIu64 "K ", in main()
478 printf("%6" PRIu64 "K ", total_swap / 1024); in main()
479 printf("%6" PRIu64 "K ", total_pswap / 1024); in main()
480 printf("%6" PRIu64 "K ", total_uswap / 1024); in main()
482 printf("%6" PRIu64 "K ", total_zswap / 1024); in main()
486 printf("TOTAL\n"); in main()
488 printf("\n"); in main()
491 printf("ZRAM: %" PRIu64 "K physical used for %" PRIu64 "K in swap " in main()
496 printf(" RAM: %" PRIu64 "K total, %" PRIu64 "K free, %" PRIu64 "K buffers, " in main()