| Crates.io | whatuses |
| lib.rs | whatuses |
| version | 0.2.2 |
| created_at | 2025-12-30 22:20:43.249504+00 |
| updated_at | 2025-12-30 22:38:37.430388+00 |
| description | A simple CLI tool to find which process is using a file or port |
| homepage | https://github.com/kaskii/whatuses |
| repository | https://github.com/kaskii/whatuses |
| max_upload_size | |
| id | 2013495 |
| size | 32,265 |
A simple, cross-platform CLI tool to identify which processes are using a specific file or listening on a network port.
If you have Rust installed, you can install whatuses directly from source:
cargo install whatuses
Check the Releases page for pre-compiled binaries for Windows and Linux.
To see which processes are using a specific file:
whatuses C:\path\to\your\file.txt
Or explicitly using the --file flag:
whatuses --file C:\path\to\your\file.txt
On Linux:
whatuses /path/to/your/file.txt
To see which processes are listening on a specific port:
whatuses 8080
Or explicitly using the --port flag:
whatuses --port 3000
For more detailed logging:
whatuses 8080 --verbose
When enabled, verbose mode provides additional insights into the tool's operations, including:
svchost.exe on Windows).netstat-esr to map ports to PIDs./proc/[pid]/fd to find processes with open file descriptors.Note: On both platforms, some process information may require elevated privileges to access. If the tool does not find any processes when you expect it should, try running it with sudo (Linux) or as Administrator (Windows).
This project is licensed under the terms specified in the LICENSE file.