Source code analysis of muduo Network Library: TimerQueue timing mechanism

Preface The first three chapters make the log part clear. From this chapter, start with TimeQueue and introduce Runinloop. In the next or next chapter, describe the event distribution mechanism of the entire muduo TimerQueue seems to be a troublesome class, but it's very simple. We can regard it as a ...

Posted by NTGr on Wed, 19 Feb 2020 22:55:17 -0800

linux foundation week 6

1. Self built yum warehouse, network source and local source respectively Steps to create yum warehouse: 1) mount Centos system CD to a directory or copy network resources to a directory 2) find the repodata directory, which is located in the upper directory of yum warehouse address (network sharing is required if creating a network warehouse ...

Posted by Nay on Wed, 19 Feb 2020 07:36:39 -0800

Network commands in linux

write explain Command name: write Command path / usr/bin/write Execute permission: all users Function Description: send information to the user, and save with Ctrl+D grammar Write < user name > Example # Send a message to tenentity write eternity [root@izm5e2q95pbpe1hh0kkwoiz ~]# write eternity write: eternity is logged in more than o ...

Posted by pdpullmn612 on Wed, 19 Feb 2020 04:49:04 -0800

Help commands in linux

Catalog man whatis apropos --help info help man explain Command name:man Command English original meaning:manual Command path: /usr/bin/man Execution rights: all users Function description: Get help information grammar man [command or configuration file] Example #View help for ls command man ls Page Down with Space Page Up U ...

Posted by Eiolon on Tue, 18 Feb 2020 18:47:48 -0800

Common commands for text processing tool grep

Grep is a powerful text search tool that searches for text using specific pattern matches, including regular expressions, and outputs matching lines by default.The grep family of Unix includes grep, egrep, and fgrep. Format Usage: grep [Options]...Mode [File]...Search mode in each file or standard input.By default, a pattern is a basic regular ...

Posted by Jeremias on Tue, 18 Feb 2020 08:38:17 -0800

Common text processing tools

Blog Outline:1) grep command2) cut command3) sort command4) uniq commands5) tee command6) diff command7) paste command8) tr command Note: Neither of the following tools will modify the source file, only output the results! 1) grep command grep is a powerful text search tool that uses regular expressions to search for text and print matching ...

Posted by quark76 on Tue, 18 Feb 2020 08:32:01 -0800

red hat Linux builds LAMP platform

Linux system, Apache, Mysql, PHP Ensure the existing development environment package before installing the configuration [root@localhost ~]# yum -y install pcre-devel zlib-devel links Turn off selinux and iptables [root@localhost ~]# vi /etc/selinux/config # Modify the configuration file and turn ...

Posted by falcon1 on Mon, 17 Feb 2020 22:51:48 -0800

How to get password from shell script without echo

I have a script that automates processes that need access to password protected systems. Access the system through a command-line program that accepts the user password as a parameter. I want to prompt the user to type their password, assign it to a shell variable, and then use that variable to build the command line of the accessor (which, ...

Posted by trampolinejoe on Mon, 17 Feb 2020 03:23:02 -0800

How to deal with the serious waiting of shared pool in oracle database under linux environment

Recently, many LINUX environment databases of multiple customers have serious wait related to shared pool during peak business hours, including the library cache lock /latch: shared pool wait event, which leads to slow feedback from business users and failure to establish new business connections. &n ...

Posted by Loryman on Sun, 16 Feb 2020 20:52:03 -0800

MyCat for MySQL Middleware

I. MyCat Basic Concepts 1. What is MyCat A thoroughly open source, large database cluster for enterprise application developmentTransaction enabled, ACID enabled, enhanced database that can replace MySQLAn enterprise database that can be considered a MySQL cluster to replace the expensive Oracle clusterA new type of SQL Server which combines ...

Posted by mike1313 on Sun, 16 Feb 2020 15:40:39 -0800