Quantcast
Channel: THWACK: All Content - Server & Application Monitor
Viewing all articles
Browse latest Browse all 12281

Question about linux template

$
0
0

Hello,

 

I'm trying to create a template for a linux server but it's not working. In the template I'm trying to run the script below:

 

Script Arguments:

bash ${teste}

 

 

Script Body:

#!/bin/bash

memory=`free -m |grep Mem: |awk '{print $2}'`

echo $memory

 

 

But, I'm not getting any return in Output Result:.  Could anyone give me a little help to understand where is the mistake.

 

 

OBS1: The linux credentials are correct

OBS2: This script works well directly on linux.

 

[]s

Renato


Viewing all articles
Browse latest Browse all 12281

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>