To locate pit & hollow.

Hi there,

What's the command to locate pit and hollow from raster dem data, and how can I eliminate this pits and hollow.

Thanks for any help,

Cheers,
Kamarul