-
Smithx10@bahamat any quick way to see how many CPU a triton DC has used / available?
-
bahamatSmithx10: The easiest way would be to sum unreserved_cpu from cnapi.
-
Smithx10I figured
-
Smithx10Thank you
-
Smithx10Awk to the rescue
-
otisi have a joyent-branded zone where i run a script from within cron. from time to time i get this: "sh: syntax error at line 1: `;;' unexpected". i don't have any "case" or ";;" in the scripts.
-
otiswhere could i look or how to debug it? shebang is /bin/bash
-
pjusticethe "at line 1" part is curious
-
otisyep. i already added -x, without any reasonable outcome
-
otis+ /opt/local/bin/curl -s -k -o /home/dnsgen/lock/domains.txt sk-nic.sk/subory/domains.txt
-
otis++ grealpath /home/dnsgen/bin/../conf/d.awk
-
otis+ /opt/local/bin/gawk -f /home/dnsgen/conf/d.awk
-
otissh: syntax error at line 1: `;;' unexpected
-
otisit only started very recently, PI joyent_20230309T001400Z, zone is 20161108T160947Z. i might want to upgrade the zone.