important, basically what the thread is going to do. It can be the threadproc below, and the task is implemented in that thread function)
Lpvoid lpparameter, // thread parameter (the thread has to send something to it, otherwise it does not know how to do it)
DWORD dwcreationflags, // thread creation attribute
Lpdword lpthreadid // thread ID (thread name)
); Thread function definition: DWORD winapi threadproc (lpvoid lpparamerter // parameter pointer
This article introduces the 12 classic techniques of Linux operating system application, which can be used to better use Linux system.
1, processing the special file name
Assuming that the Linux system has a file named "-ee", if we want to operate it, for example, to delete
if echo "${DISTRO_VERSION}" | grep -E '^(12|13|14\.10)' >/dev/null ; then export UNSUPPORTED_RELEASE='YES' fiFrom the program, we can see that the ubuntu id, RELEASE, and CODENAME values are all in the/etc/lsb-release file. After matching with grep and awk, different variable values are assigned. Use grep to filter out unsupported versions of the system versions 12, 13, and 14.10. Currently, the supported versions are 14.04,
'=' '{print $2}')" # Unsupported releases: 12.x, 13.x, 14.10 if echo "${DISTRO_VERSION}" | grep -E '^(12|13|14\.10)' >/dev/null ; then export UNSUPPORTED_RELEASE='YES' fi
From the program, we can see that the ubuntu id, RELEASE, and CODENAME values are all in the/etc/lsb-release file. After matching with grep and awk, different variable values are assigned.
Use grep to filter out unsupported versions of the system versi
First of all, it is not urgent to start the process, first of all, the Linux operating system related knowledgeOne: Linux components: Kernel + root (/) file system1) Kernel:The location of the CENTOS6 location is "vmlinuz-2.6.32-573.12.1.el6.x86_64" in the/boot directory"2.6.32" is the version number; "573.12.1" is the release number. The kernel is responsible for core memory management, process management,
Basic operating commands for the System
1. root/catanaconda-ks.cfg to determine whether to install base software group
Yum groupinstall base can be used to install the base group ifconfig command or use ip addr sh to view IP information.
To use YUM, you need to create xxx. repo for the yum installation system. Then install the base group
2. Command Line: use s
The operating system (OS) has become an essential part of our lives. A new operating system model that uses "cloud computing" to achieve most of the functionality and where local computers store only a small amount of information is emerging, compared to traditional local operating
-x86_64--kickstart=/var/lib/cobbler/kickstarts/sample_end.ks Sync Data: Cobbler Sync Create System: (Students note that the system is created here; The main purpose is to install the operating system without human intervention.) The Mac is a copy of the virtual machine after the KVM was created. I have been previously
....)
OS. sep is used to obtain the directory delimiter of the current operating system.
OS. linesep is used to obtain the default line break of the current operating system.
OS. pathsep is used to obtain the default path separator of the current operating
The following is a detailed description of the basic knowledge of the Linux operating system file system. It should be useful to many friends who do not have full knowledge of the Linux operating system. Therefore, you can learn from the following. Hope to help you.
The foll
/zh-cn/goglobal/bb964664.aspx.
2: the operating system version information data comes from the https://msdn.microsoft.com/zh-CN/library/ms724832 (VS.85). aspx
Different operating systems may have the same Version number value. For example, the Version numberd of Windows 7 and Windows Server 2008 R2 is 6.1. As a result, multiple records appear in the following que
The operating system has certain restrictions on MySQL table naming. Let's take a look at the operating system's restrictions on MySQL database and MySQL table naming, I hope this will help you learn about MySQL table naming.
MySQL has a naming rule for databases and MySQL tables:
The name can be composed of any let
allocated when applied to more than GB memory.
After searching for the information, I found that the application had to make corresponding changes after the operating system supported the/3 GB parameter, and told the operating system to run in the/3 GB mode, I think this is probably due to considerations for applicati
" button in order to complete the installation, will appear on the desktop after the VMware The workstation icon. As shown in the following:2. Configuring virtual MachinesDouble-click Start virtual machine software, left mouse button to create a new virtual machine.Then click the Next button, and when you select the virtual machine type, select the typical (recommended) (T) type. Click NextThe following "New Virtual Machine Wizard" appears to choose to install the
installed on a variety of platforms. Currently, the most comprehensive Ubuntu operating system platform is supported. We recommend that you install ROS on Windows platforms using virtual machines to facilitate the next step of learning experiments;
The official latest version (ROS Groovy Galapagos) Installation image address is as follows: http://nootrix.com/downloads/#RosVM
Virtual Machine download site:
.23. Set the current reference count value of file F1 to 1, first establish the F1 Symbolic link (soft link) file F2,Re-establish the F1 hard-link file F3, and then delete the F1. At this point, the reference count values for F2 and F3___b___, respectively.A. 0, 1 B.1, 1 C.1, 2 D.2, 1Hard link: There is a copy of the contents of the file on disk, but does not change the inode of the file, that is, to share the inode with the original file.Soft Link: Does not have a copy of the contents of the di
are different.process StatusProcess Status:
NEW: The process is being created
Run (RUNNING): instruction is being executed
Wait (wait): The process waits for an event to occur (such as I/O completion or signal received)
Ready: Process waits for the processor to be allocated
Terminate (TERMINAL): Process completes execution
Only one process can run on one processor at a time, but multiple processes can be in a ready or waiting state.
Process Control block (PCB
collaboration model based on coordination technology.
The original message-oriented middleware and transaction-oriented middleware have become an integral part of the standard application server and gradually extended to the operating system kernel.
Application servers, portals, data integration, Web services, and EAI vendors constantly expand middleware functions to their products.
Microsoft. NET and GXA
as printers, monitors, and so on, they can be assigned directly as a device to a user program that is recycled after use for use by another user. For storage-type external devices, such as disks, tapes, and so on, they provide storage space for users to store files and data. The management of storage external devices is closely integrated with information management.
Information management is an important function of the operating
C # obtain information about the operating system,
This article uses a Demo to explain how to use C # to obtain information about the operating system, such as the memory size, CPU size, machine name, environment variables, and other ope
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.