Category Archives: Linux

Shell: Terminating Long-Running Processes


I’m sure everyone has had the experience of a server process that was created by some developer and continues to run indefinitely without ending. This script comes in handy in such situations. When you schedule it to run regularly with tools like crontab, it will terminate these seemingly never-ending processes for you. It’s similar to scripts like Terminating Excessive Apache (httpd) Child Processes and Listing Process Execution Directories.

Continue reading Shell: Terminating Long-Running Processes

VirtualBox: Find Host IP Address from the Guest Machine (Linux) in NAT Connection


I wrote the way to check host machine IP address from VirtualBox guest machine connected as NAT. Substantially speaking, it is the gateway address of the guest machine.

History

When I launched Kotlin API server in Host, Windows, and Launched Rails Web application in Guest Linux, I needed to know the host machine IP address for accessing to the API.

Continue reading VirtualBox: Find Host IP Address from the Guest Machine (Linux) in NAT Connection