Skip to content

Instantly share code, notes, and snippets.

@gchait
Created December 14, 2025 18:23
Show Gist options
  • Select an option

  • Save gchait/33d582423267f68e92daca1af5a90358 to your computer and use it in GitHub Desktop.

Select an option

Save gchait/33d582423267f68e92daca1af5a90358 to your computer and use it in GitHub Desktop.
Sum the CPU time an Apache Spark Application took
curl -s https://xxx.yyy.com:18080/api/v1/applications/app-zzz-123/stages | \
jq '[ .[] | .executorCpuTime // 0 ] | add / 1e6'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment