What do you mean 'linux gets frozen'? I literally can't remember the last time a linux box froze on me. As others said, I would just reboot it now and let fsck pick up the pieces.
That's going to be faster than the time spent to search google for the magic incantation.