In send_alert "CPU" 85, what do $1 and $2 represent inside send_alert()?
send_alert "CPU" 85
$1
$2
send_alert()
$1 is the threshold and $2 is the resource name.
$1 is the resource name and $2 is its current usage percentage.
$1 is CPU usage and $2 is memory usage.
$1 is the script name and $2 is the process ID.