Skip to content

Update README.md #6

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions 07-process-management/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -168,3 +168,18 @@ systemctl enable service-name

## Conclusion
Process management is crucial for system performance and stability. By using tools like `ps`, `top`, `htop`, `kill`, and `nice`, you can efficiently control and monitor Linux processes.


1. What is the difference between "ps aux" and "ps -ef"?

Ans: The "ps aux" shows you the memory utilisation it helps in knowing the memory utility of the process, but "ps -ef" does not show you the memory utilisation.

2. What is the difference between "kill" and "kill -9"?

Ans: "kill" is used to remove the process and "kill -9" is used to forcefully remove the process.

3. What is the difference between "service" and "process"? And can you convert a service into a process?

Ans: A "process" is an active instance of a program, whereas a "service" is a special type of process running in the background, and it starts at the time of booting of the server.

Yes you can convert a process into a service, but nowadays installation scripts such as application server and web server are starting thier application as processes.