The Linux terminal closes the background process and ends the Cause Analysis and nohup usage. The background process nohup
Windows and Linux Remote connections (both called remote connections) are different:
1) after Windows Remote connection, if you run a program on a remote machine, you can log out of the connection
1. Daemon Overview
Linux Daemon is a special process running in the background. It is independent of the control terminal and periodically executes a task or waits to process some events. It can run without user input and provide certain services, either for the entire system or a user program. Most servers in Linux ar
"zombie process" mean in UNIX programming, what happens when a zombie process is created, and how does it kill the zombie process? In the fork ()/execve () procedure, it is assumed that the parent process is still present at the end of the child process, while the parent
that the size of a Linux File is 1,500 bytes, we use the following command to query find/-size 1500c. Character c indicates that the size of the file to be searched is measured in bytes. If we do not know the specific size of this file, we can perform fuzzy search in Linux. For example, if we enter the find/-size + 00
(the first terminal):Find Linux Process InformationThe above display stdin(file descriptor 0),stdout(file descriptor 1),stderr(file descriptor 2) are mapped accordingly to /dev/zero, /root/test.iso , and /dev/tty1.More information on the /proc " /proc file System" and Linux developer manuals that can be viewed kernel.
, killall httpd # Shut down the Apache server, killall shut down all processes with the same name as httpd
Certificate -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
[Service name as a parameter]
Pgrep service name: Find the service process
files modified in the last 5 minutes in the systemFind/-mtime-1 # search for files modified in the last 24 hours in the systemFind/-nouser # search for files belonging to the void user in the systemFind/-user Fred # search for files belonging to the user Fred IN THE SYSTEMThe following list is some of the conditions for searching the features of files that can be specified by the find command. No search conditions are listed here. You can
that maintains the dynamic resources associated with execution. It also refers to the static resources required by the program. When you create a child process from the system call clone, you can selectively let the child process share the resources referenced by the parent process. Such child processes are often referred to as lightweight processes. Threads on
"": Weak reference ": Command Reference Shell Logon Type: Interactive login: Login directly through the terminal; User Switching implemented by su-l username command; Non-interactive logon: A command-line window opens under the graphical interface; Execute the script; Su Username; Configuration file Action Order: Interactive login: /etc/profile--/etc/profile.d/*.sh--and ~/.bash_profile--~/.BASHRC--/ETC/BASHRC Non-interactive logon: ~/.BASHRC--/ETC/BASHRC-/etc/profile.d/*.sh How does the new con
destination. This process is calledRoute. The post office connects the separated Local Area Network to the Internet and eventually formsGlobal coverageInternet.
Transport Layer)
The preceding layer-3 protocol allows different computers to communicate with each other. But there are actually manyProcess, Each process can have communication requirements (see Linux
program. The purpose of this interrupt service program is to load the first sector of the floppy disk program into the specified location of memory.The main boot loader job is to find and load the secondary boot loader (kernel loader)It completes this task by parsing the partition table and locating the active partition when it finds an active partition. It will continue to scan the partitions in the remaining partition table. In order to confirm tha
that are always wrong in the system.
-Fstype type: searches for files in the specified file system, for example, ext2.
-Gid n: Find the file whose ID is n in the system.
-Group gname: Find the files in the system that belong to the gnam file group and specify the group and ID.
Example:
Process Control:1, Process creation function: fork ();Header file:#include #include Function Prototypes:pid_t fork (void);function return Value: 0: Indicates that this process is now a child process;-1: Indicates an error;The child process
-school homeworkThe process of understanding process scheduling and process switching during the time-tracking analysis process1. Understand the timing of process scheduling in Linux systems, you can search the kernel code for the schedule () function, see where the schedule
First, the processTraditionally, applications, servers, and other programs running under the UNIX operating system are called processes, and Linux inherits the concepts from UNIX processes. It must be understood that the program refers to a static entity stored on a storage device (such as a disk) that contains executable machine instructions (binary code) and data, whereas a process can be thought of as a
group ID is set to Egidint Setegid (gid_t gid) sets the effective group ID process priority for the process: the Linux system runs concurrently for multiple processes, and Linux uses the time-slice rotation
() function creates a new process through the following series of functions: Fork (), Sys_clone (), Do_fork (), Dup_task_struct (), copy_process () Copy_thread (), Ret_from_fork (). The three main functions of the operating system: Process Management (CORE), memory management, file system. Process Control block Pcb--task_struct (
Process RelationshipsProcess GroupA process group is a collection of one or more processes. Typically, they are combined in the same job, and each process in the same process group receives various signals from the same terminal, each with a unique process group
What is a daemon process? The daemon (Daemon process), which is usually called the Daemon process (daemon), is the background service process in Linux. It is a long-lived process, usually independent of the control terminal and pe
Detailed description of the find command in linux and the linuxfind command
Http://blog.csdn.net/pipisorry/article/details/39831419
Find Syntax:
Find [start Directory] search for conditional operations
Find path option [-exec COMMAND {}\;]
Because 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.