Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

linux high load send mail

max=3; load=$(cat /proc/loadavg | cut -d' ' -f1); [[ "${load%.*}" -ge "$max" ]] && mail -s "Load exceeded $max on $(hostname -s)" username@example.com
Comment

PREVIOUS NEXT
Code Example
Shell :: awk split a csv file based on column value 
Shell :: git schannel 
Shell :: godot mask over mask 
Shell :: bash similiar to choice in cmd 
Shell :: android studio comment linux 
Shell :: batch malware 
Shell :: youtube dl text tracked playlist download 
Shell :: virtuaboxl with kubernetes 
Shell :: execute a scheme program 
Shell :: windows mtesploit kali linux 
Shell :: how to install nginx on vbox on windows 10 
Shell :: curl command to create a saved search for a user in splunk 
Shell :: ansible use host file flag 
Shell :: initialize git on windows 
Shell :: rails adding directory to load path 
Shell :: see processes from other terminals 
Shell :: comprimir archivos con zip en linux 
Shell :: vim cd cant use variables 
Shell :: disk usuage 
Shell :: cp alternative with speed and progress 
Shell :: gjhkj 
Shell :: snap uninstall docker 
Shell :: type of file in terminal 
Shell :: deepstream boost jetson nano clock 
Shell :: install openvpn acces 2.5.2 
Shell :: serverless invoke sqs 
Shell :: github extension for solidity language 
Shell :: how to create reactportal in gatsby 
Shell :: wget code 
Shell :: ls print gigabyte 
ADD CONTENT
Topic
Content
Source link
Name
7+6 =