----- Original Message ----- From: jhuniepi
To: Philippine Linux Users' Group (PLUG) Technical Discussion List
Sent: Friday, October 13, 2006 11:08 AM
Subject: [plug] invisible files


i have started a java program in background and redirect its stdout
and stderr in two different files in /tmp.

# java -server ClassName > /tmp/stdout.log 2>stderr.log

when the file is deleted, where does the java program dump its logs?

i have a case that `df -h` is reporting 86% used of /tmp eventhough
there is no large files there. but it is supposed that stdout.log and
stderr.log is there. i only asumed that the two files are deleted.

when i started the java program, it overwrites the log files so /tmp
is now 2% used.

can anyone provide an explanation on this?

rm is using unlink(2) system call... man 2 unlink for an explanation of your query...

fooler.
_________________________________________________
Philippine Linux Users' Group (PLUG) Mailing List
[email protected] (#PLUG @ irc.free.net.ph)
Read the Guidelines: http://linux.org.ph/lists
Searchable Archives: http://archives.free.net.ph

Reply via email to