Windows Performance Statistics Physical Memory Usage

This example demonstrates how to create a formula that collects data reflecting private byte usage.

Example Code

`Get a reference to the local data archiver process object
Set RawProc = GetObject("winmgmts:Win32_PerfRawdata_Perfproc_process.name='ihDataArchiver.'")
`Scale the virtual bytes number to a value within
`the tag's EGU range
result =RawProc.PrivateBytes *.001