03-21-2009
If / is currently increasing in size, some file in / is growing. I would find it (or them) by asking what files in / have been recently written..
find / -type f -mount -mtime -1 -print | xargs ls -l
after I know the culprit then I can make a plan. And by the way, lots of people put /var in / these days. It could be just a matter of trimming log files.
9 More Discussions You Might Find Interesting
1. Solaris
Hi,
I'm using sun solaris. Using df -h I have the following:
Filesystem size used avail capacity Mounted on
/dev/md/dsk/d2 12G 7.1G 4.6G 61% /
/proc 0K 0K 0K 0% /proc
mnttab 0K 0K 0K 0% ... (5 Replies)
Discussion started by: HSN
5 Replies
2. UNIX for Advanced & Expert Users
I am not very good at UNIX and seek help here. I tried to install Oracle 10g on a 64 bit Sun sparc machine with solaris 10 as OS. After I installed solaris 10, the current file system on the machine looks like this:
/dev/dsk/c0t0d0s0 5104758 4854293 199418 97% /
/devices ... (2 Replies)
Discussion started by: duke0001
2 Replies
3. Solaris
In linux df is the command to find free space what is the equivalent command in the Solaris (2 Replies)
Discussion started by: harishankar
2 Replies
4. Solaris
I am new to Solaris so please bear with me. I have spent enough time searching to get somewhat of a grip here but I am not sure what to do next. I am trying to grow a file system on a Solaris 8 server.
B_root@server:>df -k
Filesystem kbytes used avail capacity Mounted on... (9 Replies)
Discussion started by: NewSolarisAdmin
9 Replies
5. Linux
Hi all,
My disk space is 100% full.
df -k <dir> -> 100%
One of my debug files consume huge amount of space and i want to remove the same to start off fresh debugs.
However i'm unable to remove the file giving out the following error message:
rm -f debug.out22621
rm: cannot remove... (8 Replies)
Discussion started by: Pankajakshan
8 Replies
6. Shell Programming and Scripting
Hi,
I have a question regarding finding free space on the disk of a solaris machine.
Many mount points are available in my machine. Right now i am using
df -b option to get the free disk space available.
I have an assignment to check free space on the disk.
I pass the directory as a... (3 Replies)
Discussion started by: raghu.amilineni
3 Replies
7. UNIX for Dummies Questions & Answers
during installation i created four partitions mainly
/ 5GB
/home 1GB
/boot 100MB
swap 2GB
now since i didnt make the /usr partition all of the packages were being installed in the / partition ..now all the space in the / partition is filled ...i ran du -h... (3 Replies)
Discussion started by: tarunicon
3 Replies
8. Solaris
I got 4 hd each of 75GB. The os sun solaris 10 is installed on disk 0 and is almost full. see at df -k shows the following
$ df -k
Dateisystem kByte belegt verfügbar Kapazität Eingehängt auf
/dev/dsk/c1t0d0s0 6856805 6388140 400097 95% /
/devices 0 ... (3 Replies)
Discussion started by: j2me
3 Replies
9. UNIX for Advanced & Expert Users
I was tryin to copy a large file under /tmp location.
I guess the disk space got full and i got fork error.
Then I tried removing some files but the shell did not let me do anything
bash> rm apache22.tar
bash: fork: Not enough space
bash> pwd
/tmp
bash> vmstat 1
bash: fork: Not... (3 Replies)
Discussion started by: mohtashims
3 Replies
LEARN ABOUT DEBIAN
dwww-cache
DWWW-CACHE(8) Debian DWWW-CACHE(8)
NAME
dwww-cache - manage the dwww cache of converted documents
SYNOPSIS
dwww-cache --lookup type location
dwww-cache --store type location
dwww-cache --list type location
dwww-cache --list-all
dwww-cache --clean
DESCRIPTION
dwww-cache manages the cache of converted documents; it is part of dwww(7). An option (the first argument) specifies the operation. Some
operations operate on the whole cache, and need no other arguments. Others need the second and third argument to specify the type and
pathname of the original document. (See dwww-convert(8) for more information about the arguments.)
The operations are:
--lookup
If the document is in the cache, output it to the standard output. Otherwise, output nothing and return a non-zero status.
--store
Read the document from the standard input, output it to the standard output and store it into the cache. If there was an older ver-
sion already in the cache, remove it.
--list Output information about one document in the cache to the standard output. The information is one line, with four space delimited
fields: type, pathname of original, pathname of cached, and permanent flag (y or n).
--list-all
Like --list, but for all documents.
--clean
Forget all cached documents that have been deleted.
dwww-cache maintains a database with information of the cached documents. The documents themselves are stored in separate files in the
cache directory. When old documents are removed from the cache by a suitable crontab entry, they will still exist in the database. This
operation removes all entries from the database where either the original or the converted file is now missing.
To stop the cache from growing too large, an entry in root's crontab should remove cached files that have not been accessed for a while.
For example, the following commands remove all documents that have not been accessed for ten days:
find /var/cache/dwww -atime +10 | xargs rm -f
dwww-cache --clean
The idea is to first delete the old cached files and then clean up the database. The policy of cleaning the cache has been kept outside of
dwww-cache to keep the program simple, and to allow maximum flexibility. The default dwww installation creates a /etc/cron.daily/dwww,
which automatically cleans the cache each day.
FILES
/var/cache/dwww/db
The cache directory.
/var/cache/dwww/db/.cache_db
The database with information about all cached documents. This is a binary file, specially encoded for small size and high speed,
and should not be touched by anyone but dwww-cache.
SEE ALSO
dwww(7), dwww-convert(8).
AUTHOR
Lars Wirzenius <liw@iki.fi>. Modified by Robert Luberda <robert@debian.org>.
See dwww(7) for copyrights and stuff.
dwww 1.11.1 February 15th, 2009 DWWW-CACHE(8)