Is wind sock a instrument used to measure wind?

No. A wind sock gives wind direction but not wind speed.