/usr/share/doc/HOWTO/ja-html/From-PowerUp-To-Bash-Prompt-HOWTO-8.html is in doc-linux-ja-html 2006.05.25-1.1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
<TITLE>From Power Up To Bash Prompt: $B%+!<%M%k%G!<%b%s(B</TITLE>
<LINK HREF="From-PowerUp-To-Bash-Prompt-HOWTO-9.html" REL=next>
<LINK HREF="From-PowerUp-To-Bash-Prompt-HOWTO-7.html" REL=previous>
<LINK HREF="From-PowerUp-To-Bash-Prompt-HOWTO.html#toc8" REL=contents>
</HEAD>
<BODY>
<A HREF="From-PowerUp-To-Bash-Prompt-HOWTO-9.html">$B<!$N%Z!<%8(B</A>
<A HREF="From-PowerUp-To-Bash-Prompt-HOWTO-7.html">$BA0$N%Z!<%8(B</A>
<A HREF="From-PowerUp-To-Bash-Prompt-HOWTO.html#toc8">$BL\<!$X(B</A>
<HR>
<H2><A NAME="s8">8. $B%+!<%M%k%G!<%b%s(B</A></H2>
<P><CODE>ps aux</CODE> $B%3%^%s%I$r<B9T$9$k$H!"0J2<$K<($9$h$&$J$b$N$,8=$l$k!#(B
<P>
<P>
<PRE>
USER PID %CPU %MEM SIZE RSS TTY STAT START TIME COMMAND
root 1 0.1 8.0 1284 536 ? S 07:37 0:04 init [2]
root 2 0.0 0.0 0 0 ? SW 07:37 0:00 (kflushd)
root 3 0.0 0.0 0 0 ? SW 07:37 0:00 (kupdate)
root 4 0.0 0.0 0 0 ? SW 07:37 0:00 (kpiod)
root 5 0.0 0.0 0 0 ? SW 07:37 0:00 (kswapd)
root 52 0.0 10.7 1552 716 ? S 07:38 0:01 syslogd -m 0
root 54 0.0 7.1 1276 480 ? S 07:38 0:00 klogd
root 56 0.3 17.3 2232 1156 1 S 07:38 0:13 -bash
root 57 0.0 7.1 1272 480 2 S 07:38 0:01 /sbin/agetty 38400 tt
root 64 0.1 7.2 1272 484 S1 S 08:16 0:01 /sbin/agetty -L ttyS1
root 70 0.0 10.6 1472 708 1 R Sep 11 0:01 ps aux
</PRE>
<P>
<P>$B>e5-$O%7%9%F%`>e$GF0$$$F$$$k%W%m%;%9$N%j%9%H$G$"$k!#$3$l$i$N>pJs$O!"A0>O$G@bL@(B
$B$7$?(B <CODE>/proc</CODE> $B%U%!%$%k%7%9%F%`$+$i<hF@$5$l$k!#(B<CODE>init</CODE> $B$N%W%m%;%9(B
ID $B$,(B 1 $B$G$"$k$3$H$KCm0U$7$F$[$7$$!#%W%m%;%9(B ID $B$N(B 2,3,4 $B$H(B 5 $B$O!"$=$l$>$l(B
<CODE>kflushd</CODE>, <CODE>kupdate</CODE>, <CODE>kpiod</CODE>, $B$=$7$F(B <CODE>kswapd</CODE>
$B$G$"$k!#$7$+$7$3$l$K$O4qL/$JE@$,$"$k!#2>A[%9%H%l!<%8%5%$%:(B(SIZE)$B$H%j%"%k%9%H(B
$B%l!<%8%5%$%:(B(RSS)$B$N9T$KCmL\$9$k$H!"$3$l$i$N%W%m%;%9$N%5%$%:$O%<%m$H$J$C$F$$$k!#(B
$B%W%m%;%9$,%a%b%j$r>CHq$7$J$$$3$H$,5/$3$j$&$k$@$m$&$+!)(B
<P>
<P>$B$3$l$i$N%W%m%;%9$O!"%+!<%M%k%G!<%b%s$G$"$k!#%+!<%M%k$NBgItJ,$O%W%m%;%9(B
$B%j%9%H$K$O8=$l$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$,8F$S=P$5$l$k!#(B
<P>
<P>$B$^$?!"%+!<%M%k$K>JEENO5!G=$rAH$_9~$s$G$$$k>l9g$O!"%7%9%F%`>e$G(B <CODE>kapmd</CODE> $B%G!<%b%s$,Av$C$F$$$k$+$b$7$l$J$$!#(B
<P>
<P>
<P>
<P>
<P>
<H2><A NAME="ss8.1">8.1 $B@_Dj(B</A>
</H2>
<P><CODE>update</CODE> $B%W%m%0%i%`$r;H$($P!"(B<CODE>kflushd</CODE> $B$H(B <CODE>kswapd</CODE> $B$r(B
$B@_Dj$9$k$3$H$,$G$-$k!#%3%^%s%I(B <CODE>update -h</CODE> $B$r;H$($P>\$7$$>pJs$,(B
$BI=<($5$l$k!#(B
<P>
<P>$B%9%o%C%W6u4V$O!"(B<CODE>swapon</CODE> $B%3%^%s%I$GM-8z$K$J$j!"(B<CODE>swapoff</CODE>
$B%3%^%s%I$GL58z$K$J$k!#=i4|2=%9%/%j%W%H(B(<CODE>/etc/rc.sysinit</CODE> $B$b$7$/$O(B
<CODE>/etc/rc.d/rc.sysinit</CODE>)$B$O!"DL>o!"%7%9%F%`5/F0;~$K(B <CODE>swapon</CODE> $B$r(B
$B8F$S=P$9!#(B<CODE>swapoff</CODE> $B$O!"%i%C%W%H%C%W>e$G$N>CHqEENO@aLs$N$?$a$KM-8z$G(B
$B$"$k$=$&$@!#(B
<P>
<H2><A NAME="ss8.2">8.2 $B1i=,(B</A>
</H2>
<P><CODE>update -d</CODE> $B$HBG$A!"I=<($5$l$?9T$N:G8e$K!V7;Do%P%C%U%!;&$7(B
$B$NogCM(B(threshold for buffer fratricide)$B!W$H=q$+$l$F$$$k$3$H$KCmL\$;$h!#(B
$BLLGr$=$&$J35G0$G$"$k!#D4$Y$F$_$h$&!*(B
<P>
<P><CODE>/proc/sys/vm</CODE> $B%G%#%l%/%H%j$K9T$-!"$=$3$K$"$k%U%!%$%k$NFbMF$r(B <CODE>cat</CODE> $B$G=PNO$7!"=PNO7k2L$r8+$k$3$H!#(B
<P>
<H2><A NAME="ss8.3">8.3 $B;29MJ88%Ey(B</A>
</H2>
<P>
<P>Linux Documentation Project $B$N(B "The Linux Kernel"
( URL $B$K$D$$$F$O!"(B
<A HREF="From-PowerUp-To-Bash-Prompt-HOWTO-4.html#Kernel">$B$3$3(B</A>$B$r8+$k$3$H!#(B)
<P>
<P>$BM&5$$"$kFI<T$O!"(BLinux $B%+!<%M%k$N%=!<%9%3!<%I$rFI$`$3$H!#(B
<CODE>kswapd</CODE> $B$N%3!<%I$O!"(B<CODE>linux/mm/vmscan.c</CODE> $B$K$"$j!"(B
<CODE>kflushd</CODE> $B$H(B <CODE>kupdate</CODE> $B$N%3!<%I$O(B <CODE>linux/fs/buffer.c</CODE>
$B$K$"$k!#(B
<P>
<P>
<P>
<P>
<P>
<HR>
<A HREF="From-PowerUp-To-Bash-Prompt-HOWTO-9.html">$B<!$N%Z!<%8(B</A>
<A HREF="From-PowerUp-To-Bash-Prompt-HOWTO-7.html">$BA0$N%Z!<%8(B</A>
<A HREF="From-PowerUp-To-Bash-Prompt-HOWTO.html#toc8">$BL\<!$X(B</A>
</BODY>
</HTML>
|