OSDN Git Service

Import translated manuals from JM CVS Repository.
[linuxjm/jm.git] / manual / LDP_man-pages / draft / man1 / time.1
1 .\" Copyright Andries Brouwer, 2000
2 .\"
3 .\" This page is distributed under GPL.
4 .\" Some fragments of text came from the time-1.7 info file.
5 .\" Inspired by kromJx@crosswinds.net.
6 .\"
7 .\" Japanese Version Copyright (c) 2008  Akihiro MOTOKI
8 .\"         all rights reserved.
9 .\" Translated 2008-11-20, Akihiro MOTOKI <amotoki@dd.iij4u.or.jp>, LDP v3.13
10 .\" 
11 .TH TIME 1 2008-11-14 "" "Linux User's Manual"
12 .\"O .SH NAME
13 .SH Ì¾Á°
14 .\"O time \- time a simple command or give resource usage
15 time \- ¥³¥Þ¥ó¥É¤Î»þ´Ö·×¬¤ä¥ê¥½¡¼¥¹»ÈÍÑÎ̤òɽ¼¨¤¹¤ë
16 .\"O .SH SYNOPSIS
17 .SH ½ñ¼°
18 .BI "time [" options "] " command " [" arguments... "] "
19 .\"O .SH DESCRIPTION
20 .SH ÀâÌÀ
21 .\"O The
22 .\"O .B time
23 .\"O command runs the specified program
24 .\"O .I command
25 .\"O with the given arguments.
26 .B time
27 ¥³¥Þ¥ó¥É¤Ï¡¢»ØÄꤵ¤ì¤¿¥×¥í¥°¥é¥à
28 .I command
29 ¤òÅϤµ¤ì¤¿°ú¤­¿ô¤Ç¼Â¹Ô¤¹¤ë¡£
30 .\"O When
31 .\"O .I command
32 .\"O finishes,
33 .\"O .B time
34 .\"O writes a message to standard error giving timing statistics
35 .\"O about this program run.
36 .I command
37 ¤¬½ªÎ»¤¹¤ë¤È¡¢
38 .B time
39 ¤Ï¤³¤Î¥×¥í¥°¥é¥à¤Î¼Â¹Ô»þ´Ö¤ÎÅý·×¾ðÊó¤Ë¤Ä¤¤¤Æ¤Î¥á¥Ã¥»¡¼¥¸¤ò
40 ɸ½à¥¨¥é¡¼½ÐÎϤ˽ÐÎϤ¹¤ë¡£
41 .\"O These statistics consist of (i) the elapsed real time
42 .\"O between invocation and termination, (ii) the user CPU time
43 .\"O (the sum of the
44 .\"O .I tms_utime
45 .\"O and
46 .\"O .I tms_cutime
47 .\"O values in a
48 .\"O .I "struct tms"
49 .\"O as returned by
50 .\"O .BR times (2)),
51 .\"O and (iii) the system CPU time (the sum of the
52 .\"O .I  tms_stime
53 .\"O and
54 .\"O .I tms_cstime
55 .\"O values in a
56 .\"O .I "struct tms"
57 .\"O as returned by
58 .\"O .BR times (2)).
59 ɽ¼¨¤µ¤ì¤ëÅý·×¾ðÊó¤Ï°Ê²¼¤Î»°¤Ä¤«¤é¹½À®¤µ¤ì¤ë:
60 (i) µ¯Æ°¤«¤é½ªÎ»¤Þ¤Ç¤Ë·Ð²á¤·¤¿¼Â»þ´Ö (real time)¡¢
61 (ii) ¥æ¡¼¥¶ CPU »þ´Ö
62 .RB ( times (2)
63 ¤¬ÊÖ¤¹
64 .I "struct tms"
65 ¤Î
66 .I tms_utime
67 ¤È
68 .I tms_cutime
69 ¤ÎÃͤιç·×)¡¢
70 (iii) ¥·¥¹¥Æ¥à CPU »þ´Ö
71 .RB ( times (2)
72 ¤¬ÊÖ¤¹
73 .I "struct tms"
74 ¤Î
75 .I tms_stime
76 ¤È
77 .I tms_cstime
78 ¤ÎÃͤιç·×)¡£
79
80 .\"O Note: some shells (e.g.,
81 .\"O .BR bash (1))
82 .\"O have a built-in
83 .\"O .B time
84 .\"O command that provides less functionality than the command described here.
85 .\"O To access the real command, you may need to specify its pathname
86 .\"O (something like
87 .\"O .IR /usr/bin/time ).
88 .RB ( bash (1)
89 ¤Ê¤É¤Î) ¤¤¤¯¤Ä¤«¤Î¥·¥§¥ë¤Ë¤Ï¡¢¤³¤³¤ÇÀâÌÀ¤¹¤ë¥³¥Þ¥ó¥É¤è¤ê¤â
90 µ¡Ç½¤¬¾¯¤Ê¤¤¡¢ÁȤ߹þ¤ß¤Î
91 .B time
92 ¥³¥Þ¥ó¥É¤¬Â¸ºß¤¹¤ë¡£
93 ÁȤ߹þ¤ß¤Ç¤Ï¤Ê¤¤¼ÂºÝ¤Î¥³¥Þ¥ó¥É¤ò»ÈÍѤ¹¤ë¤¿¤á¤Ë¤Ï¡¢
94 .RI ( /usr/bin/time
95 ¤Î¤è¤¦¤Ê) ¥³¥Þ¥ó¥É¤Î¥Ñ¥¹Ì¾¤ò»ØÄꤹ¤ëɬÍפ¬¤¢¤ë¤«¤â¤·¤ì¤Ê¤¤¡£
96 .\"O .SH OPTIONS
97 .SH ¥ª¥×¥·¥ç¥ó
98 .TP
99 .B \-p
100 .\"O When in the POSIX locale, use the precise traditional format
101 .\"O .br
102 .\"O .in +5
103 .\"O "real %f\enuser %f\ensys %f\en"
104 .\"O .in -5
105 .\"O .br
106 .\"O (with numbers in seconds)
107 .\"O where the number of decimals in the output for %f is unspecified
108 .\"O but is sufficient to express the clock tick accuracy, and at least one.
109 POSIX ¥í¥±¡¼¥ë¤Î¾ì¹ç¡¢ÅÁÅýŪ¤Ê¥Õ¥©¡¼¥Þ¥Ã¥È¤Ç¤¢¤ë
110 .in +5
111 "real %f\enuser %f\ensys %f\en"
112 .in -5
113 ¤¬»ÈÍѤµ¤ì¤ë (³Æ¿ô»ú¤ÏÉÃñ°Ì)¡£
114 %f ¤Î½ÐÎϤǤξ®¿ôÅÀ°Ê²¼¤Î·å¿ô¤Ïµ¬Äꤵ¤ì¤Æ¤¤¤Ê¤¤¤¬¡¢
115 ¥¯¥í¥Ã¥¯¡¦¥Æ¥£¥Ã¥¯ (clock tick) ¤ÎÀºÅÙ¤òɽ¤¹¤Î¤Ë½½Ê¬¤Ê·å¿ô¤È¤Ê¤ê¡¢
116 ¾¯¤Ê¤¯¤È¤â°ì·å¤Ï¸ºß¤¹¤ë¡£
117 .\"O .SH "EXIT STATUS"
118 .SH ½ªÎ»¥¹¥Æ¡¼¥¿¥¹
119 .\"O If
120 .\"O .I command
121 .\"O was invoked, the exit status is that of
122 .\"O .IR command .
123 .\"O Otherwise it is 127 if
124 .\"O .I command
125 .\"O could not be found, 126 if it could be found but could not be invoked,
126 .\"O and some other nonzero value (1-125) if something else went wrong.
127 .I command
128 ¤¬µ¯Æ°¤µ¤ì¤¿¾ì¹ç¤Ï¡¢
129 .I command
130 ¤Î½ªÎ»¥¹¥Æ¡¼¥¿¥¹¤¬½ªÎ»¥¹¥Æ¡¼¥¿¥¹¤È¤Ê¤ë¡£
131 .I command
132 ¤¬¸«¤Ä¤«¤é¤Ê¤«¤Ã¤¿¾ì¹ç¤Ï½ªÎ»¥¹¥Æ¡¼¥¿¥¹¤Ï 127 ¤Ç¡¢
133 .I command
134 ¤¬¸«¤Ä¤«¤Ã¤¿¤¬µ¯Æ°¤Ç¤­¤Ê¤«¤Ã¤¿¾ì¹ç¤Ï 126 ¤È¤Ê¤ë¡£
135 ¤³¤ì°Ê³°¤Ç²¿¤«¥¨¥é¡¼¤¬¤¢¤Ã¤¿¾ì¹ç¤Ï¡¢½ªÎ»¥¹¥Æ¡¼¥¿¥¹¤Ï
136 0 °Ê³°¤ÎÁ°µ­°Ê³°¤ÎÃÍ (1-125) ¤Î²¿¤«¤Ë¤Ê¤ë¡£
137 .\"O .SH ENVIRONMENT
138 .SH ´Ä¶­ÊÑ¿ô
139 .\"O The variables
140 .\"O .BR LANG ,
141 .\"O .BR LC_ALL ,
142 .\"O .BR LC_CTYPE ,
143 .\"O .BR LC_MESSAGES ,
144 .\"O .BR LC_NUMERIC ,
145 .\"O .BR NLSPATH ,
146 .\"O and
147 .\"O .B PATH
148 .\"O are used.
149 ´Ä¶­ÊÑ¿ô
150 .BR LANG ,
151 .BR LC_ALL ,
152 .BR LC_CTYPE ,
153 .BR LC_MESSAGES ,
154 .BR LC_NUMERIC ,
155 .BR NLSPATH ,
156 .B PATH
157 ¤¬»ÈÍѤµ¤ì¤ë¡£
158 .\"O The last one to search for
159 .\"O .IR command .
160 .\"O The remaining ones for the text and formatting of the output.
161 .B PATH
162 ¤Ï
163 .I command
164 ¤òõ¤¹¤Î¤Ë»È¤ï¤ì¤ë¡£¤½¤ì°Ê³°¤Ï½ÐÎÏʸ»ú¤ä½ñ¼°¤Ë»ÈÍѤµ¤ì¤ë¡£
165 .\"O .SH "GNU VERSION"
166 .SH GNU ¥Ð¡¼¥¸¥ç¥ó
167 .\"O Below a description of the GNU 1.7 version of
168 .\"O .BR time .
169 .\"O Disregarding the name of the utility, GNU makes it output lots of
170 .\"O useful information, not only about time used, but also on other
171 .\"O resources like memory, I/O and IPC calls (where available).
172 .\"O The output is formatted using a format string that can be specified
173 .\"O using the \-f option or the
174 .\"O .B TIME
175 .\"O environment variable.
176 °Ê²¼¤Ï GNU 1.7 ¥Ð¡¼¥¸¥ç¥ó¤Î
177 .BR time
178 ¤ÎÀâÌÀ¤Ç¤¢¤ë¡£¥³¥Þ¥ó¥É̾¤È¤Ï΢ʢ¤Ë¡¢GNU ¥Ð¡¼¥¸¥ç¥ó¤Ç¤Ï
179 Í­±×¤Ê¾ðÊ󤬤¿¤¯¤µ¤ó½ÐÎϤµ¤ì¤ë¡£»ÈÍÑ»þ´Ö¤À¤±¤Ç¤Ê¤¯¡¢
180 (¼èÆÀ¤Ç¤­¤ë¾ì¹ç¤Ë¤Ï) ¥á¥â¥ê¤ä I/O¡¢IPC ¸Æ¤Ó½Ð¤·¤Ê¤É¤Î¾¤Î¥ê¥½¡¼¥¹
181 ¤Ë´Ø¤¹¤ë¾ðÊó¤â½ÐÎϤµ¤ì¤ë¡£
182 ½ÐÎϤϥե©¡¼¥Þ¥Ã¥Èʸ»úÎó¤ò»È¤Ã¤ÆÀ°·Á¤µ¤ì¡¢
183 ¥Õ¥©¡¼¥Þ¥Ã¥Èʸ»úÎó¤Ï \-f ¥ª¥×¥·¥ç¥ó¤«´Ä¶­ÊÑ¿ô
184 .B TIME
185 ¤Ç»ØÄê¤Ç¤­¤ë¡£
186 .LP
187 .\"O The default format string is
188 ¥Ç¥Õ¥©¥ë¥È¤Î¥Õ¥©¡¼¥Þ¥Ã¥Èʸ»úÎó¤Ï°Ê²¼¤ÎÄ̤ꡣ
189 .br
190 .in +3
191 %Uuser %Ssystem %Eelapsed %PCPU (%Xtext+%Ddata %Mmax)k
192 .br
193 %Iinputs+%Ooutputs (%Fmajor+%Rminor)pagefaults %Wswaps
194 .br
195 .in -3
196 .LP
197 .\"O When the \-p option is given the (portable) output format
198 \-p ¥ª¥×¥·¥ç¥ó¤¬»ØÄꤵ¤ì¤¿¾ì¹ç¤Ë¤Ï¡¢(¾¤È¸ß´¹À­¤Î¤¢¤ë) ½ÐÎÏ
199 ¥Õ¥©¡¼¥Þ¥Ã¥È¤¬»ÈÍѤµ¤ì¤ë¡£
200 .br
201 .in +3
202 real %e
203 .br
204 user %U
205 .br
206 sys %S
207 .br
208 .in -3
209 .\"O is used.
210 .\"O .SS "The format string"
211 .SS "¥Õ¥©¡¼¥Þ¥Ã¥Èʸ»úÎó"
212 .\"O The format is interpreted in the usual printf-like way.
213 .\"O Ordinary characters are directly copied, tab, newline
214 .\"O and backslash are escaped using \et, \en and \e\e,
215 .\"O a percent sign is represented by %%, and otherwise %
216 .\"O indicates a conversion.
217 .\"O The program
218 .\"O .B time
219 .\"O will always add a trailing newline itself.
220 .\"O The conversions follow.
221 .\"O All of those used by
222 .\"O .BR tcsh (1)
223 .\"O are supported.
224 ¥Õ¥©¡¼¥Þ¥Ã¥È¤Ï¤è¤¯¤¢¤ë printf ·Á¼°¤Ç²ò¼á¤µ¤ì¤ë¡£
225 Ä̾ï¤Îʸ»ú¤Ï¤½¤Î¤Þ¤Þ¥³¥Ô¡¼¤µ¤ì¡¢
226 ¥¿¥Ö¡¢²þ¹Ô (newline)¡¢¥Ð¥Ã¥¯¥¹¥é¥Ã¥·¥å¤Ï¤½¤ì¤¾¤ì \et, \en, \e\e ¤Ç
227 ¥¨¥¹¥±¡¼¥×¤µ¤ì¤ë¡£
228 ¥Ñ¡¼¥»¥ó¥Èµ­¹æ¤Ï %% ¤Çɽ¸½¤µ¤ì¡¢¤½¤ì°Ê³°¤Î % ¤ÏÊÑ´¹¤ò¼¨¤¹¡£
229 ËöÈø¤Ë¤Ïɬ¤º²þ¹Ôʸ»ú (newline) ¤¬Äɲ䵤ì¤ë¡£
230 ÊÑ´¹¤Ï°Ê²¼¤ÎÄ̤ê¤Ç¤¢¤ë¡£
231 .BR tcsh (1)
232 ¤Ç»ÈÍѤµ¤ì¤ëÊÑ´¹¤ÏÁ´¤Æ¥µ¥Ý¡¼¥È¤µ¤ì¤Æ¤¤¤ë¡£
233 .LP
234 .B "Time"
235 .TP
236 .B %E
237 .\"O Elapsed real time (in [hours:]minutes:seconds).
238 ·Ð²á¤·¤¿¼Â»þ´Ö ([hours:]minutes:seconds ¤Î·Á¼°)¡£
239 .TP
240 .B %e
241 .\"O (Not in tcsh.) Elapsed real time (in seconds).
242 (tcsh ¤Ë¤Ï¤Ê¤¤) ·Ð²á¤·¤¿¼Â»þ´Ö (ÉÃñ°Ì)¡£
243 .TP
244 .B %S
245 .\"O Total number of CPU-seconds that the process spent in kernel mode.
246 ¤½¤Î¥×¥í¥»¥¹¤¬¥«¡¼¥Í¥ë¥â¡¼¥É¤Ç¾ÃÈñ¤·¤¿ CPU »þ´Ö¤Î¹ç·× (ÉÃñ°Ì)¡£
247 .TP
248 .B %U
249 .\"O Total number of CPU-seconds that the process spent in user mode.
250 ¤½¤Î¥×¥í¥»¥¹¤¬¥æ¡¼¥¶¥â¡¼¥É¤Ç¾ÃÈñ¤·¤¿ CPU »þ´Ö¤Î¹ç·× (ÉÃñ°Ì)¡£
251 .TP
252 .B %P
253 .\"O Percentage of the CPU that this job got, computed as (%U + %S) / %E.
254 ¤³¤Î¥¸¥ç¥Ö¤¬³ÍÆÀ¤·¤¿ CPU ¤Î³ä¤ê¹ç¤¤ (¥Ñ¡¼¥»¥ó¥Æ¡¼¥¸)¡£
255 (%U + %S) / %E ¤Ç·×»»¤µ¤ì¤ë¡£
256 .LP
257 .B "Memory"
258 .TP
259 .B %M
260 .\"O Maximum resident set size of the process during its lifetime, in Kbytes.
261 ¥×¥í¥»¥¹À¸Â¸Ãæ¤Î¤½¤Î¥×¥í¥»¥¹¤Î resident set size ¤ÎºÇÂçÃÍ¡£
262 ¥­¥í¥Ð¥¤¥Èñ°Ì¡£
263 .TP
264 .B %t
265 .\"O (Not in tcsh.) Average resident set size of the process, in Kbytes.
266 (tcsh ¤Ë¤Ï¤Ê¤¤)
267 ¤½¤Î¥×¥í¥»¥¹¤Î resident set size ¤ÎÊ¿¶ÑÃÍ¡£
268 ¥­¥í¥Ð¥¤¥Èñ°Ì¡£
269 .TP
270 .B %K
271 .\"O Average total (data+stack+text) memory use of the process,
272 .\"O in Kbytes.
273 ¤½¤Î¥×¥í¥»¥¹¤Î¥á¥â¥ê»ÈÍÑÎ̤ιç·× (¥Ç¡¼¥¿+¥¹¥¿¥Ã¥¯+¥Æ¥­¥¹¥È) ¤ÎÊ¿¶ÑÃÍ¡£
274 ¥­¥í¥Ð¥¤¥Èñ°Ì¡£
275 .TP
276 .B %D
277 .\"O Average size of the process's unshared data area, in Kbytes.
278 ¤½¤Î¥×¥í¥»¥¹¤ÎÈó¶¦Í­¥Ç¡¼¥¿Îΰè¤ÎÊ¿¶Ñ¥µ¥¤¥º¡£
279 ¥­¥í¥Ð¥¤¥Èñ°Ì¡£
280 .TP
281 .B %p
282 .\"O (Not in tcsh.) Average size of the process's unshared stack space, in Kbytes.
283 (tcsh ¤Ë¤Ï¤Ê¤¤)
284 ¤½¤Î¥×¥í¥»¥¹¤ÎÈó¶¦Í­¥¹¥¿¥Ã¥¯¶õ´Ö¤ÎÊ¿¶Ñ¥µ¥¤¥º¡£
285 ¥­¥í¥Ð¥¤¥Èñ°Ì¡£
286 .TP
287 .B %X
288 .\"O Average size of the process's shared text space, in Kbytes.
289 ¤½¤Î¥×¥í¥»¥¹¤Î¶¦Í­¥Æ¥­¥¹¥È¶õ´Ö¤ÎÊ¿¶Ñ¥µ¥¤¥º¡£
290 ¥­¥í¥Ð¥¤¥Èñ°Ì¡£
291 .TP
292 .B %Z
293 .\"O (Not in tcsh.) System's page size, in bytes.
294 .\"O This is a per-system constant, but varies between systems.
295 (tcsh ¤Ë¤Ï¤Ê¤¤) ¥·¥¹¥Æ¥à¤Î¥Ú¡¼¥¸¥µ¥¤¥º (¥Ð¥¤¥Èñ°Ì)¡£
296 ¤³¤ÎÃͤϥ·¥¹¥Æ¥àËè¤Ë·è¤Þ¤ëÄê¿ô¤À¤¬¡¢¥·¥¹¥Æ¥à¤Ë¤è¤ê°Û¤Ê¤ë¡£
297 .TP
298 .B %F
299 .\"O Number of major page faults that occurred while the process was running.
300 .\"O These are faults where the page has to be read in from disk.
301 ¥×¥í¥»¥¹¤ÎÆ°ºîÃæ¤ËȯÀ¸¤·¤¿¥á¥¸¥ã¡¼¥Ú¡¼¥¸¥Õ¥©¥ë¥È¤Î²ó¿ô¡£
302 ¤³¤ì¤Ï¡¢¥Ç¥£¥¹¥¯¤«¤é¥Ú¡¼¥¸¤òÆɤ߹þ¤àɬÍפ¬¤¢¤Ã¤¿¥Ú¡¼¥¸¥Õ¥©¥ë¥È¤Ë
303 ´Ø¤¹¤ë¤â¤Î¤Ç¤¢¤ë¡£
304 .TP
305 .B %R
306 .\"O Number of minor, or recoverable, page faults.
307 .\"O These are faults for pages that are not valid but which have
308 .\"O not yet been claimed by other virtual pages.  Thus the data
309 .\"O in the page is still valid but the system tables must be updated.
310 ¥Þ¥¤¥Ê¡¼¥Ú¡¼¥¸¥Õ¥©¡¼¥ë¥È¡¢¤Ä¤Þ¤ê²óÉü²Äǽ¤Ê¥Ú¡¼¥¸¥Õ¥©¥ë¥È¤Î²ó¿ô¡£
311 ¤³¤ì¤Ï¡¢¤½¤Î¥Ú¡¼¥¸¤ÏÍ­¸ú¤Ç¤Ê¤¤¤¬¡¢¤Þ¤À¾¤Î²¾ÁÛ¥Ú¡¼¥¸¤ËÃ¥¤ï¤ì¤Æ
312 ¤¤¤Ê¤«¤Ã¤¿¥Ú¡¼¥¸¤ËÂФ¹¤ë¥Ú¡¼¥¸¥Õ¥©¥ë¥È¤Ë´Ø¤¹¤ë¤â¤Î¤Ç¤¢¤ë¡£
313 .TP
314 .B %W
315 .\"O Number of times the process was swapped out of main memory.
316 ¤½¤Î¥×¥í¥»¥¹¤¬¼çµ­²±¤«¤é¥¹¥ï¥Ã¥×¥¢¥¦¥È¤µ¤ì¤¿²ó¿ô¡£
317 .TP
318 .B %c
319 .\"O Number of times the process was context-switched involuntarily
320 .\"O (because the time slice expired).
321 ¤½¤Î¥×¥í¥»¥¹¤¬ (¥¿¥¤¥à¥¹¥é¥¤¥¹¤Î·Ð²á¤Ë¤è¤ê) ¶¯À©Åª¤Ë¥³¥ó¥Æ¥­¥¹¥È¥¹¥¤¥Ã¥Á
322 ¤µ¤ì¤¿²ó¿ô¡£
323 .TP
324 .B %w
325 .\"O Number of waits: times that the program was context-switched voluntarily,
326 .\"O for instance while waiting for an I/O operation to complete.
327 wait ¤Î²ó¿ô¡¢¤Ä¤Þ¤ê¤½¤Î¥×¥í¥°¥é¥à¤¬¼«È¯Åª¤Ë¥³¥ó¥Æ¥­¥¹¥È¥¹¥¤¥Ã¥Á¤µ¤ì¤¿²ó¿ô¡£
328 Î㤨¤Ð¡¢I/O Áàºî¤Î´°Î»¤òÂԤäƤ¤¤ë´Ö¤Ê¤É¤¬³ºÅö¤¹¤ë¡£
329 .LP
330 .B "I/O"
331 .TP
332 .B %I
333 .\"O Number of file system inputs by the process.
334 ¤½¤Î¥×¥í¥»¥¹¤Ë¤è¤ë¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤«¤é¤ÎÆþÎϤβó¿ô¡£
335 .TP
336 .B %O
337 .\"O Number of file system outputs by the process.
338 ¤½¤Î¥×¥í¥»¥¹¤Ë¤è¤ë¥Õ¥¡¥¤¥ë¥·¥¹¥Æ¥à¤Ø¤Î½ÐÎϤβó¿ô¡£
339 .TP
340 .B %r
341 .\"O Number of socket messages received by the process.
342 ¤½¤Î¥×¥í¥»¥¹¤¬¼õ¿®¤·¤¿¥½¥±¥Ã¥È¥á¥Ã¥»¡¼¥¸¿ô¡£
343 .TP
344 .B %s
345 .\"O Number of socket messages sent by the process.
346 ¤½¤Î¥×¥í¥»¥¹¤¬Á÷¿®¤·¤¿¥½¥±¥Ã¥È¥á¥Ã¥»¡¼¥¸¿ô¡£
347 .TP
348 .B %k
349 .\"O Number of signals delivered to the process.
350 ¤½¤Î¥×¥í¥»¥¹¤ËÇÛÁ÷¤µ¤ì¤¿¥·¥°¥Ê¥ë¿ô¡£
351 .TP
352 .B %C
353 .\"O (Not in tcsh.) Name and command line arguments of the command being timed.
354 (tcsh ¤Ë¤Ï¤Ê¤¤) time ¤ÎÂоݤȤʤä¿¥³¥Þ¥ó¥É̾¤È¥³¥Þ¥ó¥É¥é¥¤¥ó°ú¤­¿ô¡£
355 .TP
356 .B %x
357 .\"O (Not in tcsh.) Exit status of the command.
358 (tcsh ¤Ë¤Ï¤Ê¤¤) ¥³¥Þ¥ó¥É¤Î½ªÎ»¥¹¥Æ¡¼¥¿¥¹¡£
359 .\"O .SS "GNU Options"
360 .SS "GNU ¥ª¥×¥·¥ç¥ó"
361 .TP
362 .BI "\-f " FORMAT ", \-\-format=" FORMAT
363 .\"O Specify output format, possibly overriding the format specified
364 .\"O in the environment variable TIME.
365 ½ÐÎÏ¥Õ¥©¡¼¥Þ¥Ã¥È¤ò»ØÄꤹ¤ë¡£
366 ´Ä¶­ÊÑ¿ô
367 .B TIME
368 ¤Ç»ØÄꤵ¤ì¤¿¥Õ¥©¡¼¥Þ¥Ã¥È¤è¤ê¤âÍ¥À褵¤ì¤ë¡£
369 .TP
370 .B "\-p, \-\-portability"
371 .\"O Use the portable output format.
372 ¾¤Î time ¤È¸ß´¹À­¤Î¤¢¤ë½ÐÎÏ¥Õ¥©¡¼¥Þ¥Ã¥È¤ò»ÈÍѤ¹¤ë¡£
373 .TP
374 .BI "\-o " FILE ", \-\-output=" FILE
375 .\"O Do not send the results to \fIstderr\fp, but overwrite the specified file.
376 ·ë²Ì¤ò \fIstderr\fP ¤ËÁ÷¤é¤º¡¢»ØÄꤵ¤ì¤¿¥Õ¥¡¥¤¥ë¤Ë½ñ¤­¹þ¤à¡£
377 ¥Õ¥¡¥¤¥ë¤Ï¾å½ñ¤­¤µ¤ì¤ë¡£
378 .TP
379 .B "\-a, \-\-append"
380 .\"O (Used together with \-o.) Do not overwrite but append.
381 (\-o ¤È°ì½ï¤Ë»ÈÍѤ¹¤ë¡£)
382 ¥Õ¥¡¥¤¥ë¤ò¾å½ñ¤­¤»¤º¤Ë¡¢·ë²Ì¤ò¥Õ¥¡¥¤¥ëËöÈø¤ËÄɲ乤롣
383 .TP
384 .B "\-v, \-\-verbose"
385 .\"O Give very verbose output about all the program knows about.
386 Èó¾ï¤Ë¾Ü¤·¤¤½ÐÎϤǡ¢Æþ¼ê¤Ç¤­¤ëÁ´¤Æ¤Î¾ðÊó¤ò½ÐÎϤ¹¤ë¡£
387 .\"O .SS "GNU Standard Options"
388 .SS "GNU É¸½à¥ª¥×¥·¥ç¥ó"
389 .TP
390 .B "\-\-help"
391 .\"O Print a usage message on standard output and exit successfully.
392 »ÈÍÑÊýË¡¤Ë´Ø¤¹¤ë¥á¥Ã¥»¡¼¥¸¤òɸ½à½ÐÎϤËɽ¼¨¤·¡¢Àµ¾ï½ªÎ»¤¹¤ë¡£
393 .TP
394 .B "\-V, \-\-version"
395 .\"O Print version information on standard output, then exit successfully.
396 ¥Ð¡¼¥¸¥ç¥ó¾ðÊó¤òɸ½à½ÐÎϤËɽ¼¨¤·¡¢Àµ¾ï½ªÎ»¤¹¤ë¡£
397 .TP
398 .B "\-\-"
399 .\"O Terminate option list.
400 ¥ª¥×¥·¥ç¥ó¥ê¥¹¥È¤ÎËöÈø¤ò¼¨¤¹¡£
401 .\"O .SH BUGS
402 .SH ¥Ð¥°
403 .\"O Not all resources are measured by all versions of Unix,
404 .\"O so some of the values might be reported as zero.
405 .\"O The present selection was mostly inspired by the data
406 .\"O provided by 4.2 or 4.3BSD.
407 Á´¤Æ¤Î¥ê¥½¡¼¥¹¤¬ Unix ¤ÎÁ´¤Æ¤Î¥Ð¡¼¥¸¥ç¥ó¤Ç·×¬¤µ¤ì¤Æ¤¤¤ë¤ï¤±¤Ç¤Ï¤Ê¤¤¤Î¤Ç¡¢
408 ¤¤¤¯¤Ä¤«¤ÎÃͤ¬ 0 ¤ÈÊó¹ð¤µ¤ì¤ë²ÄǽÀ­¤¬¤¢¤ë¡£
409 ¸½ºß¤Î½ÐÎϹàÌܤΤۤȤó¤É¤Ï 4.2BSD ¤ä 4.3BSD ¤Ç¼èÆÀ²Äǽ¤Ê¥Ç¡¼¥¿¤Ë
410 ´ð¤Å¤¤¤ÆÁªÂò¤µ¤ì¤Æ¤¤¤ë¡£
411 .LP
412 .\"O GNU time version 1.7 is not yet localized.
413 .\"O Thus, it does not implement the POSIX requirements.
414 GNU time ¥Ð¡¼¥¸¥ç¥ó 1.7 ¤Ï¤Þ¤À¥í¡¼¥«¥é¥¤¥º¤µ¤ì¤Æ¤¤¤Ê¤¤¡£
415 ¤½¤Î¤¿¤á¡¢POSIX ¤ÎÍ×·ï¤ò¼ÂÁõ¤·¤Æ¤¤¤Ê¤¤¤³¤È¤Ë¤Ê¤ë¡£
416 .LP
417 .\"O The environment variable
418 .\"O .B TIME
419 .\"O was badly chosen.
420 .\"O It is not unusual for systems like
421 .\"O .BR autoconf (1)
422 .\"O or
423 .\"O .BR make (1)
424 .\"O to use environment variables with the name of a utility to override
425 .\"O the utility to be used.
426 .\"O Uses like MORE or TIME for options to programs
427 .\"O (instead of program pathnames) tend to lead to difficulties.
428 .B TIME
429 ¤È¤¤¤¦´Ä¶­ÊÑ¿ô¤Ï̾Á°¤ÎÁªÂò¤¬¤Þ¤º¤¤¡£
430 .BR autoconf (1)
431 ¤ä
432 .BR make (1)
433 ¤Î¤è¤¦¤Ê¥·¥¹¥Æ¥à¤Ç¤Ï¡¢»ÈÍѤ¹¤ë¥³¥Þ¥ó¥É¤ò¾å½ñ¤­¤¹¤ë¤Î¤Ë¤½¤Î¥³¥Þ¥ó¥É¤Î
434 ̾Á°¤Î´Ä¶­ÊÑ¿ô¤ò»È¤¦¤Î¤¬ÄÁ¤·¤¯¤Ê¤¤¡£
435 MORE ¤ä TIME ¤Î¤è¤¦¤Ê̾Á°¤ò (¥×¥í¥°¥é¥à¤Î¥Ñ¥¹Ì¾¤Î»ØÄê¤Ç¤Ï¤Ê¤¯)
436 ¥×¥í¥°¥é¥à¤Ø¤Î¥ª¥×¥·¥ç¥ó¤ò»ØÄꤹ¤ë¤Î¤Ë»È¤¦¤È¡¢
437 ÌÌÅݤʤ³¤È¤ò°ú¤­µ¯¤³¤¹²ÄǽÀ­¤¬¹â¤¤¡£
438 .LP
439 .\"O It seems unfortunate that \-o overwrites instead of appends.
440 .\"O (That is, the \-a option should be the default.)
441 \-o ¤¬Äɵ­¤Ç¤Ï¤Ê¤¯¾å½ñ¤­¤Ë¤Ê¤Ã¤Æ¤¤¤ë¤Î¤Ï»ÄÇ°¤Ê¤³¤È¤À
442 (¤Ä¤Þ¤ê \-a ¥ª¥×¥·¥ç¥ó¤¬¥Ç¥Õ¥©¥ë¥È¤Ë¤Ê¤Ã¤Æ¤¤¤ë¤Ù¤­¤À¤í¤¦¤È¤¤¤¦¤³¤È¤À)¡£
443 .LP
444 .\"O Mail suggestions and bug reports for GNU
445 .\"O .B time
446 .\"O to
447 .\"O .br
448 .\"O .I bug\-utils@prep.ai.mit.edu
449 .\"O .br
450 .\"O Please include the version of
451 .\"O .BR time ,
452 .\"O which you can get by running
453 .\"O .br
454 .\"O .I time \-\-version
455 .\"O .br
456 .\"O and the operating system
457 .\"O and C compiler you used.
458 GNU
459 .B time
460 ¤ËÂФ¹¤ëÄó°Æ¤ä¥Ð¥°¥ì¥Ý¡¼¥È¤Ï
461 .br
462 .I bug\-utils@prep.ai.mit.edu
463 .br
464 ¤Þ¤Ç¥á¡¼¥ë¤òÁ÷¤Ã¤Æ¤Û¤·¤¤¡£
465 ¤½¤Î¾ì¹ç¤Ë¤Ï
466 .B time
467 ¤ä OS¡¢»ÈÍѤ·¤Æ¤¤¤ë C ¥³¥ó¥Ñ¥¤¥é¤Î
468 ¥Ð¡¼¥¸¥ç¥ó¤òµ­ºÜ¤·¤Æ¤Û¤·¤¤¡£
469 .B time
470 ¤Î¥Ð¡¼¥¸¥ç¥ó¤Ï°Ê²¼¤Î¥³¥Þ¥ó¥É¤Ç¼èÆÀ¤Ç¤­¤ë¡£
471 .br
472 .I time \-\-version
473 .br
474 .\" .SH AUTHORS
475 .\" .TP
476 .\" .IP "David Keppel"
477 .\" Original version
478 .\" .IP "David MacKenzie"
479 .\" POSIXization, autoconfiscation, GNU getoptization,
480 .\" documentation, other bug fixes and improvements.
481 .\" .IP "Arne Henrik Juul"
482 .\" Helped with portability
483 .\" .IP "Francois Pinard"
484 .\" Helped with portability
485 .\"O .SH "SEE ALSO"
486 .SH ´ØÏ¢¹àÌÜ
487 .BR tcsh (1),
488 .BR times (2),
489 .BR wait3 (2)