System callsis a soft interrupt, API function, let the upper application fall into the kernelProcess ManagementProcess scheduling, scheduling algorithm, process three-stateProcess is the minimum unit fork for CPU scheduling resourcesVFS Virtual File ManagementUnder Linux, all the devices are filesDriver Bus Model 2.4 2.6 (TRUE) Support PnPExt3 ext2 vfat File Management system----> Driver Development under the driver bus modelMemory managementProcess l
Programmers are lazy, you know.
Recently in development, you need to use the server's IP and Mac information. But the server is installed on the Linux system, for the multiple network, in the acquisition of IP generated a lot of problems. The following is a method for Java to obtain a local IP on a Windows system. Paste Code:
Package com.herman.test;
Import java.net.InetAddress;
/**
* @see get computer IP
* @author herman.xiong
* @date May 16, 20
As a result of your responsibilities, you have to read the notes for obscure Linux applications. Then, you run the command and edit the settings file. Everything is running and livingBeautiful. However, you know, good times will not last forever. When you encounter the frightening "Send the process a sighup" prompt, good time is over.
What is "sighup" and how do you send it? Is it like a bunch of flowers you send to your lover? Although you are sure
there is no process communication between the parent process and the child process, the child process naturally cannot change the parent process environment variables. I hope the side dishes do not take the TC or the use of the TC library in the other compilers of the system's call results to refute me, this is not a concept, dos too early to die, play Linux. That's it. System (execute shell command) Related function fork,execve,waitpid,popen header
Pipelines and famous Pipelines
In this series, the author outlines several main methods for inter-process communication in Linux. Among them, pipelines and named pipelines are one of the earliest inter-process communication mechanisms. pipelines can be used for inter-process communication with kinship. Famous pipelines overcome the restrictions that pipelines do not have names, in addition to the functions of pipelines, it also allows communicatio
This article comes from a question and answer by Quroa "What is some time-saving tips that every Linux user should know?"--linux users have the skills to be aware of how to improve efficiency. I feel very good, summed up better, turn it over, and add some of their own understanding. First of all, I want to tell you that under Unix/linux, the most efficient techni
Reprinted from: Coolshell ChenhaoThis article comes from a question and answer by Quroa "What is some time-saving tips that every Linux user should know?"--linux users have the skills to be aware of how to improve efficiency. I feel very good, summed up better, turn it over, and add some of their own understanding. First of all, I want to tell you that under Unix/linux
We run the following command to see a list of the Linux supported signals:
$ kill-l1) Sighup 2) SIGINT 3) sigquit 4) Sigill 5) Sigtra P 6 SIGABRT 7) Sigbus 8) SIGFPE 9) SIGKILL N Bsp NBSP;10) SIGUSR1 11) SIGSEGV 12) SIGUSR213 sigpipe 14) Sigal RM 15) sigterm 17) SIGCHLD18) sigcont 19) SIGSTOP NBSP ; NBSP;20) SIGTSTP 21) SIGTTIN22 Sigttou 23) Sigurg ) SIGXC PU 25)
Summary of the basic operations of Linux, basic operations of linux
Preface
Linux was a UNIX-compatible operating system developed in 1991 and can be used for free. Its source code can be freely transmitted and can be modified, enriched, and developed by anyone, the original intention of developers is to jointly create a perfect, ideal and free-to-use operating s
Linux Directory Architecture
/root directory
/bin commonly used commands binary file's catalogue
/boot store files that must be read when the system is started, including the core (kernel)
/boot/grub/menu.lst Grub Settings
/boot/vmlinuz kernel
RAM Disk required for/BOOT/INITRD core decompression
/dev System Peripheral Equipment
/ETC System Related setup file
/etc/dir_colors Set Color
/etc/hostname set the user's node name
/etc/networking only yes indi
New users talk about Linux, new users linux
Directory:
What is Linux?
Differences between Linux and UNIX
Comparison between Linux and Windows
What is the Linux release?
Linux applicatio
The Linux machine doesn't have to clean the hard drive at all, which is why you haven't seen the Linux user defragment the hard drive. Linux file system is a much better file system than Windows FAT, FAT32, NTFS, they can not only set permissions on the file, the implementation of full protection, and can be "used more neatly", "the less the more fragmented"! You
Use GNU/Linux to play TV programs
At present, many things in life can be completed in front of the computer, reading books, writing programs, listening to music, watching videos, etc. It would be better if you could watch cable TV programs on your computer. For this reason, I purchased the yuangang video capture card AverMedia C725B. As shown in.
The official introduction to this card is as follows ):
The C725 SD card is a PCI-E acquisition card that
This article comes from a question and answer by Quroa "What is some time-saving tips that every Linux user should know?"--linux users have the skills to be aware of how to improve efficiency. I feel very good, summed up better, turn it over, and add some of their own understanding. First of all, I want to tell you that under Unix/linux, the most efficient techni
People who have played Linux will know that there are really a lot of commands in Linux, but people who have played Linux have never bothered by the fact that Linux commands are so many, because we only need to master the commands we use most often. Of course you can also use to find the man, he will help you solve a l
How to detect memory leakage in linux-general Linux technology-Linux technology and application information. This article discusses how to detect the memory leakage of C ++ programs in linux and its implementation. This includes the basic principles of new and delete in C ++, the implementation principles and specific
Idea: At present, the domestic portable WiFi is basically used Ralink chip USB wireless card only, a lot of wireless card chip does not support Master mode, so can not concurrently do AP, and Ralink out of the several chips are supported Master mode, Under Linux, you can use the HOSTAPD software package +iptables (NAT) +DHCPD (dynamically assigning IP to devices) to set up a wired connection on a device such as a phone to share the Internet.After the
it.Application Method:# Pkill name of the running programExample:[Root @ localhost beinan] # pgrep-l gaim2979 gaim[Root @ localhost beinan] # pkill gaim4. xkillXkill is a program used on the desktop to kill the graphic interface. For example, when firefox crashes and cannot exit, you can click the mouse to kill firefox. When xkill is running and the icon of the personal brain is displayed, it will be okay if any graphics program crashes. If you want to terminate xkill, right-click to cancel it;
Source:
[Url] http://www-900.ibm.com/?works/cn/linux/l-mleak/index.shtml#/url]
Hongong (hcode@21cn.com)C ++ programmersJune 2003
This article discusses how to detect the memory leakage of C ++ programs in Linux and its implementation. This includes the basic principles of new and delete in C ++, the implementation principles and specific methods of the memory detection subsystem, and advanced topics of Mem
state, so will not receive sighup signal. 4. Command:nohup sigtest > TTaction: Close the terminalResult: The TT file is emptycause: Nohup can prevent the process from receiving SIGHUP signalsat this point, we know what happens when the terminal is closed and the process exits, in which case it will not exit. There are several ways that the process does not exit after the terminal is closed, both through the shell:1, write the shell, content such as the followingtrap "" SIGHUP #该句的作用是屏蔽SIGHUP信号,
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.