1. Understanding of Ring Buffer1) The ring buffer is the end-to-end buffer, which is similar to the life of the circular runway;2) free space + data space =ring buffer size3) ring buffer Read and write, similar to life in the round track Chase game,
I. I/O redirection:System settingsDefault output device: Standard output, STDOUT, 1Default input device: standard input, STDIN, 0Standard error Output: STDERR, 2Standard input: KeyboardStandard output and Error output: DisplayRedirect to change the
1) How to generate coredump files?Log on to the LINUX server and type anywhereecho "ulimit-c 1024x768" >>/etc/profileLog out of Linux and re-login LinuxType Ulimit-cIf 1024 is displayed then the coredump has been turned on.1024 limit the size of the
Mobile sister, your installation method can be tested before sharing out, this is a very irresponsible sharing attitude!Here's what I did 2 hours later:1 ) will jdk-8u45-linux-i586.tar.gz copied to /opt/sinoknots/ below the directory, if the folder
First, Introduction Vim is a kind of vi-like text editor, but on the basis of VI added a lot of new features, Vim is generally respected as the best of the Class VI editor, in fact, the real enemy from the different variants of Emacs. 1999 Emacs was
System Invocation OverviewA system call , as the name implies, is a set of "special" interfaces that the operating system provides to user program calls. This "special" interface can be used by the user program to obtain the services provided by the
Blocking and non-blocking are two basic ways of device access, and the wait queue is often used when blocking and non-blocking drivers are used.Blocking and non-blockingA blocking call means that the current thread is suspended until the call
First, Introduction NetCat, a "Swiss Army Knife" in Web tools, has a version of Windows and Linux. Because it is short and short (the 1.84 version is 25k, the old version or the reduced version is even smaller), functional, is designed as a simple,
This is mainly about Linux under the compilation, Windows is relatively simpleReference: Http://qt-project.org/wiki/Building-Qt-5-from-GitDepend onsudo apt-get install "^libxcb.*" Libx11-xcb-dev Libglu1-mesa-dev libxrender-dev Libxi-devCompilation
The Select function describes:intSelect (intMaxfdp,fd_set*Readfds,fd_set*Writefds,fd_set*Errorfds,structTimeval*timeout); /*The argument list int MAXFDP is an integer value that refers to the range of all file descriptors in the collection, that is,
First, the Linux directory system1./root directory, the general root directory only the directory, do not store files.2./bin;/usr/bin binary executable file directory, green display of files, such as LS, CAT,TAR,MV3./sbin;/usr/sbin Super User can
Linux Systems-Process management-Scheduled Tasksa Scheduled Task command1 at a time to perform a task2 Batch executes when the system load is not heavy3 Cron Periodic executiontwo at command and use1 at [-f filename] Time2 at [-D Delete Task]3 at
This article is mainly about how to create a Quick Launch icon for your application in Linux, but let's say we look at the actual steps:The example of this article is to create a launch icon for Celipse1. We need to create a startup script with the
Go to the installation directory, start memcached:/usr/local/memcached/bin/memcached-d-c 10240-m 1024-u root get running status: Echo Stats | NC localhost 11211 (can view PID) or use Ps-ef|grep memcached stop memcached:kill-9 pid (-9 for forced
Today we introduce the use of the Htop tool, which is a useful tool to see the system process, CPU utilization, memory usage and so on. For our ops, it can be used to quickly locate which process is causing the system to clog up, which processes
Linux Shell learning notes 2 Shell command line ls, shellls
Ls is a command to view files in directories and directories.
Next, let's take a look at the usage of this command.
Ls
The ls syntax mainly includes:
Ls view directory content
Ls-l
Git error 401, git401
Error message:Error: The requested URL returned error: 401 Unauthorized while accessing https://git.oschina.net/xxx/xxx.git/info/refsI want to move my local project to the git of oschina and then get it from the service git.
Linux screensaver CancellationBy default, the screen saver is enabled for ubuntu in 10 minutes. I use ubuntu server12.04, because there is no desktop, only commands can be used. As follows: setterm-blank 0 // disable the screen saver setterm-blank 1
Linux Regular Expression sed details
Sed and awk tools can replace text and output the replaced text to the screen.Sed and awk are both stream editors that operate on the lines of documents. Sed is usually used to replace an operation.
The text
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service