[18] Results

Golang : Get hardware information such as disk, memory and CPU usage

golang cpu-usage cross-platform system-process-status operating-system

For this tutorial, we will learn how to extract hardware level information with Golang. Accessing hardware level information such as….... read more

Golang : Check from web if Go application is running or not

golang running status

When we run some processes in the background to perform certain tasks and it would be a good idea to….... read more

Golang : Get own process identifier

golang getpid process-identifier

There are times when developer needs to know the own process identifier(PID) of the executing program during runtime. This is….... read more

Quicker ways to access OS X System Preferences

mac-os-x system-preferences

There are many options available in the System Preferences that allows customisation of your OS X. However, there are times….... read more

Golang : Intercept and compare HTTP response code example

golang http status-code

Problem :

You want to query a website and intercept the response code. You also want to compare the response….... read more

Golang : How to run Golang application such as web server in the background or as daemon?

golang nohup daemon background-process

Problem :

You have completed your Golang program and want to run it as a background process or daemon. For….... read more

How to automatically restart your crashed Golang server

golang restart-server supervisord monitor-application-status


You need to restart your Golang(or any programming languages) server application after reboot. Also, you need to monitor your….... read more

Golang : Daemonizing a simple web server process example

golang daemon background process pid syscall


You use the previous tutorial on how to put your Golang program into background but somehow found….... read more