New one on me AIX 5.2with JFS2.
We have a log file that fills quite often I've created a script that watchs the file. When it gets to 1Gb cp it to a different file system compress it & empty the original using > filename.
Now after doing this du & df show the space has been recovered but ls show the file at the same size. The file is being written to by around 20-30 different processes.
Any Ideas?
Mike
"A foolproof method for sculpting an elephant: first, get a huge block of marble, then you chip away everything that doesn't look like an elephant."
We have a log file that fills quite often I've created a script that watchs the file. When it gets to 1Gb cp it to a different file system compress it & empty the original using > filename.
Now after doing this du & df show the space has been recovered but ls show the file at the same size. The file is being written to by around 20-30 different processes.
Any Ideas?
Mike
"A foolproof method for sculpting an elephant: first, get a huge block of marble, then you chip away everything that doesn't look like an elephant."