hi all,
i have a script that is run via cron. the script calls vm_stat with an interval (which make it run forever - it is run as a background process) to collect data. (the vm_stat pid is saved.) when the data collection is done, vm_stat is killed using the saved pid. it all works great. but, when the kill is done, an informational mail is generated that simply states that a "kill" was done. if the script runs every 5 minutes, the mails pile up. how can i suppress the mails?
btw, i also tried "killall vm_stat". again, it works great but the informational mails are still generated.
any help would be appreciated.
thanx,
john
i have a script that is run via cron. the script calls vm_stat with an interval (which make it run forever - it is run as a background process) to collect data. (the vm_stat pid is saved.) when the data collection is done, vm_stat is killed using the saved pid. it all works great. but, when the kill is done, an informational mail is generated that simply states that a "kill" was done. if the script runs every 5 minutes, the mails pile up. how can i suppress the mails?
btw, i also tried "killall vm_stat". again, it works great but the informational mails are still generated.
any help would be appreciated.
thanx,
john