18

I installed an nginx server on Windows, then ran it and tested it by accessing it on the local host. However I want to see more details which I can see on a Linux environment when running the htop command (which gives details on the no. of worker processes running on the nginx server).

Does such command also exists on Windows?

jdgregson
  • 109
  • 5
Ashwani Tiwari
  • 279
  • 1
  • 2
  • 7

4 Answers4

25

You can try htop-alternative for windows - NTop https://github.com/Nuke928/NTop

Geograph
  • 351
  • 3
  • 3
  • 1
    This! If my CPU is burning and I'd like to know why - I need a CLI tool accessible from SSH session, not a GUI tool that requires me to RDP into the server first. And you can install it via `winget` which is a built-n package manager for Windows `winget install ntop` – jitbit Feb 15 '23 at 09:13
13

Microsoft Sysinternals Suite can do what you need, as quite easily found via the search engine of your choice.

Specifically Process Explorer

Lenniey
  • 5,220
  • 2
  • 18
  • 29
  • 7
    procexp doesn't have a cli viewer does it? – Jared Beach May 23 '18 at 14:49
  • Not that I'm aware of. But have a look at [this page](https://docs.microsoft.com/en-us/sysinternals/downloads/process-explorer#learn-more) – Lenniey May 23 '18 at 14:55
  • The diagram writes top CPU user process, just what I needed. – inf3rno Jan 25 '21 at 09:18
  • I remember sysinternals from before they were owned by Microsoft and it was just a labor of love for their developer who built them and gave them all away free. They're great tools. – thomasrutter Mar 01 '22 at 23:52
4

Nothing beats the look and familiar functionality of btop++ for Windows by aristocratos/btop4win. Plus, it's a breeze to install with just one scoop install btop command.

Vladan
  • 1,113
  • 1
  • 7
  • 6
2

Everything is built into Windows. Just go to task manager and click the different tabs. Especially the details tab to see processes etc.

You can also simply type "Get-Process" into PowerShell.

Here is more detail: Using the Get-Process Cmdlet

Reddy Lutonadio
  • 196
  • 1
  • 1
  • 8
Jimmie
  • 29
  • 2
  • 2
    Be aware that some shops run non-gui. – mckenzm May 22 '20 at 04:22
  • 1
    be aware, htop has SEVERAL features, that the Windows Task Manager does not have. Some examples: Setting I/O-Priority, Sending different Signals to a process other than SIGTERM and SIGKILL, Proper filtering, Tree View, Showing kernel-threads, showing process environment, list file locks. Selecting multiplce processes and applying the same settings simultaniously, selecting threads at all (e.g. to change priorities). (No exhaustive list of features I use htop for among other things, but comments are limited in size) – Pingger Shikkoken Jan 17 '23 at 15:00