Script to report database home in unix

Hello:

I am trying to build a ksh shell script which would summarize space occupied by "product" directory under /u*/app/oracle
and summarize and report the total size occupied by it in one server.

Environment is this...

HP UNIX 11i

Korn Shell

some thing like

/u402/app/oracle/product
du -s /u402/app/oracle/product
24991150 /u402/app/oracle/product - A 
/u12/app/oracle/product
du -s /u12/app/oracle/product
12975244 /u12/app/oracle/product - B 
/u25/app/oracle/product
du -s /u25/app/oracle/product
11699776 /u25/app/oracle/product - C
 

Total size in MB ==> A+B+C
Some thing like this.
Regards,
Sammy

Not clear what you want but this gives the output you asked for:

du -h -s  /u*/app/oracle/product