⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 node27.html

📁 linux管理操作指南!大家看看就知道!很不错的!无解压密码!
💻 HTML
字号:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<!--Converted with LaTeX2HTML 96.1-h (September 30, 1996) by Nikos Drakos (nikos@cbl.leeds.ac.uk), CBLU, University of Leeds -->
<HTML>
<HEAD>
<TITLE>The /proc filesystem</TITLE>
<META NAME="description" CONTENT="The /proc filesystem">
<META NAME="keywords" CONTENT="sag">
<META NAME="resource-type" CONTENT="document">
<META NAME="distribution" CONTENT="global">
<LINK REL=STYLESHEET HREF="sag.css" tppabs="http://linux.ccpi.gov.cn/Linux/linuxadmin/sag.css">
</HEAD>
<BODY LANG="EN" >
 <A NAME="tex2html606" HREF="node28.html" tppabs="http://linux.ccpi.gov.cn/Linux/linuxadmin/node28.html"><IMG WIDTH=37 HEIGHT=24 ALIGN=BOTTOM ALT="next" SRC="next_motif.gif" tppabs="http://linux.ccpi.gov.cn/Linux/linuxadmin/next_motif.gif"></A> <A NAME="tex2html604" HREF="node20.html" tppabs="http://linux.ccpi.gov.cn/Linux/linuxadmin/node20.html"><IMG WIDTH=26 HEIGHT=24 ALIGN=BOTTOM ALT="up" SRC="up_motif.gif" tppabs="http://linux.ccpi.gov.cn/Linux/linuxadmin/up_motif.gif"></A> <A NAME="tex2html600" HREF="node26.html" tppabs="http://linux.ccpi.gov.cn/Linux/linuxadmin/node26.html"><IMG WIDTH=63 HEIGHT=24 ALIGN=BOTTOM ALT="previous" SRC="previous_motif.gif" tppabs="http://linux.ccpi.gov.cn/Linux/linuxadmin/previous_motif.gif"></A> <A NAME="tex2html608" HREF="node1.html" tppabs="http://linux.ccpi.gov.cn/Linux/linuxadmin/node1.html"><IMG WIDTH=65 HEIGHT=24 ALIGN=BOTTOM ALT="contents" SRC="contents_motif.gif" tppabs="http://linux.ccpi.gov.cn/Linux/linuxadmin/contents_motif.gif"></A> <A NAME="tex2html609" HREF="node108.html" tppabs="http://linux.ccpi.gov.cn/Linux/linuxadmin/node108.html"><IMG WIDTH=43 HEIGHT=24 ALIGN=BOTTOM ALT="index" SRC="index_motif.gif" tppabs="http://linux.ccpi.gov.cn/Linux/linuxadmin/index_motif.gif"></A> <BR>
<B> Next:</B> <A NAME="tex2html607" HREF="node28.html" tppabs="http://linux.ccpi.gov.cn/Linux/linuxadmin/node28.html">Using Disks and Other </A>
<B>Up:</B> <A NAME="tex2html605" HREF="node20.html" tppabs="http://linux.ccpi.gov.cn/Linux/linuxadmin/node20.html">Overview of the Directory </A>
<B> Previous:</B> <A NAME="tex2html601" HREF="node26.html" tppabs="http://linux.ccpi.gov.cn/Linux/linuxadmin/node26.html">The /var filesystem</A>
<BR> <P>
<A NAME="943">&#160;</A><H1><A NAME="SECTION00450000000000000000"><tt>/proc</tt>文件系统</A></H1>
<P>
<tt>/proc</tt><A NAME="945">&#160;</A>文件系统是一个假的文件系统。
它不存在在磁盘某个磁盘上。而是由核心在内存中产生。用于提供关于系统的信息(originally about processes, hence the name)。
下面说明一些最重要的文件和目录。
<tt>/proc</tt><A NAME="947">&#160;</A>文件系统在<em>proc</em><A NAME="949">&#160;</A>man页中有更详细的说明。
	<DL ><DT><STRONG><tt>/proc/1</tt><A NAME="951">&#160;</A></STRONG>
<DD>
关于进程1的信息目录。每个进程在<tt>/proc</tt><A NAME="953">&#160;</A>下有一个名为其进程号的目录。
	<DT><STRONG><tt>/proc/cpuinfo</tt><A NAME="955">&#160;</A></STRONG>
<DD>
处理器信息,如类型、制造商、型号和性能。
	<DT><STRONG><tt>/proc/devices</tt><A NAME="957">&#160;</A></STRONG>
<DD>
当前运行的核心配置的设备驱动的列表。
	<DT><STRONG><tt>/proc/dma</tt><A NAME="959">&#160;</A></STRONG>
<DD>
显示当前使用的DMA通道。
	<DT><STRONG><tt>/proc/filesystems</tt><A NAME="961">&#160;</A></STRONG>
<DD>
核心配置的文件系统。
	<DT><STRONG><tt>/proc/interrupts</tt><A NAME="963">&#160;</A></STRONG>
<DD>
显示使用的中断,and how many of each there have been.
	<DT><STRONG><tt>/proc/ioports</tt><A NAME="965">&#160;</A></STRONG>
<DD>
当前使用的I/O端口。
	<DT><STRONG><tt>/proc/kcore</tt><A NAME="967">&#160;</A></STRONG>
