Hi list, Maybe someone can help me with this, I have two strange directory size calculating issues: I do a
my ( $rc2, $backupsizetrans ) = rexec( $backuphost, 'du -k ' . "$backupdir\/$backdir2" . ' |tail -1 |awk \'{ print $1 }\'' ); to get the size of a certain directory from another machine. In my test case, this results to 72KB. But if I check manually on the host via a local oracle:/backup>du -k MVSTADB_9.9.99.99_100504-112005 I get 68 KB size as a result. What's even more interesting, the du (Filesys::DiskUsage) says the directory has a local size of 69539 Bytes which, divided by 1024, results to 67.9091... . So I guess this all is some rounding issue!? If so, I would appreciate any hints how to best compare the sizes of two directories - one on the local machine, the other one via rexec - as exact as possible. Thanks in advance, Nora