plambe / zabbix-nvidia-smi-multi-gpu

A zabbix template using nvidia-smi. Works with multiple GPUs on Windows and Linux.
Other
99 stars 54 forks source link

Script Bash #4

Closed Abolah closed 6 years ago

Abolah commented 6 years ago

Heyo,

I am having issue with the bash script you provide. It says get_gpus_info.sh: 23: get_gpus_info.sh: Syntax error: redirection unexpected

Can you help me fix it ?

plambe commented 6 years ago

Hi,

It seems you are using a different version of bash, or bash with different settings.

Can you give me more details about what distribution you are using and what customizations you have done, so that I can attempt to simulate the same conditions?

Abolah commented 6 years ago

The script is running on an ubuntu 16.04.4 LTS There is not much customization. I have 4 GTX1080 in it

plambe commented 6 years ago

Did you fix your issue? If you did, please feel free to share how.

zaheerabbas1988 commented 3 years ago

You are likely to face this issue on Ubunut. So instead of sudo sh ./get_gpus_info.sh use sudo bash ./get_gpus_info.sh