
touch | 481
Linux
Commands
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
RES
Resident task size.
SWAP
Size of swapped-out portion of task.
VIRT
The total amount of virtual memory used by the task.
nDRT
Size of pages marked dirty.
#C Last-used processor, for multiprocessor systems.
SHR
Amount of shared memory used.
S State of the task. Values are S (sleeping), D (uninterruptible
sleep), R (running), Z (zombies), or T (stopped or traced),
possibly followed by < (negative nice value), N (positive nice
value), or W (swapped out).
WCHAN
Address or name of the kernel function in which the task is
currently sleeping.
TIME
Total CPU time used by task and any children.
TIME+
Like TIME, but shows the time down to hundredths of a
second.
%CPU
Share of CPU time since last update, as percentage of total
CPU time.
%MEM
Share of physical memory.
TTY
Controlling tty.
COMMAND
Command line (truncated if too long) if task is in memory, or
command name in parentheses if swapped out.
FLAGS
Task flags.
touch
touch [options] files
For one or more files, update the access time and modification time
(and dates) to the current time and date. touch is useful in forcing
other commands to handle files a certain way; for example, the
operation of make, and sometimes find, relies on a file’s access and
modification time. If a file doesn’t exist, touch creates it with a file
size of 0.