Find the answer to your Linux question:
Results 1 to 1 of 1
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Flush stat cache

    I need to regularly check the fill state of a tmpfs via df. However, I experienced that the answer of df is not always up to date. As far as I know df uses stat to compute the fill state of a device. Now my question is, is there a way to flush the cache that is used by stat in order to get an up to date answer from stat?
    Last edited by pilsoft; 01-16-2012 at 09:13 AM. Reason: typo

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts