Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: AIX harddisk sum of storage

by Lotus1 (Vicar)
on Jul 22, 2018 at 20:20 UTC ( [id://1219054]=note: print w/replies, xml ) Need Help??


in reply to AIX harddisk sum of storage

my $space  = $SSH root\@$one for i in lspv | awk '{print \$1}';

It looks to me like everything past $SSH is going to be seen as barewords on this line. There is a lot being attempted so maybe the best approach is to simplify. Comment out two thirds of this code and get it working before adding in each line one at a time. For us to help you please show a complete program, using warnings and strict, and provide the warnings and errors you are seeing.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1219054]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others scrutinizing the Monastery: (3)
As of 2024-04-19 22:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found