3 ms·
Ask HN: Lowest Number of Background Processes
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?
- gjvc 3y agomight be of interest: https://techcommunity.microsoft.com/t5/windows-blog-archive/running-windows-with-no-services/ba-p/723386 https://techcommunity.microsoft.com/t5/windows-blog-archive/...
- sargstuff 3y ago?? 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/ https://www.linuxfromscratch.org/ [1] : yocto : https://www.yoctoproject.org/ https://www.yoctoproject.org/
- JoeyBananas 3y agoThe answer is 1: init=/bin/bash. https://unix.stackexchange.com/a/473252 https://unix.stackexchange.com/a/473252
- sargstuff 3y agoWhy 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.