Here's how to record screen logs.The first method:Add option-L at startup (Turn on output logging.), screenlog.0 files are generated in the current directory.650) this.width=650; "Src="
Linux system directory structure and simple descriptionLinux Directory Map:
Root---Some of the core files used when starting Linux. such as operating system kernel, boot program grub and so on.
Home---Store personal files for ordinary
---restore content starts---1. Introduction1.1. Official website: https://docs.puppet.com/1.2. Puppet is an IT Infrastructure automation management tool whose entire life cycle includes: provisioning,configuration,orchestration,reporting1.3. Puppet
First, SSH No password remote login principleSecond, SSH Implementing a password-free remote loginImplement host a without password Telnet Host BHost a IP address: 10.8.9.154Host B IP Address: 10.8.9.1551, host a operation as follows:[email
With the rapid development of the information age, Linux stands out from the operating system due to its many advantages and is favored by more and more computer users. Linux is a set of security, stability, freedom and many other advantages in one
Introduction to Commands:This command is used to list information about users who have logged in to the system in the past. Directive English literal: Show listing of last logged in usersExecute permissions: Some require special
First get the SCSI device information.[[Email protected] ~]# lsscsi[2:0:0:0] Disk VMware, 1.0 /dev/sda[4:0:0:0] CD/DVD 1.00 /dev/sr0Some operating systems do not have LSSCSI commands, you can use the following methods to obtain SCSI
The Linux process has a certain relationship with each other. For example, on the basis of the Linux process, we see that each process has a parent process, and all processes are rooted in the init process, forming a tree structure. We are here to
Llinxu Mandatory lock default is not open, want to let Linux support mandatory lock, not only when the mount is required to add-o mand, andThe files you want to lock are also required to set permissions.1. The proposed lock industry is called a
head and tail are as easy to understand as its name. It is used to display a block of text at the beginning or end of a number, and the head is used to display the beginning of the file to the standard output. and tail is looking at the end of the
int close (int sockfd)
#include Marks the socket as closed, attempts to send data that has been queued, minus one socket descriptor, and if the descriptor is 0, sends a FIN trigger socket off
int shutdown (int sockfd,int how)
#include The
The Sendfile function passes data directly between two file descriptor descriptors ( operating in the kernel and transmitting ), thus avoiding the copying between the kernel buffer data and the user buffer data. The operating efficiency is very high,
Linux basic Commands (one) detailedLinux friends know that most of the system operation is the command line operation, of course, there are now graphical interface operation, but in most cases still use the command mode of operation, so the function
Linux zip file unzipping issues, linuxzip unzipping garbled
Due to Encoding Problems, Chinese files in the zip file are unzipped in linux.
If you use archlinux, you can use AUR to install
Three commands for viewing logs in Linux and logs in linux
First: View logs of real-time changes (more memory-consuming)
Most commonly used:
Tail-f filename (the last 10 rows by default, which is equivalent to adding the parameter-n 10)
Ctrl + c is
Check memory usage in Linux, and check memory usage in linux
Input: top
PID
Process ID
USER
Process owner
PR
Process priority, the smaller the priority, the execution
Ninice
Value
Time slice, cpu time slice
Timeslice is also called "quantum" or "processor slice) it is a period of CPU time allocated by the time-sharing operating system to each running process at a micro level (in the preemption kernel, it is the time from the
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