Skip Menu |
 

This queue is for tickets about the Net-Rexec CPAN distribution.

Report information
The Basics
Id: 57219
Status: new
Priority: 0/
Queue: Net-Rexec

People
Owner: Nobody in particular
Requestors: nora.hacker [...] stgkk.at
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



CC: "HACKER Nora" <nora.hacker [...] stgkk.at>
Subject: AIX du via rexec
Date: Wed, 5 May 2010 09:04:21 +0200
To: <bug-Net-Rexec [...] rt.cpan.org>
From: "HACKER Nora" <nora.hacker [...] stgkk.at>
Download (untitled) / with headers
text/plain 738b
Hi, I want to check the size of a directory on a remote machine but do not get the correct result: my ( $rc2, $backupsizetrans ) = rexec( $backuphost, 'du -k ' # KB, zum Berechnen . "$backupdir\/$backdir2" . ' |tail -1 |awk \'{ print $1 }\'' ); chomp($backupsizetrans); DEBUG("$fnc - Backupsizetrans 1: $backupsizetrans\n KB"); results to 72 KB, whereas the real directory size is 68 KB: oracle:/opt/app/oracle/oradata4/dumps>du -k MVSTADB_9.9.99.99_100505-085410 68 MVSTADB_9.9.99.99_100505-085410 oracle:/opt/app/oracle/oradata4/dumps>rexec hsr3s1p7 'du -k /backup/MVSTADB_9.9.99.99_100505-085410' 68 /backup/MVSTADB_9.9.99.99_100505-085410 Kind regards, Nora


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.