[--> to start the graphics terminal]CentOS 6:Init program: Upstart, but still for/sbin/init, its configuration file:/etc/init/*.conf,/etc/inittab (for defining the default RunLevel only)Note: *.conf is a upstart-style configuration file;Rcs.confRc.confStart-ttys.confCentOS 7:Init program: systemd, config file:/usr/lib/systemd/system/*,/etc/systemd/system/*Fully compatible with the SYSV scripting mechanism;
Process and program processes and programs
Program: a binary program is typically copied to a storage medium and exists as a physical file.
Process: After a program is triggered, the executor's permissions and attributes, program code, and required data are loaded into the memory, the operating system gives the memory unit an identifier PID, that is, the
Overview:
Process understanding and Viewing (PS command), process priority (NICE), process pre-and post-switchover (BG,FG), Process signal (kill), User login audit (last,w, etc.), dynamic view of process status (Top command), The various services of the
1. A process is one of the two most important underlying abstractions in a UNIX system (the other is a file)A process is a running Programa thread are the unit of activity inside of a process the virtualization of memory is Associa Ted with the process, the threads all share
the service at the corresponding levelWhen the system selects the running level # that starts, the INIT process runs the corresponding service script in/etc/rc.d/rc#.d/, closes the service that needs to stop at the corresponding level, and starts the service that needs to start at the corresponding level.K: To stop th
compare the process identifier channel that was created with the last child process to know the number of child processes created by other processes. Explain the information you get.Noise situation:High noise. Any other process that exists in the system can create child processes, causing the receiver to interpret the
Linux inter-process communication (IPC) programming practices (10) System V semaphores --- typical PV operations// P primitive // P (semaphore * S)Wait (semaphore * S ){-- S-> value; if (S-> value {// Set the current process to blocking// Insert the PCB of the current process into the block queue S-> block (S-> list) a
, I don't recommend that you turn it off, and that doesn't necessarily increase the speed. The only way to turn off Dwm.exe is to stop the service from running. Open "Services" in the Control Panel or Start menu, then locate the "Desktop window manager Session Manager" in the list, and then click the "Stop" button and notice that you will switch to the basic theme of the
:
1. A process is an execution of a procedure.
2. A process is a program that can participate in the execution of concurrent processes.
3. A process is the activity that occurs when a program executes with data through the processor.
4. The so-called process is a process tha
Level 3This is the current default RunLevelSet the default run level CentOS6/etc/inittabId:5:initdefault:System initialization script (CENTOS5)/etc/rc.d/rc.sysinit1. Set host name2. Set Welcome information3. Activate udev and SELinux4.Mount all file systems defined in the/etc/fstab file5. Detect the root file system and re-mount the root file system in read-write mode6, set the
We'll see a lot of boot information when Linux starts.The boot process for Linux is not as complex as you might think, and the process can be divided into 5 phases:
Boot of the kernel.
Run init.
System initialization.
Set up the terminal.
The user logs on to the system.
Kernel bootW
We'll see a lot of boot information when the inux starts.The boot process for Linux is not as complex as you might think, and the process can be divided into 5 phases:
Boot of the kernel.
Run init.
System initialization.
Set up the terminal.
The user logs on to the system.
Kernel bootWhen
:");String pid = input. Next ();Boolean isexist = pl. ISE (PID );If (! Isexist ){System. Out. println ("Enter the running time of the process (seconds ):");Int time = input. nextint ();System. Out. println ("Enter the priority of the process :");Int priority = input. nextint ();Probean Pb = new probean ();PB. setpid (
command script in the/ETC/RC.D/INIT.D subdirectory. If the command script is used to start a service, its symbolic link name begins with the letter S; if the command script is used to close a service, its symbolic link will begin with the letter K. To write your own RC command scriptIn the days of maintaining the Linux system, it is certain that the system administrator will need to modify the boot or shut
System Startup Process
1. When you press the enable key, the BIOS program in the BIOS chip of the Main Board is used to perform the hardware detection task. If the key hardware fault is found during the check, the user will be notified of a specific sound and the startup will stop. Where does the BIOS program come from? This is a program that is solidified on the
:
Grub 0.X: Also known as Grub Legacy, enables use on CENTOS5 and 6
Grub 1.X: Also known as GRUB2, has changed dramatically over the Grub Legacy,grub 2. Because Grub 2 is almost re-rewritten for CENTOS7
3. RAMDiskIn fact, bootloader loads the image device called RAMDisk into memory while loading the kernel. This memory space becomes a block device that can be used as a hard disk. The nature of the storage inside is the drive of the disk. However, can the driver store
management script is located in the/etc/init.d/ directory, is called through the init step. The format is the Bash script, just the start and close order. You can define some scripts that you want to execute after booting in local . Servicesername Management of Start|stop|restart|reload|status servicesChkonfigadd name adds the service to the boot managementChkonfig-l level name On|off set the service boot in which ratingSome programs need to listen t
ForceNormal (force in the normal state), ForceBelowNormal (force lower than normal), ForceAboveNormal (Force higher than normal), ForceRealtime (Force real-time adjustment), ForceKill (Force stop process) and other rules.
② Permanent adjustment
The adjustment method mentioned above is only valid in the current status and will expire after the system is restarted
1. What is a process??? The program that is running in the system.2. How to view the process of graphics?? Gnome-system-monitor3. View the process commands?? Whatis?ps3.1ps?? View process3.2ps?a?? View the processes associated with the current environment (including informat
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.