现在,要从全部共享内存文件读取和打印所有记录,创建一个循环。
Now, to read and print all the records from the entire Shared memory file, create a loop.
在Linux系统中,您不能通过使用通常用于文件显示的cat实用工具来查看共享内存文件(常指的是shm文件),因为这些shm文件是以二进制的格式存储的。
You cannot view the Shared memory files (commonly referred as SHM files) by using the cat utility generally used for file display in Linux since these SHM files are in a binary format.
除了实际的文件,设备与共享内存对象都能够被映射。
In addition to actual files, devices and Shared memory objects can be mapped.
如果是在跟踪共享内存,跟踪缓冲区的大小将控制转储文件的大小。
If you are tracing to Shared memory, the size of the trace buffer controls the size of the dump file.
在更改日志配置参数时,共享内存中的信息就会获得更新,同时还会保存到配置文件中。
When modifications to the logging configuration parameters are made, the information is updated in Shared memory and is also saved in the configuration file.
要将TESTSP日志标记从共享内存和配置文件中删除。
To remove the TESTSP logging token from Shared memory and from the configuration file.
本文中将学习如何使用Boostipc库实现共享内存对象、消息队列和同步文件锁。
In this article, you learn how to use the Boost IPC library to implement Shared memory objects, message queues, and synchronized file locking.
分配给一个运行的进程的默认文件句柄数量和共享内存不足以在MacOSX 上运行IBMInformixDynamicServer。
The default amount of file handles and shared memory allocated to a running process is insufficient to run IBM Informix Dynamic Server on Mac OS X.
shm_unlink():根据(shm_open()返回的)文件描述符,删除共享内存段。
shm_unlink(): Deletes a shared memory region given a file descriptor (returned from shm_open()).
对于每个从共享内存或初次调用使用的配置文件中读取的日志标记,OPEN_LOG都会使用标记名和散列表的大小来生成一个散列值。
For each logging token read from the Shared memory or configuration file on its first invocation, OPEN_LOG builds a hash key using the name of the token and the size of the hash table.
在创建或更新共享内存分区概要文件时,可以在内存配置部分中找到选择分页VIOS分区的选项。
When creating or updating Shared memory partitions profiles you can find the option to select the paging VIOS partitions in the memory configuration section.
注意,日志缓冲区位于数据库的共享内存中,这种机制确保每个事务被记录到日志文件中。
What essentially we can get away with is that log buffer located in database shared memory is the mechanism provided to ensure each transaction is logged to log files.
这些设施包括打开文件句柄(文件描述符)、共享内存、进程同步原语和当前目录。
Facilities include open file handles (file descriptors), Shared memory, process synchronization primitives, and current directory.
UPDATE_SP_CONFIG存储过程对共享内存进行更新,并将所有的日志标记写入一个配置文件中。
The DB2.UPDATE_SP_CONFIG stored procedure updates the Shared memory and writes all logging tokens to a configuration file.
msync():用来让共享内存段与文件系统同步 —当把文件映射到内存时,这种技术有用。
msync(): Used to synchronize a shared memory segment with the file system—a technique useful when mapping a file into memory.
分段 3-C和E:内存映射区域(包括文件)和共享内存
Segments 3-C and E: Memory mapped regions (including files) and shared memory
就像我们在17章和15章看到的那样,多进程不得不用复杂的机制去处理操作系统的共享内存和文件描述符。
Multiple processes have to use complex mechanisms provided by the operating system to share memory and file descriptors, as we will see in Chapters 15 and 17.
全局共享内存的大小只能使用配置文件进行设置。
The size of global Shared memory can be set only with a configuration file.
性能计数器使用内存映射文件或共享内存发布性能数据。
Performance counters use a memory mapped file, or Shared memory, to publish performance data.
共享资源包括内存中的数据比如实例或类变量和外部对象比如文件、数据库连接以及网络连接。
Shared resources include in-memory data such as instance or class variables and external objects such as files, database connections, and network connections.
共享资源包括内存中的数据比如实例或类变量和外部对象比如文件、数据库连接以及网络连接。
Shared resources include in-memory data such as instance or class variables and external objects such as files, database connections, and network connections.
应用推荐