Hello,
In Addition to the above commands you can get the required information with command "show modules", This will work on all the moduler switches.
The output will be like below:
SW2# show modules
Status and Counters - Module Information
Chassis: 2930M-24G JL319A Serial Number: XXXXXXXXXX
Slot Module Description Serial Number Status
----- ------------------------------------------ ---------------- ----------
SW2#