<DD>
系统物理内存映象。与物理内存大小完全一样,但不实际占用这么多内存;it is generated on the fly as programs access it.
(记住:除非你把它拷贝到什么地方,<tt>/proc</tt><A NAME="969">&#160;</A>下没有任何东西占用任何磁盘空间。)
	<DT><STRONG><tt>/proc/kmsg</tt><A NAME="971">&#160;</A></STRONG>
<DD>
核心输出的消息。也被送到<tt>syslog</tt><A NAME="973">&#160;</A>。
	<DT><STRONG><tt>/proc/ksyms</tt><A NAME="975">&#160;</A></STRONG>
<DD>
核心符号表。
	<DT><STRONG><tt>/proc/loadavg</tt><A NAME="977">&#160;</A></STRONG>
<DD>
系统"平均负载";3个没有意义的指示器指出系统当前的工作量。
	<DT><STRONG><tt>/proc/meminfo</tt><A NAME="979">&#160;</A></STRONG>
<DD>
存储器使用信息,包括物理内存和swap。
	<DT><STRONG><tt>/proc/modules</tt><A NAME="981">&#160;</A></STRONG>
<DD>
当前加载了哪些核心模块。
	<DT><STRONG><tt>/proc/net</tt><A NAME="983">&#160;</A></STRONG>
<DD>
网络协议状态信息。
	<DT><STRONG><tt>/proc/self</tt><A NAME="985">&#160;</A></STRONG>
<DD>
到查看<tt>/proc</tt><A NAME="987">&#160;</A>的程序的进程目录的符号连接。
当2个进程查看<tt>/proc</tt><A NAME="989">&#160;</A>时,是不同的连接。
这主要便于程序得到它自己的进程目录。
	<DT><STRONG><tt>/proc/stat</tt><A NAME="991">&#160;</A></STRONG>
<DD>
系统的不同状态,such as the number of page faults since the system was booted.
	<DT><STRONG><tt>/proc/uptime</tt><A NAME="993">&#160;</A></STRONG>
<DD>
系统启动的时间长度。
	<DT><STRONG><tt>/proc/version</tt><A NAME="995">&#160;</A></STRONG>
<DD>
核心版本。
<P>
</DL>
注意所有上述文件给出易读的文本文件,有时可能是不易读的格式。有许多命令做了些格式化以更容易读。
例如,<tt>free</tt><A NAME="997">&#160;</A>程序读<tt>/proc/meminfo</tt><A NAME="999">&#160;</A>
并将给出的字节数转换为千字节(并增加了一些信息)。
<P>
<HR><A NAME="tex2html606" HREF="node28.html" tppabs="http://linux.ccpi.gov.cn/Linux/linuxadmin/node28.html"><IMG WIDTH=37 HEIGHT=24 ALIGN=BOTTOM ALT="next" SRC="next_motif.gif" tppabs="http://linux.ccpi.gov.cn/Linux/linuxadmin/next_motif.gif"></A> <A NAME="tex2html604" HREF="node20.html" tppabs="http://linux.ccpi.gov.cn/Linux/linuxadmin/node20.html"><IMG WIDTH=26 HEIGHT=24 ALIGN=BOTTOM ALT="up" SRC="up_motif.gif" tppabs="http://linux.ccpi.gov.cn/Linux/linuxadmin/up_motif.gif"></A> <A NAME="tex2html600" HREF="node26.html" tppabs="http://linux.ccpi.gov.cn/Linux/linuxadmin/node26.html"><IMG WIDTH=63 HEIGHT=24 ALIGN=BOTTOM ALT="previous" SRC="previous_motif.gif" tppabs="http://linux.ccpi.gov.cn/Linux/linuxadmin/previous_motif.gif"></A> <A NAME="tex2html608" HREF="node1.html" tppabs="http://linux.ccpi.gov.cn/Linux/linuxadmin/node1.html"><IMG WIDTH=65 HEIGHT=24 ALIGN=BOTTOM ALT="contents" SRC="contents_motif.gif" tppabs="http://linux.ccpi.gov.cn/Linux/linuxadmin/contents_motif.gif"></A> <A NAME="tex2html609" HREF="node108.html" tppabs="http://linux.ccpi.gov.cn/Linux/linuxadmin/node108.html"><IMG WIDTH=43 HEIGHT=24 ALIGN=BOTTOM ALT="index" SRC="index_motif.gif" tppabs="http://linux.ccpi.gov.cn/Linux/linuxadmin/index_motif.gif"></A> <BR>
<B> Next:</B> <A NAME="tex2html607" HREF="node28.html" tppabs="http://linux.ccpi.gov.cn/Linux/linuxadmin/node28.html">Using Disks and Other </A>
<B>Up:</B> <A NAME="tex2html605" HREF="node20.html" tppabs="http://linux.ccpi.gov.cn/Linux/linuxadmin/node20.html">Overview of the Directory </A>
<B> Previous:</B> <A NAME="tex2html601" HREF="node26.html" tppabs="http://linux.ccpi.gov.cn/Linux/linuxadmin/node26.html">The /var filesystem</A>
<P><ADDRESS>
<I>Lars Wirzenius <BR>
Sun Jun 29 13:31:22 EEST 1997</I>
</ADDRESS>
</BODY>
</HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -