If you wanna check the current position of joints, you can use this: lbr.getCurrentJointPosition() ( here, lbr is your robot name ). This command returns the JointPosition type values ( array of joint values)
and for joint torques: getExternalTorque()
These commands will give you the values every control circle
Hope it help you