skip to main content

SAP NetWeaver Newbie

df and du show different results

The values shown by df and du can be different and in some cases the sizes may vary by a large amount.

df works with the file system, where as du works with the files.

When the OS processes are working with files, the files' contents are dynamically changing. The actual file size might change, but the meta information of the file (inode) will remain until the process is done with the file. The df command looks at information of the inode. du looks at the information of the actual file.

No comments:

Post a Comment

Email Subscription

Get every new post into your inbox by subscribing us.

Want a reason to subscribe?
1. This sitemap might convince you to subscribe.
2. We do not misuse email IDs. We respect privacy.

© 2008 - 2017 sapnwnewbie. All rights reserved.