I've got a general question and I don't really find a correct explanation.
I have a program which is creating big files in /tmp/;
Theses files are created as follow :
FILE *tmp;
tmp = fopen(argv[i-1]+3, "w");
And I've got another program, checking all the executable and killing all the process which are using too much memory.
My question is as follow:
Is the first program in danger ? or writing in /tmp/ is considered a disk space used and not memory used ?
Thanks in advance for your answer,
Best Regards.