How to view cpu, memory, hard disk and other hardware information under linux

Note: under Linux, you can see the details of each cpu in / proc/cpuinfo. But for a dual core cpu, you will see two CPUs in cpuinfo. It is often mistaken for two single core CPUs. Original address: http://www.hpboys.com/659.html I. linux CPU size [root@idc ~]# cat /proc/cpuinfo |grep "model name" && cat /proc/cpuinfo |grep "physical i ...

Posted on Fri, 01 Nov 2019 22:53:50 -0400 by manmadareddy

Stage 3: day18_ / 01 / 19 [TFTP]

1. TFTP Introduction (understanding) TFTP: simple file transfer protocol With this protocol, you can simply download files. The TFTP port number is 69. TFTP introduction: When the data received by the client is 516 (2-byte opcode + 2-byte serial number + 512 byte data), it means that ...

Posted on Fri, 01 Nov 2019 21:59:26 -0400 by nitroxman

Using docker and pipework to configure network card to make host and container ip in the same network segment

In this paper, Docker uses custom bridge Docker and defines the ip address of the container. By default, the Docker service creates a docker0 bridge, which connects other physical or virtual network cards in the kernel layer, which places all containers and local hosts in the same physical network. You can also specify ...

Posted on Fri, 01 Nov 2019 16:49:51 -0400 by artic

Silent mode of single instance installation of daydream database V7 on Linux platform

Preface When learning any application, the first step to understand it is usually to learn how to install and configure it, and then to care about how to use it. The same is true for learning Damin database, which provides a variety of installation methods. Next, we will introduce each installation method one by one. Damin database supports th ...

Posted on Fri, 01 Nov 2019 16:21:33 -0400 by joebudden

TCP and UART mutual conversion tool

As for the reception and transmission of QT TCP and UART, remote or local TCP can be converted into serial port signal control single chip microcomputer. 1. The program includes ui main interface and Qthread thread 1.1. Main interface header file widget.h 1.2. Main interface. C file widget.c ...

Posted on Fri, 01 Nov 2019 15:38:49 -0400 by Jocke

Quick download of JAVA large file compression

Quick download of JAVA large file compression Preface Before, it took about 7 minutes to download the 900M large / multi file compression, because there was no optimized code, and the code on the Internet could be copied and pasted directly. Later, because the demand required that the large file be do ...

Posted on Fri, 01 Nov 2019 15:19:29 -0400 by Conjurer

canvas implementation saves content beyond the screen

Canvas generating Curriculum The canvas is drawn and saved locally Brief introduction: first of all, to achieve the goal. so, above Because of the project requirements, the dynamic curriculum needs to be saved locally by clicking the Save button. Then, the idea of realization is: The canva ...

Posted on Fri, 01 Nov 2019 12:54:09 -0400 by ntbd

Switch common commands

host hostname configuration Switch#configure terminal Switch(config)#hostname S1 S1(config)# Disable dns query Switch#configure terminal Switch(config)#no ip domain-lookup vlan configuration Create vlan Switch(config)#vlan 2 Switch(config-if)#end Switch# vlan ip configuration Switch(config)#interface vlan 2 Switch(config-if)#ip address 192 ...

Posted on Fri, 01 Nov 2019 10:12:25 -0400 by moagrius

Python -- use of packages and logs

1. Use of package Time module is a py file with 200 functions. It has many functions. It is divided into three files. Time folder: time1 time2 time3py file. This time folder is called package. import from ... import ... Relative Import and absolute import 2. log Work logs are divided into four categories: System log: record some important in ...

Posted on Fri, 01 Nov 2019 01:56:51 -0400 by starvator

Android performance test - analysis tool

brief introduction The performance test we are talking about here is mainly about the CPU and memory occupation rate of the application. If the CPU and memory occupation rate is too high, it will lead to memory leakage, cause the application to crash, and affect the user experience. test method First of all, let's talk about the methods of p ...

Posted on Thu, 31 Oct 2019 23:54:15 -0400 by skoobi