LinuxAlternative
nethogsLinux vs GlassWireWindows

nethogs como alternativa Linux ao GlassWire

Atualizado em

Nossa avaliação

Nethogs is a partial replacement for GlassWire, suitable only for users comfortable with the terminal. It covers real-time per-process bandwidth monitoring well, which is GlassWire's core visualization feature. However, it lacks firewall capabilities, historical data storage, and alerts. If you need to block apps or domains, nethogs cannot do that; you must combine it with iptables or nftables. For simple bandwidth monitoring on a server or desktop, it is lightweight and effective. For full GlassWire functionality, you need a stack of tools, not a single app.

Cobertura de recursos40%
Licença
GPL-2.0
Preço
Grátis
Versão mais recente
0.9.0
Avaliação
—

O que funciona igual

  • Real-time per-process bandwidth monitoring
  • Identifies which applications are using the network
  • Lightweight resource usage compared to GUI apps
  • Supports IPv4 and IPv6 traffic

O que muda

  • Command-line interface only, no graphical charts
  • No firewall or blocking capabilities for apps/domains
  • No historical data storage or usage graphs over time
  • No alerts or notifications for new connections
  • Requires root or set-uid permissions to run

Abrindo seus arquivos do GlassWire

Nethogs does not import or export data files. It is a live monitoring tool that does not store historical logs by default. There is no direct way to open GlassWire data files in nethogs. If you need historical data, you must log nethogs output to a file manually using shell redirection, but this is raw text, not a structured database like GlassWire.

Trocando o GlassWire pelo nethogs, passo a passo

  1. Install nethogs using your package manager (e.g., apt, dnf, pacman).
  2. Run nethogs with sudo to capture all network traffic.
  3. Identify high-bandwidth processes from the real-time list.
  4. Set up iptables or nftables rules to block specific IPs or ports if needed.
  5. Create a systemd service or cron job to log nethogs output for historical review.

Principais recursos do nethogs

  • Exibe largura de banda por processo
  • Atualizações em tempo real
  • Suporta IPv4 e IPv6
  • Pode agregar por interface
  • Executa como root ou com set-uid
  • Funciona em servidores headless
  • Sem dependências externas
  • Pode ser integrado com cron ou systemd

Como instalar o nethogs no Linux

Ubuntu / Mintsudo apt install nethogs
Debiansudo apt install nethogs
Fedorasudo dnf install nethogs
Arch / Manjarosudo pacman -S nethogs
openSUSEsudo zypper install nethogs

Perguntas frequentes

Can nethogs block internet access for specific apps?

No. Nethogs only monitors traffic. To block apps, you must use a firewall tool like ufw, iptables, or nftables in conjunction with nethogs to identify the process IDs.

Does nethogs keep a history of network usage?

No. It displays real-time data only. To keep history, you must redirect its output to a log file using shell commands, but it does not provide graphical historical views.

Is nethogs suitable for a typical home user who wants a simple GUI?

Probably not. The terminal interface has a steep learning curve for non-technical users. If you need a GUI for monitoring, consider tools like vnstat or NetHogs with a TUI wrapper, but for full GlassWire-like features, you may need a different solution.

Outras 3 alternativas ao GlassWire

Todas as alternativas ao GlassWire

Avalie o nethogs

Seja o primeiro a avaliar
É um bom substituto do GlassWire? 10