Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    How to watch disk usage and send mail in pfSense.

    Scheduled Pinned Locked Moved General pfSense Questions
    5 Posts 2 Posters 1.2k Views 2 Watching
    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.
    • U
      ucribrahim
      last edited by

      Hi,

      I wrote a blog post about how to watch disk usage of pfsense and when disk usage become greater than 90%, I send mail to user that the user will be aware that the pfsense disk usage at critical point and user needs to work on it to make disk works again before system get crashed.

      https://lifeoverlinux.com/how-to-watch-disk-usage-and-send-mail-in-pfsense/

      1 Reply Last reply
      Reply Quote 0
      • JKnottJ
        JKnott
        last edited by

        What are you doing that would cause disk usage to grow so much?

        PfSense running on Qotom mini PC
        i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel 1 Gb Ethernet ports.
        UniFi AC-Lite access point

        I haven't lost my mind. It's around here...somewhere...

        U 1 Reply Last reply
        Reply Quote 0
        • U
          ucribrahim @JKnott
          last edited by ucribrahim

          @jknott Well, you can find the +500MB (define size) files on your pfsense file system by using find command like this.

          pfsense# find / -type f -size +500M
          

          Actually "find" command would be fine to find big files on your pfsense. That's all I would do to find big files on my system.

          Also the following command will show you human readable size of txt file

          du -sh filename.txt
          
          1 Reply Last reply
          Reply Quote 0
          • JKnottJ
            JKnott
            last edited by

            I did and nothing showed up. With something like a firewall, there shouldn't be such an increase in disk usage, as you might get with a regular computer. Maybe you should try finding out where those large files are coming from.
            .

            PfSense running on Qotom mini PC
            i5 CPU, 4 GB memory, 32 GB SSD & 4 Intel 1 Gb Ethernet ports.
            UniFi AC-Lite access point

            I haven't lost my mind. It's around here...somewhere...

            U 1 Reply Last reply
            Reply Quote 0
            • U
              ucribrahim @JKnott
              last edited by

              This post is deleted!
              1 Reply Last reply
              Reply Quote 0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              • First post
                Last post
              Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
              Privacy Policy · Cookie Policy