Ways to kill parent and child processes in one command
On linux, kill a process is simple, but sometimes, when something goes wrong, a process could fork hundreds and thousands child processes, you can either create a script to kill them all, or find some quick ways to kill them all in one command.
Here is the ways I use, some of them may not work on all linux distributions.
1.kill a group of processes with negative PID(Process...
Thứ Ba, 30 tháng 10, 2018
Thứ Tư, 10 tháng 10, 2018
Apache Tomcat SSL Configuration
Configuring Tomcat To Use SSL
Setting up SSL for Tomcat can be pided into two main tasks: creating a functional keystore, and configuring the Tomcat connectors and applications. Let's tackle them one at a time.
PART I - The Keystore
Step 1 - Creating the Keystore
The keys Tomcat will use for SSL transactions are stored in a password-protected file called, creatively, the "keystore." The first step to enabling SSL on your...
Thứ Năm, 4 tháng 10, 2018
How to Flush Memory Cache and Buffer Cache on Linux
Many times systems faced low memory issues of Linux systems running a while. The reason is that Linux uses so much memory for disk cache is because the RAM is wasted if it isn’t used. Cache is used to keep data to use frequently by the operating system. Reading data from cache if 1000’s time faster than reading data from hard drive.It’s good for the os to get data from the cache in memory. But if any data not found in the cache,...
Đăng ký:
Bài đăng (Atom)