linux - Where does a C program write output after I did "rm" on the output file? -


i ran rather nasty c program on computing cluster running redhat got infinite loop, within each of printed line of output. when realized creating file use disk space, ran "rm" on output file before killed program. unfortunately, per "df -h" space continued used on drive before killed program.

i can't find file written, i'm unable delete it. such file written to?

killing program should release disk space. until then, file unlinked folder, not cease exist (as inode) long actively open.

check ls -l /proc/<pid>/fd see files are; essentially, kernel knows process somewhere in /proc/<pid>.

read lot more on how deal these problems here: https://unix.stackexchange.com/questions/68523/find-and-remove-large-files-that-are-open-but-have-been-deleted


Comments

Popular posts from this blog

node.js - Using Node without global install -

How to access a php class file from PHPFox framework into javascript code written in simple HTML file? -

java - Null response to php query in android, even though php works properly -