1. ProTop Knowledge Base
  2. Advanced Alerting Configuration

Change the default df command used by ProTop (*nix only)

There are file systems I want to avoid ProTop monitoring, like NFS mounts or temporary file systems.

If you see alerts for file systems you don't want to monitor, you can change the default command ProTop uses to monitor them.

The df commands currently used by ProTop are shown in ProTop RT by using the "&" command key:

This command is used to produce the data you see in the Disk Free Space panel in ProTop RT by using the "D" command key:

These commands can be overridden temporarily in the lines inside the red box above to allow you to experiment.  Press the tab key to get to the df command line(s), change the command, press enter for the remaining fields on the screen, and then run the "D" command key to see the result. 

Once you have the command you like, you can make this command stick by updating the corresponding entry in your bin/localenv file. If you do not have a bin/localenv, copy it from bin/localenv.x.

Now uncomment and edit these lines, changing the parameters of the df command to match those that work for you.

# export DFCMD="df -px tmpfs"           # Alternative df command for disk info screens (Solaris, HPUX and AIX might need this) (use DISABLE to disable)
# export DFCMDI="df -pix tmpfs"         # Alternative df command for disk info screens inode info (currently only supported on Linux) (use DISABLE to disable)