
top | 477
Linux
Commands
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
-s scale
Specify scale (number of characters between each graph tick).
A smaller number results in a larger scale.
-V Print version information and exit.
tmpwatch
tmpwatch [options] hours directory
System administration command. Recursively remove regular files
and directories in directory with access times older than hours.
Specify the directory as an absolute path. This command is usually
invoked by cron to remove old files in the /tmp directory.
Options
-a, --all
Remove all file types.
-c, --ctime
Make decision on last inode change time for files and modifi-
cation time for directories instead of access time
-d, --nodirs
Do not remove directories.
-f, --force
Force removal of read-only files (similar to rm -f).
-m, --mtime
Make decision on last modification time instead of access
time.
-s, --fuser
Before deleting, attempt to use fuser to see if a file is in use.
-t, --test
Verbosely test command, but don’t actually remove files.
-u, --atime
Make decision on access time. (This is the default.)
-v, --verbose
Print more details. Use two times to further increase the detail
of the output.
-x, --exclude=path
Skip the specified path, the absolute path of a directory or file.
top
top [options]
Provide information (frequently refreshed) about the most CPU-
intensive processes currently