Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Ask HN: Lowest Number of Background Processes
2 points by kklisura on July 24, 2023 | hide | past | favorite | 4 comments
What is the lowest number of background processes/services/daemons that you can have on OS (OSX, Desktop linux, Windows) and still have a usable OS?



?? embedded/iot, customized[1], or stock OS??

?? does text display/command line only useage count as usable (vs. gui interface).

"Linux from scratch"[0] provides a way to experiement what what 'still have a usable OS' is.

IOT/ebmedded/customized OS (linux & windows) can be setup to act as a relay between local screen and remote server/cloud. There would be no backround processes/services/daemon on the local box.

--------

[0] : https://www.linuxfromscratch.org/

[1] : yocto : https://www.yoctoproject.org/


The answer is 1: init=/bin/bash.

https://unix.stackexchange.com/a/473252


Why not just compile bash as part of init.

0 backround processes, as long as bash comands that run as processes independent of terminal initiated from are also compiled into init & run in same process as a thread.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: