I'm trying to collect snapshots with NmpCore. I'm using the below command line.
NmpCore.exe /r /svc "Service Name" /cs1 /ac5 /rt /hu /iid /dt /sf "C:\Temp\DumpSession.prfsession"
I'm assuming this will take one snapshot after 5 minutes and exit, and save the snapshot to the DumpSession.prfsession file. Very little of this is working. It doesn't do anything after 5 minutes. I have to click the Collect snapshot button to take a snapshot. I then click the Stop profiling button and it asks me to save the session. I thought the /sf option would do that for me. So is something wrong or am I not understanding what the options do?
Also what are the NmpCore options necessary to get the same behavior as the High profiling level setting in the UI? I think I have most of them with the /rt /hu /iid and /dt options. Am I missing any?
Also in looking at a snaphost ran with the above, I'm not seeing the unmanaged memory usage as I do in the UI. Isn't that what the /rt option is supposed to do?
So you should use this command line instead:
Code: Select all
NmpCore.exe /r /cs1 /ac5 /rt /hu /iid /dt /sf "C:\Temp\DumpSession.prfsession" /svc "Service Name"
SciTech Software AB
Users browsing this forum: Bing [Bot] and 3 guests