Original Book Contents
19.3.3 Checking Each Process Information in “/proc/
First, if you look up the process for
Original Book Contents
19.3.3 Checking Each Process Information in “/proc/
First, if you look up the process for
19.3.2 Checking System Information in “/proc” Folder
The status information about the system as a whole is included below the “/proc” folder.
19.3.2.1 Information about CPU and Memory
In the “/proc” folder, you can see the CPU and memory related information for the entire system.
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.
19.2 Storage Device Monitoring
19.2.1 Checking Storage Device
19.2.1.1 “df” Command – Check File System Disk Space
You can use “df” command to check the overall disk storage usage status of the system.
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.
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.