what port is being used?

I am having the 'Serial Port is greyed out' problem.
It does not seem to be a permission problem, because it is also greyed out when I run the IDE as root.

I'm using an Arduino UNO. When I plug it into my USB port, I get trhe lights. But I can't figure out which is being used.
I've tried

> dmesg | grep tty
[    0.000000] console [tty0] enabled

And...

> dmesg | grep UNO
>   {  got nothing }

So dmesg isn't showing anything like Arduino or UNO. What should I do? Thanks.

Ack, I figured it out. Was problem with the USB port. Another one worked fine

Did you check your device manager? Or, is the device driver for Arduino installed?