perl <<'EOF'
use strict;
use warnings;
use IPC::Open3;

sub run_command {
        my $command = shift;
        my($writer, $reader, $error);
        my $pid = open3($writer, $reader, $error, $command);
        my @content = <$reader>;
        return @content;
}

print "********************* Disk Usage **********************\n";
print run_command("df -h");
print "\n";
print "********************* Inode Usage *********************\n";
print run_command("df -ih");
EOF
