![]() ![]() When python code become complex, it will burden CPU much. In case of uptime, very simple system load data are available in term of 1 minute average, 5 minutes average and 15 minutes summarized average.Īs mentioned above, simplifying python code is necessary because it should be executed quite often such as per each 5 seconds or 10 seconds. The iostat command provide in-depth system load information by separating user and system running queue jobs which are burdening CPU currently.īut it also unnecessarily complex to get current CPU load as prompt and intuitive manner. Top command is the most information rich and very detail data is available for immediately recognizing system load.īut it operating as iteration mode (displaying data continuously on screen) and information format is quite complex to extract only required CPU load data simply. There are diverse CPU load checking Linux commands are available such as top, iostat, sysstat, and uptime.Įach command has specific advantageous features in terms of information diversity and displaying data simplicity. Therefore, off-loading any indication functionality as much as possible to external hardware circuit will be reasonable as this service should be running all time and frequently such as per each 5 seconds.Īnd this circuit will add a little bit funny feature to headless running RPI. So this circuit is made to help immediately recognizing the real activity of CPU (maybe semi-real or near real manner) to execute currently applied system loads.Īlthough only python programming and much simpler circuit can support the same functionality, a little bit complex python codes will be required to simulate the sophisticate LED control logic required by this circuit.Īlso paradoxically increased complexity of python code will burden CPU more with increased system load.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |