Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gsass1/NTop
💻 htop-like system-monitor for Windows with Vi-keybindings.
https://github.com/gsass1/NTop
c console-application htop system-monitor top windows
Last synced: about 1 month ago
JSON representation
💻 htop-like system-monitor for Windows with Vi-keybindings.
- Host: GitHub
- URL: https://github.com/gsass1/NTop
- Owner: gsass1
- License: gpl-3.0
- Created: 2017-07-15T19:52:35.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2024-10-26T12:23:20.000Z (about 2 months ago)
- Last Synced: 2024-10-29T15:34:06.917Z (about 2 months ago)
- Topics: c, console-application, htop, system-monitor, top, windows
- Language: C
- Homepage:
- Size: 115 KB
- Stars: 1,225
- Watchers: 21
- Forks: 69
- Open Issues: 35
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# NTop
[![Latest Release](https://img.shields.io/github/release/Nuke928/NTop.svg)](https://github.com/Nuke928/NTop/releases/latest)
[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)htop-like system-monitor with Vi-emulation for Windows. Because using Task Manager is not cool enough.
![NTop](https://user-images.githubusercontent.com/4589491/56905702-3c3d5c80-6a90-11e9-991c-b7a398742614.PNG)
NTop as in Windows NT-op or NukeTop. Whatever you prefer (the latter obviously).
## Installation
### Chocolatey
```sh
$ choco install ntop.portable
```### Scoop
```sh
$ scoop install ntop
```### Winget
```sh
$ winget install gsass1.NTop
```## Usage
### Options
| Option | Meaning |
|:---|:---|
| `-C` | Use monochrome color scheme. |
| `-h` | Display help info. |
| `-p` PID, PID... | Show only the given PIDs. |
| `-n` NamePart, NamePart... | Show only processes containing at least one of the name parts. |
| `-s` COLUMN | Sort by this column. |
| `-u` USERNAME | Only display processes belonging to this user. |
| `-v` | Print version. |### Interactive commands
| Key(s) | Purpose |
|:---|:---|
| Up and Down Arrows, PgUp and PgDown, j and k | Scroll the process list. |
| CTRL + Left and Right Arrows | Change the process sort column. |
| g | Go to the top of the process list. |
| G | Go to the bottom of the process list. |
| Space | Tag a selected process. |
| U | Untag all tagged processes. |
| K | Kill all tagged processes. |
| I | Invert the sort order. |
| F | Follow process: if the sort order causes the currently selected process to move in the list, make the selection bar follow it. Moving the cursor manually automatically disables this feature. |
| n | Next in search. |
| N | Previous in search. |### Vi commands
| Command(s) | Purpose |
|:---|:---|
| `:exec` CMD | Executes the given Windows command. |
| `:kill` PID(s) | Kill all given processes. |
| `:q`, `:quit` | Quit NTop. |
| `/PATTERN`, `:search` PATTERN | Do a search. |
| `:sort` COLUMN | Sort the process list after the given column. |
| `:tree` | View process tree. |## Configuration
The color scheme can be customized through the [ntop.conf](ntop.conf) file. Follow link for example.
## Building
Use CMake or use the build.bat file. Only tested with Visual Studio 2017.
```sh
$ cmake . # For enabling Unicode support: cmake -DENABLE_UNICODE=ON .
```## TODO
* ~~Figure out buggy resizing.~~
* ~~View process tree.~~
* ~~Searching.~~
* Filtering.
* All of htop's command line options.
* At least the most important interactive commands (e.g. ~~following processes~~).