java obtains server cpu, memory and other data through sigar

First, introduce the sigar package implementation 'org.fusesource:sigar:1.6.4' Secondly, Under windows environment, put the three files of sign-amd64-winnt.dll, sign-x86-winnt.dll and sign-x86-winnt.lib in the bin directory of jdk Or configuration under Windows: select sign-amd64-winnt.dll or ...

Posted by sfarid on Mon, 20 Jan 2020 17:18:10 +0100

1195. Alternate print string

Catalog 1. With a semaphore, in unrelated concurrency, you can use the semaphore as a flowing lock. It's better to use atomicinterger similar to cas spin 1. With a semaphore, in unrelated concurrency, you can use the semaphore as a flowing lock. It's better to use atomicinterger similar to cas spi ...

Posted by nemxu on Mon, 20 Jan 2020 10:27:30 +0100

A study of Netty

Introduction to Netty 1, Composition** 1.Bootstrap Netty applications set the start of the bootstrap class, which provides a container for application network configuration 2.Channel The underlying network transmission API must provide interfaces for I/O operations, such as read, write, connection, ...

Posted by captain_scarlet87 on Mon, 20 Jan 2020 04:00:28 +0100

Distribute keys in bulk and test for success

The process of completing a project is a project document. 1. Project demand analysis 2. Project implementation plan 3. Project implementation stage 4. Project acceptance test 5. Project sorting Report Remote service concept introduction: Remote service can download and transmit data remotely Using ssh ...

Posted by sun14php on Fri, 17 Jan 2020 04:46:13 +0100

Convolutional Neural Network for Python Deep Learning Experiment

Convolutional Neural Network Experimental environment keras 2.1.5 tensorflow 1.4.0 Experimental tools Jupyter Notebook Experiment 1: Handwritten Number Classification Experimental purpose Grayscale images of handwritten numbers (28 pixels by 28 pixels) are classified into 10 categories (0 ...

Posted by bbaassiri on Sun, 12 Jan 2020 02:03:57 +0100

Namespace and Pod in Kubernetes

1. Namespace 1) Overview of Namespace Namespace is an abstract collection of resources and objects that can be used, for example, to divide objects within a system into different project or user groups.Common pods, services, replication controllers, and deployments all belong to a namespace (default by default), whereas node, persistentVolumes ...

Posted by etingwall on Thu, 09 Jan 2020 20:15:22 +0100

Spring Boot with external Tomcat

In this article, I'll run the Spring Boot application on an external Tomcat.For me, this is a real situation and I have to solve this problem, so I also consulted a good teacher and got a lot of help.I hope you can provide some useful information when you encounter similar problems. Let's look at some common problems you might encounter when st ...

Posted by thestars on Thu, 09 Jan 2020 07:48:14 +0100

Vernacular takes you through Dubbo's stuff

First of all, this is not a code-based article. It is suitable for readers who want to have a better understanding of dubbo. The article is not too deep, but a series of points of knowledge are colluded to help readers learn something new from the past. Introduction to RPC Services Readers with some distributed development experience are confid ...

Posted by raw100 on Thu, 09 Jan 2020 04:25:38 +0100

HDU 2196 Computer (longest path of tree / diameter of tree)

At the beginning of learning tree dp, people defined this problem as a simple problem. When I finished learning the other two branches of purple book, I looked back and found that I couldn't help it. I ran two kinds of dfs. On this network, the ideas were clearly written, but I couldn't understand the code. So I ran to find kua ...

Posted by nickdd on Wed, 08 Jan 2020 16:37:41 +0100

Maintained + MySQL primary high availability

Maintained + MySQL primary high availability 1, Environment introduction: 10.1.1.174:23316 M1 10.1.1.237:23316 M2 2, Configure dual master: omitted. 3, keepalive installation [root@master1 ~]# cd /usr/local/src/ [root@master1 src]# wget https://www.keepalived.org/software/keepalived-2.0.17.tar.gz [root@master1 src]# tar -xf keepalived- ...

Posted by Syto on Tue, 07 Jan 2020 17:16:12 +0100