What happens to open files when fork is called?
调用fork时,打开的文件会发生什么情况呢?
Procfiles reports fstat and FCNTL information for all open files in each process.
procfiles报告每个进程中所有打开的文件的fstat和fcntl信息。
For instance, to see all open files under /export/home/sean, use lsof +D /export/home/sean.
例如,要查看 /export/home/sean 中所有打开的文件,可以使用lsof +D /export/home/sean。
For processes, you can set a number of limits such as the number of open files, number of processes, and so on.
对进程来说,您可以设置很多限定,比如打开文件的数目、进程的数目,等等。
One open file is displayed per line and, unless you specify otherwise, all open files from all processes are displayed.
每行显示一个打开的文件,除非另外指定,否则将显示所有进程打开的所有文件。
You can then use this shortcut to more conveniently open files on the Web server.
然后您就可以使用这个快捷方式更方便地打开Web服务器上的文件。
Right now I 'll teach you to open files, save files and copy files. Are you ready?
现在我会叫你打开文件、保存文件和复制文件。你准备好了吗?
Some languages, however, cannot open arbitrary files on the disk and can open files only in currently open solutions.
但是,有些语言不能打开磁盘上的任意文件,而只能打开当前打开的解决方案中的文件。
Before proceeding, shut down your mongrel and PostgreSQL instances, just to make sure any open files are handled correctly.
在继续之前,先关闭您的mongrel和PostgreSQL实例,这只是为了确保任何打开的文件都得到正确处理。
Once the task is deactivated, the focus on the Package Explorer view is turned off and all currently open files are closed.
当该任务停止活动时,PackageExplorer视图上的焦点被关闭,当前打开的所有文件被关闭。
Use the following shortcut key combinations to add new items to a project, build a project, or open files or projects.
使用下列快捷组合键将新项添加到项目、生成项目或者打开文件或项目。
Some languages, however, cannot open arbitrary files on the disk and can only open files in a currently open solution.
但是,有些语言无法打开磁盘上的任意文件,而只能打开当前打开的解决方案中的文件。
The previous section explored the fundamental usage of lsof, namely to show the relationship between open files and the processes that own them.
在前面的部分中,我们研究了 lsof的基本用法,即显示打开的文件和控制它们的进程之间的关系。
Apart from executing its instructions, a process might be engaged in managing open files, processor context, address space, and data related to the program, among other things.
除了执行其指令之外,进程有时还会管理打开文件、处理器上下文、地址空间以及与程序相关的数据等。
The previous section showed how to identify open files and directories on a local device, but you can just as easily get the same information about a mounted remote file system.
前一节演示了如何识别本地设备上打开的文件和目录,对于挂载的远程文件系统也很容易获得相同的信息。
If you run a program or open a file directly from a Web site and it causes your computer or other programs to shut down, you could lose unsaved work in any open files on your computer.
如果直接从网站运行程序或打开文件,可能会导致计算机或其他程序关闭,从而丢失计算机上打开的文件中尚未保存的工作。
When performing operations on a file's meta-information, such as changing its owner, stat-ing the file, or changing its permission bits, first open the file and then use the operations on open files.
当对文件的元信息进行操作时(比如修改它的所有者、对文件进行统计,或者修改它的权限位),首先要打开该文件,然后对打开的文件进行操作。
When performing operations on a file's meta-information, such as changing its owner, stat-ing the file, or changing its permission bits, first open the file and then use the operations on open files.
当对文件的元信息进行操作时(比如修改它的所有者、对文件进行统计,或者修改它的权限位),首先要打开该文件,然后对打开的文件进行操作。
应用推荐