Hi Gleb
I have run your script even though hayne would not, it hangs at the disk section and outputs this-
name=Hardware Resources|Disks|Reads/sec,value=0
name=Hardware Resources|Disks|Writes/sec,value=
name=Hardware Resources|Disks|KB read/sec,value=
name=Hardware Resources|Disks|KB...