Processes and Processor
- Gerar link
- X
- Outros aplicativos
An important concept to be understood in terms of computing is that of processes and also what the processor is. The processor as they say is the brain of a computer and they say that because what it does is basically take the number 2 on one side, take another number 2 on the other side and be able to add these two values together and present you with the value 4, the processor does the calculation, it processes, it transforms.
An analogy would be a person making a cake, this person there kneading the dough, mixing the ingredients, measuring the ingredients, carrying out all the necessary process to make the cake, this person is the processor. The rest are values that are stored in some kind of memory, volatile or non-volatile, the cake ingredients would be values that are stored in memory.
Going a little further, it is worth bringing the idea of process, but before the process it is necessary to understand what a program is. A program in the context of the cake is the cake recipe, it is the set of instructions to be carried out to obtain the expected result, in this case the cake. But the recipe is static, a recipe closed and kept in a drawer is still a recipe or a "program".
Now, a process is a running program, a program when it is in action, the processor is working on this program and it is called a process. In the case of cake, it is when a recipe is being followed to obtain the expected result.
On Windows you can see the processes, which are running programs, through the task manager.
In Linux you can see the processes with the use of some commands like "ps" with its options, and it has "top".
In terms of processor, other issues need to be understood, such as cores, threads, hyperthreading and parallelism, but this is a subject for a later post.
Website: https://www.intelligencesoftware.com.br
Ads: https://ads.intelligencesoftware.com.br- Gerar link
- X
- Outros aplicativos
Comentários
Postar um comentário