How to know which binary generated obtained core dump?

Hello,

Suppose there are large number of binaries are executing on a system. Meanwhile, we find a dump, now how can we know from core dump that which binary file it is related to?

Thanks

---------- Post updated at 02:01 PM ---------- Previous update was at 01:53 PM ----------

I have got the answer please close this thread

This is OS dependant ( and you did not mention your OS...)... e.g. with HP-UX you can already have an idea by typing:

 file core