One of the most compelling questions for anyone writing kernel code is how to finish debugging. Because the kernel is a feature set that is not associated with a process, its code cannot be easily executed in the debugger and cannot be traced.
This
1.Valgrind Introduction
1. One of the most common mistakes when we write C + + is memory leaks, which are inextricably linked to programmers ' programming habits. If you are applying for memory space, you can immediately release the memory in the
background
Server reboot once, every time there will be a little problem, this time the problem is not normal access to the extranet (because the server needs to pass the Campus network certification), so began to toss.
ProcessFirst look at
The original SVN server was put on the windowspc, and because of the leadership requirements, it was required to set up SVN on the Linux server and import it, so do it.
First of all, need to go to the official online download the required package,
First through the physical terminal into Linux, Manual Check ssh found not running
#/etc/init.d/sshd Status
sshd is stopped
The service was manually started and the report permissions error was found.
#/etc/init.d/sshd Start
starting
The policy action within the Linux firewall has reject and drop two, the difference is as follows:
1. The Reject action will return a reject (termination) packet (TCP fin or udp-icmp-port-unreachable), explicitly rejecting the other's connection
The typical Linux Samba service is all loaded and goes directly into the/etc/samba directory.
Open smb.conf,
[Gloabal] Inside is some global options, affecting all the sharing, the main to modify is the security= option, the default is Security=user
Why you need to switch user identities.
In the daily work, as far as possible to use the ordinary user account operation, when the need for root permissions, and then through the identity of the switch to root administrator, so as to ensure the
1. Open the device
snd_pcm_t *handle;
/* Open PCM device for playback. *
rc = Snd_pcm_open (&handle,
"Default",
snd_pcm_stream_playback, 0);
The IF (RC
2. Non-blocking writing (in general, the blocking way to write code is good, ALSA
Http://www.lupaworld.com/article-216737-1.html1. Causes: In a UNIX system, a process ends, but his parent process does not wait (call Wait/waitpid) him, then he will become a zombie process.View the flags with defunct through the PS command. The
UseThe mkdir command is primarily used to create a directoryFull NameThe full name of the mkdir is: Make DirectoryParameters-M: Configuration file permissions-P: help you to directly set up the desired directory recursivelyCaseGo to
1. Application scenario, build Sam shared directoryAvailable for Linux and between Windows
2. Server ip:192.168.56.11 (A)Client ip:192.168.56.133 (B)
View firewall status and close[[email protected] ~]#systemctl status
Create a Directorymkdir Creating a DirectoryMkdir-p automatically create a parent directory even if the parent directory does not existView CatalogLS view content in the specified directoryLs-l displaying the details of a directory or fileView your
One, RPM installationPackage Manager is the assembly of the compiled application of the constituent files package one or several package files, so as to quickly and easily implement the package installation, uninstall queries, upgrades and checks
Introduction rsync (remote sync) is a Unix and Unix-like platform for data mirroring backup software, it does not require full backup as FTP, rsync can be based on the change of data for differential backup, thereby reducing data traffic, improve
Types of compression and decompression files commonly used by Linux:. tar,.gz,. tar.gz,.bz2,. tar.bz2,.z,. Tar. Z,.zip,.rar and so on.Linux commonly used compression and decompression commands are: Tar,gzip, GUNZIP,BZIP2, bunzip2,compress,
On a Linux host, cut a large file into n small files(1) Split by byte split-b 1m itable_transfer_145028.138.21.log>>>>split-b 1m Itable_transfer_145028.138.21.log----------------------------------------rw-rw-r--. 1 Billapp billapp 1987501 August 1 14
1. User and user group filesIn Linux, user accounts, user passwords, user group information, and user group passwords are stored in different configuration files.In a Linux system, the user accounts created and their associated information (except
1. Extended Regular Expression 1.1 + (plus sign)+ indicates that the previous character appears 1 or more times or more than 1 times1.1.1 Understanding +Requirements: Remove the file contents of the continuous occurrence of lowercase letters[[email
Cause of Error:Kafka the JVM memory configuration that is used by default:Export kafka_heap_opts= "-xmx1g-xms1g"If the server memory is small, you need to adjust the boot configuration.Workaround :Open/opt/kafka_2.11-2.0.0/binkafka-server-start.sh
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