Well I can't say that this was ever on a ship but I do think loaded with nails or shot it would have been quite helpful if you had to clear the decks. 
 
  
 It was originally a flint lock that was later converted to musket cap.
Total length is 30 inches 
Barrel is 16-1/2 inches 
Bore about 3/4 inch 
Robert