Killall command and examples in Linux

The Linux command line provides various commands to terminate the process. For example, the "kill" command can be used to kill a process by passing its PID as a parameter, and the "pkill" command takes a pattern as input and kills all matching running processes. However, there is a command 'kill', which exactly matches the ...

Posted by toledojimenez on Wed, 09 Mar 2022 14:56:35 +0100

The concept of process and the usage of exec

I Process concept 1. The difference between process and procedure? Uncompiled program ------------ executable program Program: a pile of programs to be executed GCC hello C - O hello (program is a static data) script Process: only when the program is loaded into the CPU and occupies resources, it can form a truly dynamic process by reacting t ...

Posted by faza on Wed, 09 Mar 2022 09:45:54 +0100

Linux server build project running environment

1. Server configuration 1. Reset the server password After purchasing a server (take Alibaba cloud as an example), a service will be generated in the server list. Click the server to enter server management (the interface may be different for different Linux versions). The default server initialization password is empty, so you need to set a ...

Posted by bogeyman on Wed, 09 Mar 2022 08:54:08 +0100

Using visual VM to remotely monitor the server status (graphical interface)

Using visual VM to remotely monitor the server status (graphical interface) Purpose: View the current tomcatcup, number of threads, and heap usage All threads can be viewed in the background if the current thread card is referenced View current GC status The stack and heap can be sampled to check memory overflow and other problems H ...

Posted by jcornett on Wed, 09 Mar 2022 06:44:17 +0100

nginx installation, security configuration and forwarding agent

  Nginx installation 1. Create a new user and group ngxuser:ngxuser groupadd ngxuser  useradd -m -g ngxuser ngxuser #-m automatically creates the home directory, - g specifies the group 2. Install dependent packages (nginx installation is installed by root user) The two covered by red do not need to be installed #Force all installation ...

Posted by nscipione on Tue, 08 Mar 2022 21:24:20 +0100

How does Dubbo service check parameters gracefully

1, BackgroundWhen the server provides interface services to the outside, whether it is providing HTTP interfaces to the front end or RPC interfaces to other internal servers, it often faces such a problem, that is, how to gracefully solve the verification of various interface parameters?In the early days, when making the HTTP interface provided ...

Posted by barrywood on Tue, 08 Mar 2022 03:08:54 +0100

Linux learning notes (17.9) -- processing the follow-up work of keys in the work queue

Work queue Soft interrupts run in the context of interrupts, so they cannot block and sleep. Tasklets are implemented with soft interrupts, and of course they cannot block and sleep. But what if a delay handler needs sleep or blocking? Never mind, the work queue will be as you want. The delayed task is called work, and its data structure is wo ...

Posted by jkrettek on Mon, 07 Mar 2022 22:37:57 +0100

Implementation of uploading / downloading OSS files for iOS Alibaba cloud object storage

In previous projects, resource files such as pictures and voice were directly uploaded to the server, and then processed and stored by the server. In this recent project, the server opens the OSS directly, and then the client uses it directly Alibaba cloud Provide upload and download functions to upload and download resources.Alibaba cloud The ...

Posted by ajcalvert on Mon, 07 Mar 2022 21:41:25 +0100

Framework technology -- Vue's webpack

Vue framework Vue3 Foundation: front end engineering, webpack, plugin, loader, Source Map Vue framework is the hottest front-end framework at present. In order to cooperate with springBoot framework to complete the construction of a complete project in the later stage, we have shared the knowledge of Vue, such as ES6 modularization ...

Posted by Jim from Oakland on Mon, 07 Mar 2022 16:31:02 +0100

leetcode questions: the second week

Catalogue of series articles leetcode: Week 1 leetcode questions: the second week Tip: after writing the article, the directory can be generated automatically. For how to generate it, please refer to the help document on the right preface leetcode questions: the second week Day 1 (breadth first search / depth first search) 1. Im ...

Posted by nyy2000 on Sun, 06 Mar 2022 13:39:06 +0100