get-process

sara2000
sara2000 used Ask the Experts™
on
i am having problem of understanding get-process out put.
Get-Process | Select-Object -First 5
Which column we must be concerned with, is it NPM or PM or WS?
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
AlexSenior Infrastructure Analyst

Commented:
Sara,

Can you please rephrase your question, what are you actually trying to achieve?

NPM is "Non-paged memory"

PM is "paged memory"

and WS is your working set.

I mean, whhat are you wanting to find? WS is your working set memory.

Author

Commented:
The application is slow on the server so I want to know which process is taking too much resources? i get the meaning of PM,WS, NPM ,but they all have value.
Should i take WS as the reference and decide whichever process is taking too much WS then it has the problem?
.
AlexSenior Infrastructure Analyst

Commented:
Well, not really..... This is so far from a valid diagnostic tests it's not even worth doing.

When you say your application server is slow, what application, what hardware is it running on, is it virtual, is it hosting a website? If it's hosting a website is it using application pools. Do they need to be recycled. etc etc etc.

First thing is to use perfmon to actually monitor your memory and processor usage

https://onlinehelp.tableau.com/current/server/en-us/perf_collect_perfmon.htm

That's an ok start, I need to know more though.

Thanks

Alex

Author

Commented:
Alex,
I am aware of the performance Mon.
This is something i am trying get process info in a particular time.
you can execute get-process remotely on a server to find out what process is taking too much time and CPU.
Top Expert 2016
Commented:
Every process will take a certain amount of time and cpu/ram/disk resources.   Every computer has a limited amount of these resources. it could be the algorithm used i.e. bubble sort vs shell sort. In an application a common reference is that 10% of the code does 90% of the work, so you optimize the that 10% of the code.

Is this process taking longer than expected or longer under specific circumstances or does the time to perform the same amount of work jump all over the place?

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial