Memory monitoring and sending alert mail to users in network using shell script

i m workiing on a shell script which may monitors network memory and send alert to user if it increase a threshold

what do you exactly mean by network memory, and why don't you post what you have so far?