Had to pull plug, is there some way to check the disk?

My WDLive stopped responding to all network requests other than pings. I had to pull the plug on it. It was active at the time (logs indicate it was crawling media). It came up back fine, but is there some way to check I didn’t corrupt the disk?

FYI, the logs indicated the reason it stopped responding is it was out of RAM. I haven’t rebooted the think in over a year (maybe two), so maybe there is a memory leak or something.