Raspberry Pi_Eng_19.3.1 “/proc” Folder and Process Information

19.3 “/proc” Folder and Process Information

On Linux, “/proc” directory is part of the operating system’s default directory and provides general information about the processes that the system manages. It provides a system-wide summary as well as detailed information on the individual process id. Here we briefly review the contents of the information in “/proc” directory.

19.3.1 Types of Information in “/proc” Folder

The following is the screen that display the contents of the “/proc” directory.

Raspberry Pi_Eng_19.1.2 Killing Process

19.1.2 Killing Process

If the current process is no longer needed, or if there is a problem with the progress of the process, you can terminate the processing of a specified particular process.

19.1.2.1 “kill” Command – Terminate Process Using PID

“kill” command tells the system to terminate the process running on the system.

Raspberry Pi_Eng_19.1.1 Checking System Status

19.1 CPU, Memory and Task

CPU and memory are the resources that the system has, and it is the task or process that uses these resources to perform the works specified by the user. Therefore, it is necessary to monitor the available resources in the system and the processes that are using resources at the present time to check whether there is a problem in the current work processing state.

19.1.1 Checking System Status

19.1.1.1 “top” Command – Check Main System Information

You can use the “top” command to check the overall status of the system.