How to monitor the growth of a UNIX file

Article:HOWTO7831  |  Created: 2007-08-14  |  Updated: 2012-01-26  |  Article URL
Article Type
How To

How can I monitor the growth of a UNIX or Linux file?

The following command line script will show the growth of any file on a UNIX, Linux, or Macintosh file:


while [ true ]; do ls -la <path to file>; sleep 30; done

Legacy ID


Article URL

Terms of use for this information are found in Legal Notices