How to troubleshoot multithread deadlock?

When using multithreading for development, you will probably encounter deadlock problems. How to troubleshoot the deadlock problem has also become very important. In the first step, we can capture the information of the current program running stack through pstack. After multiple capture and comparison, we can find the deadlock. Next, you can ...

Posted by gpong on Sat, 14 May 2022 05:03:21 +0300

Linux common commands

1, Basic format of command command prompt [root@localhost~]# Of which: rootCurrent login userlocalhosthost name~Current directory#Prompt for superuser$Prompt for ordinary users Command format command [option] [parameter] ==Note: = = individual commands do not follow this format. When there are multiple options, they can be written t ...

Posted by lancia on Fri, 13 May 2022 23:53:07 +0300

Linux experiment notes txt

front Download information cd /home rm -f download rm -f teachers.ini rm -rf course wget --ftp-user=ftp --ftp-password=ftp --preserve-permissions ftp://47.119.161.215/* ./download zag 47.119.161.215 cd /home/course cat linux_exam.txt | grep 3119004122 ./upload 3119004122 47.119.161.215 ./getScore 3119004122 47.119.161.215 global repla ...

Posted by platnium on Fri, 13 May 2022 20:20:41 +0300

From catf1ag two-hour AK match PWN/ATTACK killing summary to common command guide of emergency response

Tip: after the article is written, the directory can be generated automatically. Please refer to the help document on the right for how to generate it preface Recently, I read more than half of the books on the practical guide to network security emergency response technology (Qianxin). I just encountered the PWN problem of killing on th ...

Posted by dewen on Fri, 13 May 2022 02:30:13 +0300

[linux kernel]start_ Early operation of kernel function

1, Opening (note) the source code of this article is based on the linux kernel version: 4.1.15. At start_ At the beginning of the kernel() function, two variables are defined: char *command_line; char *after_dashes; The first represents a pointer to the kernel command line, and the second is used to contain parse_ The result of th ...

Posted by spdwrench on Thu, 12 May 2022 22:35:06 +0300

System level programming

This class... Talks a little too much. It may be a little miscellaneous to sum up. 1, Complement the tail of process management. 2, Then process synchronization is introduced. 3, The pipeline communication between some processes is mentioned. I'll review and summarize one by one. Process management CLOSEOUT When the parent process creates a ...

Posted by lostsoul111455 on Thu, 12 May 2022 21:42:22 +0300

Based on Spring+SpringMVC+Mybatis distributed agile development system architecture source code sharing

Based on Spring+SpringMVC+Mybatis distributed agile development system architecture, it provides a complete set of public microservice service modules: centralized authority management (single sign-on), content management, payment center, user management (support third-party login), WeChat platform, storage system , configuration center, log an ...

Posted by njm on Thu, 12 May 2022 14:30:35 +0300

Linux network development tutorial 18_ Improvement of network communication framework

Question: how to expand the previous communication framework to support UDP communication and become a perfect network communication framework?UDP communication extensionOutline design of UDP communication entityEach UDP Point is peer-to-peer (because it is not necessary to initiate a connection actively), and can communicate through ip address ...

Posted by optik on Thu, 12 May 2022 13:51:43 +0300

Hadoop environment construction

Hadoop environment construction The download problem of hadoo and jdk: if it is downloaded to windows, it needs to be moved to the virtual machine. Just drag and drop to move files. If the drag and drop fails, you need to use remote connection software to complete the file upload, which is recommended here. Installation and use of MobaXterm: ht ...

Posted by PaulRyan on Thu, 12 May 2022 13:43:09 +0300

Shell command execution visualization and alerting tools

Sampler is a tool for shell command execution, visualization and alerting. Its configuration uses a simple YAML file. 1. Why do I need it? You can sample any dynamic process directly from the terminal - watch for changes in the database, monitor MQ in-flight messages, trigger deployment scripts and get notified when it's done. If there is a wa ...

Posted by jarriola on Thu, 12 May 2022 10:38:39 +0300