ncabatoff / process-exporter

Prometheus exporter that mines /proc to report on selected processes
MIT License
1.72k stars 270 forks source link

zsh: exec format error: ./process-exporter #269

Closed anmolbhatia05 closed 1 year ago

anmolbhatia05 commented 1 year ago

I downloaded the following release - https://github.com/ncabatoff/process-exporter/releases/download/v0.7.10/process-exporter-0.7.10.linux-arm64.tar.gz

On trying to run the executable binary by ./process-exporter, I am getting the following error -

zsh: exec format error: ./process-exporter

Using file command on process-exporter -

file process-exporter
process-exporter: ELF 64-bit LSB executable, ARM aarch64, version 1 (SYSV), statically linked, Go BuildID=oiuLaTBlX2BUFsRFVGXj/KVdXth3yrBWDl_kySkAB/0Bznla5eMi-t1ILj9Ars/5KIwJpOSRIOpBL887mPr, stripped

My CPU architecture is -

uname -m
arm64

Can you help me please ?

anmolbhatia05 commented 1 year ago

Issue was the I was trying to run linux arm64 on mac arm64