Skip to content
/ tsusu Public

proof of concept process manager written in zig (was rust)

License

Notifications You must be signed in to change notification settings

lun-4/tsusu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tsusu

proof of concept userland process manager

planned to superseed my use of pm2

notes

  • not ready yet
  • memory leaks to hell
  • not 1.0
  • not ready yet not ready yet not ready yet

installing

zig build-exe demo/periodic_message.zig
zig build

./zig-cache/bin/tsusu list
./zig-cache/bin/tsusu start test periodic_message

# implemented functionality
./zig-cache/bin/tsusu list
./zig-cache/bin/tsusu logs test
./zig-cache/bin/tsusu stop test

todo

  • unix sockets (pr'd support back to zig)

  • spawn program

  • signal support (will pr it back after the 39140 seasons of this anime)

  • finish this proof of concept

    • stop program
    • introspection into spawned process
      • see if it crashed
      • cpu/mem stats via procfs
      • get stdout/stderr of process, have logging
  • configuration of the daemon (daemon log levels, binding, etc)

  • nicer protocol maybe?

About

proof of concept process manager written in zig (was rust)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages