https://github.com/elhmn/waking-proc
Unix process visualiser
https://github.com/elhmn/waking-proc
Last synced: 7 months ago
JSON representation
Unix process visualiser
- Host: GitHub
- URL: https://github.com/elhmn/waking-proc
- Owner: elhmn
- License: mit
- Created: 2024-02-02T11:18:19.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-26T09:52:54.000Z (over 1 year ago)
- Last Synced: 2025-02-05T10:22:14.986Z (8 months ago)
- Language: C
- Size: 22.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# waking-proc
Unix process visualiser
## Architecture
The project is composed of 3 main components:
- a C library that provides an API to interact with the system's processes
- a server written in C that will implement a TCP server that will provide process data to clients
- a Rust client that will connect to the server and display the process visualisationThe choice of languages is solely based on my current learning goals.
```mermaid
flowchart LR
A[Client or visualiser] --> B[Server]
B --> C[Library]
B --> A
```## How to run
### Library
The library is written in C and can be built using the provided Makefile.
running `make` will build the `libwaking-proc.a` library, that can be linked to any C or Rust program.```sh
cd lib
make
```### Server
The server has the `libwaking-proc.a` library as a dependency and can be built using the provided Makefile.
```sh
cd server
make
./waking-proc-server
```
### ClientThe client is written in Rust and can be built using cargo.
```sh
cargo run
```