shell script to check file size greater than 50M

Hi All,

OS:AIX 64 bits using korn shell.

Requirement:

shell script to check file size greater than 50M and send mail alert.

Thanks for your time!

Regards,

Are you joking? This is NOT a free script service. If you need assistance with something you are working on show what you have done, indicate the problem (errors) you are having. Someone may at that time want to assist you, but don't drop off your "Requirements" and expect a free solution.

Read the man page for find. Look at the -size operand.

Try learning with this example.

Shell script to watch the disk space

or check the RSCT Administration Guide - SA22-7889-10, basic resource monitoring.