stderr from disk space script on latest version #785
Unanswered
michaelc95
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Any idea what's wrong? This stderr comes up in my logs every time the disk script runs. It seems to identify the disk space properly on my remote archive server.
2021-06-13T21:32:52.483100+00:00: stdout from disk space script:$(echo "$ {site_root_stripped}" | sed
2021-06-13T21:32:52.483455+00:00: /plots/plot1:8630918868992
2021-06-13T21:32:52.483575+00:00: /plots/plot2:7753465384960
2021-06-13T21:32:52.483680+00:00: /plots/plot3:9494685663232
2021-06-13T21:32:52.483779+00:00: /plots/plot4:9277155532800
2021-06-13T21:32:52.483876+00:00: /plots/plot5:8841738915840
2021-06-13T21:32:52.483972+00:00: /plots/plot6:9059262705664
2021-06-13T21:32:52.484067+00:00: /plots/plot7:9603852005376
2021-06-13T21:32:52.484160+00:00: /plots/plot8:8732903391232
2021-06-13T21:32:52.484254+00:00: /plots/plot9:9495085436928
2021-06-13T21:32:52.484347+00:00: /plots/plot10:9821262995456
2021-06-13T21:32:52.484441+00:00: /plots/plot11:9603620814848
2021-06-13T21:32:52.484537+00:00: /plots/plot12:9277029691392
2021-06-13T21:32:52.484646+00:00: /plots/plot13:8841739071488
2021-06-13T21:32:52.484746+00:00: /plots/plot14:9712368783360
2021-06-13T21:32:52.484842+00:00: /plots/plot15:9385768267776
2021-06-13T21:32:52.484936+00:00: /plots/plot16:9821323317248
2021-06-13T21:32:52.485032+00:00: /plots/plot17:8623991828480
2021-06-13T21:32:52.485126+00:00: /plots/plot18:8841923264512
2021-06-13T21:32:52.485221+00:00: /plots/plot19:12625082966016
2021-06-13T21:32:52.485316+00:00: /plots/plot20:13931072172032
2021-06-13T21:32:52.485409+00:00: /plots/plot21:14583747133440
2021-06-13T21:32:52.485505+00:00: /plots/plot22:14366350557184
2021-06-13T21:32:52.485599+00:00: /plots/plot23:14039650648064
2021-06-13T21:32:52.485694+00:00: /plots/plot24:14257322467328
2021-06-13T21:32:52.485787+00:00: /plots/plot25:9059677659136
2021-06-13T21:32:52.485920+00:00: /plots/plot26:10365434740736
2021-06-13T21:32:52.486021+00:00: /plots/plot27:14257519652864
2021-06-13T21:32:52.486120+00:00: /plots/plot28:14366157533184
2021-06-13T21:32:52.486226+00:00: /plots/plot29:13495673532416
2021-06-13T21:32:52.486321+00:00: /plots/plot30:14583713288192
2021-06-13T21:32:52.486416+00:00: /plots/plot31:9930071207936
2021-06-13T21:32:52.486509+00:00: /plots/plot32:10147750993920
2021-06-13T21:32:52.486603+00:00: /plots/plot33:10474343546880
2021-06-13T21:32:52.486698+00:00: /plots/plot34:10474301026304
2021-06-13T21:32:52.486793+00:00: stderr from disk space script:
2021-06-13T21:32:52.486893+00:00: site_root_stripped=$(echo "${site_root}" | sed 's;/+$;;')
2021-06-13T21:32:52.486991+00:00: ++ echo /plots
2021-06-13T21:32:52.487085+00:00: ++ sed 's;/+$;;'
2021-06-13T21:32:52.487181+00:00: + site_root_stripped=/plots
2021-06-13T21:32:52.487276+00:00: # printf with %.0f used to handle mawk such as in Ubuntu Docker images
2021-06-13T21:32:52.487369+00:00: # otherwise it saturates and you get saturated sizes like 2147483647
2021-06-13T21:32:52.487463+00:00: ssh -p "${ssh_port}" "${user}@${host}" "df -aBK | grep "
's;/+$;;')/" | awk '{ gsub(/K$/,"",$4); printf "%s:%.0f\n", $6, $41024 }'"
2021-06-13T21:32:52.487562+00:00: ++ echo /plots
2021-06-13T21:32:52.487658+00:00: ++ sed 's;/+$;;'
2021-06-13T21:32:52.487750+00:00: + ssh -p 22 michael@seagull 'df -aBK | grep " /plots/" | awk '''{ gsub(/K$/,"",$4); printf "%s
:%.0f\n", $6, $41024 }''''
Beta Was this translation helpful? Give feedback.
All reactions