Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Clear interface statistics

    Scheduled Pinned Locked Moved General pfSense Questions
    5 Posts 4 Posters 5.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • cmcqueenC
      cmcqueen
      last edited by cmcqueen

      I'd like to clear the interface statistics shown in the Status → Interfaces screen.

      In How to reset errors on Interface, it said to do:

      netstat -iz
      

      But that didn't do anything when I tried it.

      I'm using pfSense 2.4.5.

      1 Reply Last reply Reply Quote 0
      • NogBadTheBadN
        NogBadTheBad
        last edited by

        pfctl -z

        Andy

        1 x Netgate SG-4860 - 3 x Linksys LGS308P - 1 x Aruba InstantOn AP22

        M 1 Reply Last reply Reply Quote 0
        • M
          MoonKnight @NogBadTheBad
          last edited by

          @NogBadTheBad said in Clear interface statistics:

          pfctl -z

          Hi, that command doesn't work

          --- 24.11 ---
          Intel(R) Xeon(R) CPU D-1518 @ 2.20GHz
          Kingston DDR4 2666MHz 16GB ECC
          2 x HyperX Fury SSD 120GB (ZFS-mirror)
          2 x Intel i210 (ports)
          4 x Intel i350 (ports)

          1 Reply Last reply Reply Quote 0
          • RicoR
            Rico LAYER 8 Rebel Alliance
            last edited by

            pfctl -z clears the stats in Firewall Rules, not Interface statistics.

            -Rico

            1 Reply Last reply Reply Quote 1
            • RicoR
              Rico LAYER 8 Rebel Alliance
              last edited by

              AFAIK the Interface statistics are pulled from netstat counters and there is no way to reset them from the command line. The one and only way is to reboot.

              -Rico

              1 Reply Last reply Reply Quote 1
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.