NVIDIA Interview Question

write python code to gather os metrics