Threads and processes

Process (process) thread (thread) folk understanding Processes focus on managing the allocation and scheduling of memory resources, and threads focus on using the CPU to run code Threading is equivalent to the number of pipelines in a factory, and the process is the product being produced on a certain pipeline. Process is the basic unit of allocating resources, and threads are the basic units of execution.。In a purely metaphorical way, if you look at the computer as a whole as a national budget, the process is all kinds of special budgets (education, defense, etc.), and the thread is a more...

Installation and unloading of Zabbix Agent

cmd /c “C:\zabbix\bin\win64\zabbix_agentd.exe -c c:\zabbix\conf\zabbix_agentd.win.conf -i”cmd /c “C:\zabbix\bin\win64\zabbix_agentd.exe -c c:\zabbix\conf\zabbix_agentd.win.conf -s” cmd /c “C:\zabbix\bin\win64\zabbix_agentd.exe -c c:\zabbix\conf\zabbix_agentd.win.conf -x”cmd /c “C:\zabbix\bin\win64\zabbix_agentd.exe -c c:\zabbix\conf\zabbix_agentd.win.conf -d” -c :Specify all locations of configuration files-i :Install client-s :Boot client-x :Stop client-d :Uninstall client

Ubuntu package system is broken

Text linkAn error occurred when installing the software and encountered the problem of damage to the package management system. Find solutions on askubuntu.First:sudo apt-get -f install There is no download to complete the file.Then: sudo apt-get updateThen:Repeat execution sudo apt-get -f install Until only the wrong package is left.Then:sudo dpkg —configure -aFinally, clear the cache.sudo apt-get clean ​

JAVA summary of basic knowledge 6 (one of object-oriented features: polymorphism)

> = On the left, run to see = right.   3,Static functions.     Compile time: refer to whether there are invocation members in the class of the referenced variable.     Runtime: it also refers to the members who are invoked in the class that the reference variable belongs to.     Why is this so?Because static methods do not belong to the object, but belong to the class that the method belongs to.     Invoking the static method reference is the static method in which class the reference is invoked.

Xargs of the linux——–find command

p.p1 { margin: 0.0px 0.0px 0.0px 0.0px; font: 18.0px "Hannotate SC"; color: #0433ff } p.p2 { margin: 0.0px 0.0px 0.0px 0.0px; font: 17.0px "Hannotate SC" } p.p3 { margin: 0.0px 0.0px 0.0px 0.0px; font: 17.0px "Hannotate SC"; min-height: 24.0px } span.s1 { } span.s2 { font: 18.0px "Hannotate SC"; color: #0433ff } span.Apple-tab-span { white-space: pre } Reference blog: findCommand xargs findThe difference between – exec and xargs in the command is that the find command passes all matched files together to exec for execution, but passes all matched files in batches to xargs for execution....

Overflow of CSS

Guide: Overflow attributes are generally used to hide elements beyond the div range, including four attributes: visible, hidden, scroll, and aotu. Of course, the usage of overflow.It’s not that simple to understand. We need to use overflow in many Web pages. This article introduces the four common attribute values of overflow and their use. According to the box model of CSS, every element in the page is a rectangular box. The size, location and behavior of these boxes can be controlled by CSS. For behavior, I mean when it changes inside and outside the box, how does it deal with it? For...