and termination
Create a process: Request a blank PCB, fill in information--to assign the process the resources required for the runtime--process to ready, insert ready queue
Terminate process: Wait for the operating system to clean up---the PCB z
Definition of the process1. A process under implementation;2. An instance of the program being executed on the computer;3. Entities that can be assigned to the processor and executed by the processor;4. An activity unit with the following characteristics: Execution of a set of instruction sequences, a collection of current state and associated system resources;An entity consisting of a set of elements, incl
by OS from execution state due to stop or cancel
Hang Up conceptPending: The operating system swapped the process out of memory, which we call a process hang.five-state transitions:Five-state queue model scheduling:The two execution modes of the Process Control process:System mode (
/wKioL1S4y4XBl6C5AAZVIPYytEU388.jpg "title=" Qq20150116162304.png "alt=" wkiol1s4y4xbl6c5aazvipyyteu388.jpg "/> us:user space sy:system ni:nice Value adjustment elapsed time percentage id: Idle percent wa:wait io Percentage of time that the CPU consumes to wait for the IO event to complete hi:hardware interrupt si:soft Interrupt st: Time taken away by the virtual machine 2c. SUMMARY area fields the SUMMARY area fields describing CPU statist
This article was reproduced from: http://www.cnblogs.com/mickole/p/3187974.htmlOne, System () understandsFunction: the system () function calls "/bin/sh-c command" to execute a specific command, blocking the current process until command execution is completePrototype:int system (const char *command);return value:If th
also satisfy the needs of various types of processes, so it is a well-known process scheduling algorithm.4. Multilevel feedback queue scheduling algorithmMulti-level feedback queue scheduling algorithm Scheduling mechanism can be described as follows:NBSP;NBSP; (1) sets multiple ready queues. set multiple ready queues in the system, and give each queue a different priority. The first queue has the high
copies, you will see five processes called Notepad.exe. How are they different from each other? One way is through their process ID, because each process has its unique encoding. The process ID is generated by Windows NT or Windows 2000 and can be used cyclically. Therefore, process IDs will not be larger and larger,
normal processes
System process name tables, system processes generally include: basic system processes and additional processes. The basic system process is a prerequisite for the system
). Many laptops provide Bluetooth support. There are Bluetooth mouse, Bluetooth headset, and mobile phones that support Bluetooth. If you do not have a bluetooth device or a service related to Bluetooth, disable it. Other Bluetooth-related services include: hcid to manage all visible Bluetooth devices, hidd to provide support for input devices (keyboard, mouse), and dund to connect to the network through Bluetooth dialing, pand allows you to connect to Ethernet via Bluetooth. 9. capi Descriptio
Linux system startup process (3) One of the system fault repairin the use of Linux may cause a variety of reasons for the machine can not start, so there should be a response to these problems should be a measure to restore the system to let this work. Here are a few examples to illustrate each. Case one:destroys Grub'
knowing the time required to execute various processes in advance, it is a well-known process scheduling algorithm. The implementation process is as follows:1) set up multiple ready queues and assign different priorities to each queue. The higher the priority queue, the smaller the execution time slice required for each process. 2) When a new
Linux System Management -Process and scheduled task management a,the relationship between procedures and processes1. Procedure• Executable code and data saved on hard disk, CD-ROM and other media• Statically saved code2. Process• program code running in CPU and in memory• Dynamically executed code• Parent, child process
concurrently, and threads in different processes can execute concurrently.4) Share process Resources : basically do not own resources, use the resources of the owning process. 3 Status of thread running
1) Execution status : The thread is executing on the CPU.2) ready State : Have all the resources needed to wait for the CPU to be idle.3) blocking state : Some r
between the three States is as follows:It should be noted that when a blocking process waits for an event, it cannot be run directly, but it must be ready. If the CPU is idle at this time, you can directly run the process; otherwise, you must wait for the scheduling of the scheduler.The operating system maintenance fo
language, before which the kernel code is written in sinks, completing some of the most basic initialization and environment setup work.
No matter what part of the analysis kernel involves start_kernel, because almost all modules are called when they are initialized
Init_task is a global variable, which is a manually created PCB. Process No. 0, which is the final idle
machines. # My Linux FTP memory is a little small #
FreeIdle physical memory size
BuffThe Linux/Unix system is used to store the contents and permissions in the directory. My local machine occupies about 189 MB.
CacheCache is used directly to remember the files we opened and buffer the files. My local machine occupies more than 3400 MB (here is the cleverness of Linux/Unix, cache part of the idle physical
rotation operation.(3) The scheduler dispatches the processes in the second queue only when the first queue is idle, and the processes in queue I are scheduled to run only if the 1~ (i-1) queue is empty. If the processor is servicing a process in queue I, and a new process enters a higher priority queue (1~ (i-1)), then the new
refreshing.3. optimized the code for terminating the process.
Supplementary description of date 2004.11.191. If you use this program to terminate the Windows LSASS. EXE process, you can see the one-minute countdown shutdown dialog box similar to the one-minute countdown when the shock wave occurs.2. On the other day, I discussed winlogon.exe with a web friend in the rising community.This program can be tes
pid=0 process we call the idle process belongs to the kernel.Things to do after Init starts:1. Read/etc/inittab to read the default level hypothesis: Read to the default level is 3/etc/init/*.conf# Boot level: (runlevel) # 0: Shutdown # 1: Single user mode # 2: Multiuser mode, NFS not supported # 3: Full multi-user mode, support for Text interface # 4: Reserved
)} consumer: while(1) {p (full); P (mutex); Get fromBuffer//Remove ProductV (mutex); V (empty) conseume; //consumption}Reader Writer's questionDescription: A Data object (file, record) can be shared for multiple concurrent processes. Some of these processes only need to read the content, we call the "reader", and some processes are responsible for updating (reading and writing) the contents of which we call "writer".Rule: " readers " can read shared data objects at the same time ; " The writ
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.