[Wlug] inconsistent results with du and multiple arguments
Chuck Anderson
cra at WPI.EDU
Wed Jun 18 07:35:29 EDT 2008
On Wed, Jun 18, 2008 at 06:42:18AM -0400, Brett Russ wrote:
> Can anyone explain why du (which advertises the ability to evaluate N
> file/dir arguments) seems to only be accurate for the first provided
> argument? See the following:
>
> brett at spider:/> sudo du -smxc tmp
> 60 tmp
> 60 total
> brett at spider:/> sudo du -smxc tmp bin
> 60 tmp
> 1 bin
> 60 total
Try without the -m argument. You may be seeing round off error.
More information about the Wlug
mailing list