Skip to content

NetScope is a powerful network and process monitoring tool inspired by `top` and `netstat`. It allows you to view established connections, listening connections, running processes, and interact with the processes, such as killing them.

License

Notifications You must be signed in to change notification settings

yodabytz/netscope

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NetScope 2.0.04

NetScope is a powerful network and process monitoring tool inspired by htop and netstat. It allows you to view established connections, listening connections, running processes, and interact with the processes, such as killing them. The tool is designed to be user-friendly and efficient, providing detailed information about your system's network and process activity.

Features

  • Established Connections: View all established network connections.
  • Listening Connections: View all listening network connections.
  • Both: View both established and listening connections side-by-side.
  • Running Processes: View and interact with running processes. Highlight and kill processes using simple keyboard controls.
  • Process Search: Press 's' to search for running processes using wildcards, and 'n' to navigate to the next match.
  • Smooth Scrolling: Efficient and smooth scrolling through lists of connections and processes.
  • Interactive Commands: Navigate and interact with the application using intuitive keyboard commands.
  • Mac OSX Support: This latest version now has Mac OSX support but needs sudo (Tested on Intel Chip).
  • Enhanced System Info: Displays detailed system information including OS, Host, Kernel, Uptime, Packages, Shell, Resolution, Terminal, CPU, GPU, and Memory.

Requirements

  • Python 3.x
  • psutil library
  • curses library

Screenshot

NetScope 1.0

Installation Steps

  1. Clone the Repository:

    git clone https://github.com/yodabytz/netscope.git
    cd netscope
  2. Install Dependencies:

    pip install psutil
  3. Create Directories and Move Files:

    sudo mkdir -p /etc/netscope
    sudo cp ascii_art.py /etc/netscope/
  4. Move the Script to /usr/bin:

    sudo cp netscope.py /usr/bin/netscope
    sudo chmod +x /usr/bin/netscope
    For Mac OSX, put in /user/local/bin

Usage:

Run the tool by typing:

netscope
netscope -d <seconds>
netscope -h
netscope -v

Controls:

- Enter or Return: Select a menu option.
- q: Quit the application from any screen.

Established and Listening Connections Screens:

- Up/Down Arrows or k/j: Scroll through the list of connections.
- Left Arrow or Backspace: Return to the main menu.
- q: Quit the application.

Both Connections Screen:

- Tab: Switch between Established and Listening sections.
- Up/Down Arrows or k/j: Scroll through the connections in the active section.
- Left Arrow or Backspace: Return to the main menu.
- q: Quit the application.

Running Processes Screen:

- Up/Down Arrows or k/j: Scroll through the list of processes.
- k: Kill the selected process.
- s: Search for a process using wildcards.
- n: Find the next match for the search term.
- Left Arrow or Backspace: Return to the main menu.
- q: Quit the application.

License:

This project is licensed under the MIT License. See the LICENSE file for details.

Author:

NetScope 2.0 is developed by Yodabytz.

Contributions and feedback are welcome!

About

NetScope is a powerful network and process monitoring tool inspired by `top` and `netstat`. It allows you to view established connections, listening connections, running processes, and interact with the processes, such as killing them.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages