{"id":3331,"date":"2022-12-20T17:02:21","date_gmt":"2022-12-20T20:02:21","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/ifstat-man8\/"},"modified":"2022-12-20T17:02:21","modified_gmt":"2022-12-20T20:02:21","slug":"ifstat-man8","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/ifstat-man8\/","title":{"rendered":"IFSTAT (man8)"},"content":{"rendered":"<h1 align=\"center\">IFSTAT<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#OPTIONS\">OPTIONS<\/a><br \/> <a href=\"#ENVIRONMENT\">ENVIRONMENT<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a><br \/> <a href=\"#AUTHOR\">AUTHOR<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">ifstat \u2212 handy utility to read network interface statistics<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<p style=\"margin-left:23%; margin-top: 1em\"><b>ifstat<\/b> [ <i>OPTIONS<\/i> ] [ <i>INTERFACE_LIST<\/i> ]<\/p>\n<p style=\"margin-left:23%; margin-top: 1em\"><i>INTERFACE_LIST<\/i> := <i>INTERFACE_LIST<\/i> | <i>interface<\/i><\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><i><b>ifstat<\/b><\/i> neatly prints out network interface statistics. The utility keeps records of the previous data displayed in history files and by default only shows difference between the last and the current call. Location of the history files defaults to \/tmp\/.ifstat.u$UID but may be overridden with the IFSTAT_HISTORY environment variable. Similarly, the default location for xstat (extended stats) is \/tmp\/.<xstat name>_ifstat.u$UID.<\/p>\n<h2>OPTIONS <a name=\"OPTIONS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>\u2212h, \u2212\u2212help<\/b><\/p>\n<p style=\"margin-left:22%;\">Show summary of options.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212V, \u2212\u2212version<\/b><\/p>\n<p style=\"margin-left:22%;\">Show version of program.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212a, \u2212\u2212ignore<\/b><\/p>\n<p style=\"margin-left:22%;\">Ignore the history file.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212d, \u2212\u2212scan=SECS<\/b><\/p>\n<p style=\"margin-left:22%;\">Sample statistics every SECS second.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212e, \u2212\u2212errors<\/b><\/p>\n<p style=\"margin-left:22%;\">Show errors.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212n, \u2212\u2212nooutput<\/b><\/p>\n<p style=\"margin-left:22%;\">Don\u2019t display any output. Update the history file only.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212r, \u2212\u2212reset<\/b><\/p>\n<p style=\"margin-left:22%;\">Reset history.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212s, \u2212\u2212noupdate<\/b><\/p>\n<p style=\"margin-left:22%;\">Don\u2019t update the history file.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212t, \u2212\u2212interval=SECS<\/b><\/p>\n<p style=\"margin-left:22%;\">Report average over the last SECS seconds.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212z, \u2212\u2212zeros<\/b><\/p>\n<p style=\"margin-left:22%;\">Show entries with zero activity.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212j, \u2212\u2212json<\/b><\/p>\n<p style=\"margin-left:22%;\">Display results in JSON format<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212p, \u2212\u2212pretty<\/b><\/p>\n<p style=\"margin-left:22%;\">If combined with <b>\u2212\u2212json<\/b>, pretty print the output.<\/p>\n<p style=\"margin-left:11%;\"><b>\u2212x, \u2212\u2212extended=TYPE<\/b><\/p>\n<p style=\"margin-left:22%;\">Show extended stats of TYPE. Supported types are:<\/p>\n<p style=\"margin-left:34%; margin-top: 1em\"><b>cpu_hits<\/b> &#8211; Counts only packets that went via the CPU.<\/p>\n<h2>ENVIRONMENT <a name=\"ENVIRONMENT\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>IFSTAT_HISTORY<\/b><\/p>\n<p style=\"margin-left:22%;\">If set, it\u2019s value is interpreted as alternate history file path.<\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>ip<\/b>(8)<\/p>\n<h2>AUTHOR <a name=\"AUTHOR\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">ifstat was written by Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">This manual page was written by Petr Sabata <contyk@redhat.com>.<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  ifstat \u2212 handy utility to read network interface statistics <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[5,52,460,4],"class_list":["post-3331","post","type-post","status-publish","format-standard","hentry","category-8-administracion-del-sistema","tag-5","tag-administracion","tag-ifstat","tag-man8"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3331","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=3331"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/3331\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=3331"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=3331"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=3331"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}