╔══════════════════════════════════════════════════════════════════════════╗
███████╗ ██╗ ██╗ ███████╗ ██╗ ████╗ ██╗ ███████╗ ██╗ ██████╗ ███████╗ ██████╗
██╔════╝ ╚██╗ ██╔╝ ██╔════╝ ██║ ████╗ ██║ ██╔════╝ ██║ ██╔══██╗ ██╔════╝ ██╔══██╗
███████╗ ╚████╔╝ ███████╗ ██║ ██╔██╗ ██║ ███████╗ ██║ ██║ ██║ █████╗ ██████╔╝
╚════██║ ╚██╔╝ ╚════██║ ██║ ██║╚██╗██║ ╚════██║ ██║ ██║ ██║ ██╔══╝ ██╔══██╗
███████║ ██║ ███████║ ██║ ██║ ╚████║ ███████║ ██║ ██████╔╝ ███████╗ ██║ ██║
╚══════╝ ╚═╝ ╚══════╝ ╚═╝ ╚═╝ ╚═══╝ ╚══════╝ ╚═╝ ╚═════╝ ╚══════╝ ╚═╝ ╚═╝
╚══════════════════════════════════════════════════════════════════════════╝
System Quering Tool
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
■ ANALYZING ■ MONITORING ■ OPTIMIZING ■
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
SYS_Insider is a comprehensive Python-based command-line tool designed for in-depth system analysis, monitoring, and optimization. It offers various functionalities to gain insights into your operating system, running processes, and network traffic in real-time.
[1] Nested Process Visualization: Get a clear, hierarchical representation of all running processes on your system.
[2] Real-time Process Monitoring: Continuously displays the top processes consuming the most CPU and memory resources.
[3] Operating System Details: Gathers detailed information about your OS edition, architecture, build number, and network adapter configurations.
[4] Real-time Traffic Analysis: Monitors and displays upload and download traffic for individual processes.
-
Python 3.x
-
psutil library
-
prettytable library
-
colorama library (for colored output)
-
scapy library (for network traffic monitoring - Note: scapy often requires Npcap or WinPcap on Windows for sniffing functionality.)
-
wmi library (for Windows-specific system information)
You can install the required Python libraries using pip:
pip install psutil prettytable colorama scapy wmiClone the repository:
git clone https://github.com/YazanAlJedawi/SYS_Insider.gitNavigate to the project directory:
cd SYS_InsiderRun the main.py script with different modes to access its functionalities:
python main.py [MODE]- sysinfo: Get system-wide information (OS details, network data).
python main.py sysinfo- proc-tree: Get a clear vision of all processes running on the system in a hierarchical manner.
python main.py proc-tree- proc-util: Get a refreshed feed on processes consuming the most system resources (CPU, MEM).
python main.py proc-util- proc-traffic: Get a refreshed feed on traffic (upload/download) running within processes.
python main.py proc-traffic- help: Shows the usage guide for the tool.
python main.py help-logo: Prints the tool's ASCII art logo.
python main.py logoSystem Information (sysinfo):
============================================================
OPERATING SYSTEM INFORMATION
============================================================
OS Edition : Microsoft Windows 10 Pro
Architecture : 64-bit
Build Number : 19045
Build Type : Multiprocessor Free
Organization : N/A
Total Memory : 15.93 GB
Free Memory : 7.23 GB
============================================================
COMPUTER SYSTEM INFORMATION
============================================================
System Name : YOUR_PC_NAME
System Type : x64-based PC
Status : OK
Physical Processors: 1
Logical Processors : 8
============================================================
NETWORK ADAPTER INFORMATION
============================================================
→ Network Adapter
----------------------------------------
Adapter : Realtek PCIe GbE Family Controller
Caption : [00000001] Realtek PCIe GbE Family Controller
MAC Address : XX:XX:XX:XX:XX:XX
IP Addresses : 192.168.1.100, fe80::xxxx:xxxx:xxxx:xxxx%X
Process Tree (proc-tree):
Nested Process Dictionary:
├── PID: 0, Name: System Idle Process, Children: 1
│ └── PID: 4, Name: System, Children: 2
│ ├── PID: 304, Name: smss.exe, Children: 0
│ └── PID: 372, Name: csrss.exe, Children: 0
├── PID: 568, Name: wininit.exe, Children: 1
│ └── PID: 616, Name: services.exe, Children: 1
│ └── PID: 628, Name: LsaIso.exe, Children: 0
...
There are a total of XXX processes in this processes dictionaryProcess Utilization (proc-util):
======================================================================
TOP 10 PROCESSES BY CPU UTILIZATION
======================================================================
+-------+--------------------+--------+-------+-------------+------------+
| PID | PNAME | STATUS | CPU% | NUM_THREADS | MEMORY(MB) |
+-------+--------------------+--------+-------+-------------+------------+
| 12345 | chrome.exe |running | 15.23%| 78 | 345.678 |
| 67890 | python.exe |running | 8.50%| 12 | 89.123 |
+-------+--------------------+--------+-------+-------------+------------+
(and so on for top 10 CPU processes)
======================================================================
TOP 10 PROCESSES BY MEMORY USAGE
======================================================================
+-------+--------------------+--------+-------+-------------+------------+
| PID | PNAME | STATUS | CPU% | NUM_THREADS | MEMORY(MB) |
+-------+--------------------+--------+-------+-------------+------------+
| 12345 | chrome.exe |running | 15.23%| 78 | 345.678 |
| 54321 | Code.exe |running | 2.10%| 50 | 210.500 |
+-------+--------------------+--------+-------+-------------+------------+
(and so on for top 10 memory processes)Process Traffic (proc-traffic):
Process Table:
+-------+--------------------+------------+------------+--------------+----------------+
| PID | Process Name | Upload | Download | Upload Speed | Download Speed |
+-------+--------------------+------------+------------+--------------+----------------+
| 12345 | chrome.exe | 1.23MB | 10.50MB | 12.30KB | 105.00KB |
| 67890 | Discord.exe | 500KB | 2.10MB | 5.00KB | 21.00KB |
+-------+--------------------+------------+------------+--------------+----------------+Contributions are welcome! Please feel free to open issues or submit pull requests.
Contact YazanAlJedawi: https://github.com/YazanAlJedawi
Y.