Lot of dump files are created and filling up our file system.
( i.e. /Aix/app/clone1/heapdump659904.1188950424.txt, Aix/app/clone2/heapdump87878.88798.txt) . We got an alert that the filesystem was full and saw there were heapdumps from a few months ago that we didn't know about. It would be good if we could setup a job to scan these app directories nightly and send an email when a heapdump is created.
our directory structure is like this
Aix/app/clone1/heap************
Aix/app/clone2/heap************
i need a script which scan this directory and send me the mail regarding the heapdump file created.