Information About Solid State Disk in Linux

Hello,
I have few HDD and SSD installed in my RHEL 5 server. I want to know which disk are SDD and which are HDD. What command should I use?
Thanks

smartctl -i /dev/sda

Monitoring Hard Drive Health on Linux with smartmontools | Random Bits

Manpage of SMARTCTL

Hello,
Thanks for answer. Don't we have some built in utility like hdparm or fdisk to get the information?

regards

Also realize that if you are using SSD with Linux, you may want to change the I/O scheduler on that volume to something like noop. There's no reason to try to queue based on head patterns when there's no head.