GNU General Public License v3.0

项目介绍

gsass1/NTop 是一个托管在 GitHub 上的开源项目,主要使用 C 编写,采用 GNU General Public License v3.0 许可证,目前获得 1.5k 个 Star、85 次 Fork。

仓库全名
gsass1/NTop
开源许可证
GNU General Public License v3.0
Star 数
1.5k
Fork 数
85
未关闭 Issue
39

README 摘要

NTop htop-like system-monitor with Vi-emulation for Windows. Because using Task Manager is not cool enough. NTop as in Windows NT-op or NukeTop. Whatever you prefer (the latter obviously). Installation Chocolatey Scoop Winget 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…

完整内容见 GitHub 原始 README 或本页 。

常见问题

NTop 用什么语言开发?

主要使用 C 编写,采用 GNU General Public License v3.0 许可证,目前有 1.5k 个 Star。

NTop 可以免费商用吗?

仓库标注的许可证为 GNU General Public License v3.0,商用前请先阅读仓库 LICENSE 文件确认授权范围。

如何获取 NTop 的源码?

可以直接克隆仓库:git clone https://github.com/gsass1/NTop.git,默认分支为 master;安装与运行步骤见仓库 README。

NTop 最近还在维护吗?

仓库最近一次更新为 2024年12月23日,当前有 39 个未关闭 Issue;Star 数为 1.5k,可作为社区活跃度的参考。

简要分析

热度分
1690
价值分
925
活跃状态
活跃

语言占比

Batchfile
C
CMake

Release

README

NTop

Latest Release License: GPL v3

htop-like system-monitor with Vi-emulation for Windows. Because using Task Manager is not cool enough.

NTop

NTop as in Windows NT-op or NukeTop. Whatever you prefer (the latter obviously).

Installation

Chocolatey

$ choco install ntop.portable

Scoop

$ scoop install ntop

Winget

$ 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 file. Follow link for example.

Building

Use CMake or use the build.bat file. Only tested with Visual Studio 2017.

$ 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).

评论

暂无评论