Original Book Contents
19.3.3 Checking Each Process Information in “/proc//”
First, if you look up the process for program, there is PID “9223” process as below. The CMD entry for the process shows “/usr/bin/motion”.
Original Book Contents
19.3.3 Checking Each Process Information in “/proc//”
First, if you look up the process for program, there is PID “9223” process as below. The CMD entry for the process shows “/usr/bin/motion”.
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.
18.4.2 Remote Drive Connection Using SCP Program
SCP (Secure Copy) is a program that sends and receives files to and from a remote computer using SFTP or SCP protocol through SSH.
18.4.2.1 Installing/Enabling SSH server Program
This program basically assumes that SSH server of the remote computer is running. To do this, you must first enable the SSH server in the Raspberry Pi system. For details, see the description of [9.9.1 Enabling SSH].
18.4 Remote Drive Connection
18.4.1 Remote Drive Connection Using Program
18.4.1.1 Installing Server Program
The program allows you to use files of remote Raspberry Pi system as a network drive.
First, we install the program as shown below.
18.3.2 Desktop GUI connection Using VNC Program
VNC (Virtual Network Connection) is a connection method that connects to a remote computer from my local computer and provides the ability to control the computer at will as if it were my own computer.
VNC program consists of a VNC server and a VNC client, each of which interacts with each other remotely.
18.3 Remote Desktop GUI connection
18.3.1 Remote Desktop Connection Using Program
As a way to connect to Raspberry Pi system from MS Windows, you can use “Remote desktop connection” method which is used as standard when connecting to remote system from MS Windows.