Powershell: new request : powershell equivalent of task manager

Created on 24 Apr 2019  路  6Comments  路  Source: PowerShell/PowerShell

Within a shell (Powershell) , how to show all info that show in GUI task manager. any cmdlet do that job ?

GUI:
task_manager

Expect PowerShell Version Work Like This
top

Issue-Question Resolution-Answered

All 6 comments

PowerShell's Get-Process (gps) displays a lot of this information. The .NET Process object has access to almost all of it, so if you want a different view you could write a formatter. Otherwise, on *nix platforms, top and htop are also excellent tools.

Hello @rjmholt , thanks , but within gps , can not see the overall resource usage , like cpu, memory and disk overall usage. it just shows the resource usage for single process.

Your best option is likely to create a new formatter. You could then add PowerShell calls to get total system resource usage and put them at the top.

if you want to explore the same data as TaskManager, PowerShell can help you to automate things.

If you want a fast C++ window top, check on github this project : NTop. This kind of tools takes all the console, so powershell or not, there is no difference at all. (except if the tool only works on cmd and has weird display in PS).

Hello @fmichaleczek ,
NTop it does a very cool tool , however it still missing something that I want , which is the disk usage for each process , I already raise a request for that feature under NTop project.

I am more prefer the official powershell-like NTop.

Closing this issue since it's out of scope for the PowerShell project. A feature like this would work better as its own module, since it would then work with older PowerShell versions too.

Was this page helpful?
0 / 5 - 0 ratings