I believe I am logged in as root - is there any way to tell?

I attempted to commit the partitioning, it stated it was successful, and after I clicked Ok, the PC locked hard and had to be rebooted.