You ought to know the mass and shape of the links for this. If you do not know these, try to use approximate shapes. 3D CAD softwares can help you calculate inertial properties provided you draw approximate shapes and specify the material uses.
I agree with Aftab, model your structure in one of the 3D modelling programs - Catia, NC, Inventor Solidworks... and there are functions to calculate the mass centre and the inertia tensor for a body fixed coordinate frame.
W. Xiu, L. Zhang, O. Ma, Experimental study of a momentum-based method for identifying the inertia barycentric parameters of a human body, Multibody Syst. Dyn