Skip to content

Instantly share code, notes, and snippets.

@shadabshaukat
Created May 22, 2022 15:03
Show Gist options
  • Select an option

  • Save shadabshaukat/6bba38481585e151600f0d61f26be861 to your computer and use it in GitHub Desktop.

Select an option

Save shadabshaukat/6bba38481585e151600f0d61f26be861 to your computer and use it in GitHub Desktop.
Get_Lag_of_All_Processes
curl -X "POST" "https://pxxxxxxq.deployment.goldengate.us-ashburn-1.oci.oraclecloud.com/services/v2/commands/execute" \
 -H 'Content-Type: application/json' \
 -H 'Accept: application/json' \
 -u 'user:password' \
 -d $'{
 "name": "report",
 "thresholds": [
 {
 "type": "info",
 "units": "seconds",
 "value": 0
 },
 {
 "type": "critical",
 "units": "seconds",
 "value": 5
 }
 ],
 "reportType": "lag"
}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment