官术网_书友最值得收藏!

Chapter 4.  Quick Programming with Scripts and System Daemons

In the previous chapter, we dealt with native compilation and cross-compilation and saw that the C language is actually a must-know for an embedded developer; however, sometimes, it's better to use a script or an already written daemon to quickly solve a problem.

In this chapter, we're going to take a look at some common and useful system tools we can use in an embedded system to constantly execute a controlling/monitoring procedure. These kinds of software are usually called daemon. In Unix terminology, a daemon is a computer program that runs as a background process rather than being under the direct control of an interactive user, so they are perfect to execute a controlling/monitoring procedure. In this scenario, we're going to take a look at some existing daemons ready-to-use and that we can use to implement some repetitive and common tasks.

Then, we will look at how to install and use some common scripting languages in our embedded developer kits and how to solve a simple but real problem by writing the solution in different languages (we'll present PHP, Python, and Bash) in order to show you the differences between them and using a system daemon when required.

As a last step, we're going to show how an embedded developer can write an their own daemon in C or using a scripting language such as PHP, Python, and Bash. As for previous introductory chapters, experienced developers may decide to skip this chapter, but right now, it's should be quite clear that in any case, reading it might be really useful!

主站蜘蛛池模板: 民和| 呼伦贝尔市| 南乐县| 赫章县| 江源县| 巴楚县| 三穗县| 鄢陵县| 石嘴山市| 九寨沟县| 鄯善县| 武城县| 阿坝县| 大宁县| 衢州市| 汽车| 洞口县| 凤庆县| 乐业县| 土默特左旗| 新巴尔虎左旗| 华亭县| 湖南省| 民勤县| 白玉县| 高要市| 宁安市| 渭源县| 霍林郭勒市| 景宁| 闵行区| 湘阴县| 洛宁县| 宜春市| 冷水江市| 揭东县| 资阳市| 渝北区| 安多县| 洛宁县| 株洲县|