I want to write a VB script that will return the current memory utilisation of a process on a remote machine.
I’m currently getting the info by greping the output of pslist.exe but that’s not ideal.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Could you use Win32_Process. WorkingSetSize?
When I ran this on my local system the WorkingSetSize looked equivilent to the Bytes of mem usage. So you’d divide by 1024 to get Kb.