I have a simple SAM Linux/Unix script that when I attempt to run comes back with a scripting error. The return output is there (255965) but it's not being picked up or even seen. I have several other scripts like this which work fine using the same process but this one just doesn't pick up the value. Any thoughts?
Command Line:
perl ${SCRIPT}
Script Body:
$stat = `sudo /opt/vc/bin/getcntr -c natd.pinfo_shmem_free_entries -d vcgwnat.com`;
print "Message: $stat\n";
print "Statistic: $stat\n";
Scripting Error: Script does not contain the expected parameters or is improperly formatted. 'Statistic' missing.
Output: =====================================================
perl /tmp/APM_1422259766.pl
255965
Message:
Statistic: