- or download this
use strict;
use warnings;
...
system_memory=`cat /proc/meminfo |grep -w MemTotal |awk '{print $2}'`
total_system_memory=$(echo "$system_memory * 1024" | bc -l)
- or download this
#!/usr/bin/perl -w
use strict;
...
my $command = "`cat /proc/meminfo |grep -w MemTotal |awk '{print $2}
+'`";--->line 9
ssh('user@hostname', $command);
- or download this
Use of uninitialized value in concatenation (.) or string at ./ssh.pl
+line 9.
ssh: hostname: Name or service not known
- or download this
#!/usr/bin/perl -w
use strict;
...
ssh("$user\@$hostname", "$command");
Host key verification failed.