There's a file (stream.wav
) which appears from time to time on the /sdcard
and it grows large and eventually eats up all available space. I need to find out the application which opens this file and keeps it growing.
Is there any way to determine this?
PS. The Android device is rooted.
adb shell
and run thelsof
command, e.g.adb shell "lsof | grep file.ext"
(if that file is namedfile.ext
). This would show which process/app is accessing it. Then grep for that owner inadb shell "ls -l /data/data | grep xxx"
(replace xxx by the owner retrieved vialsof
). In both cases, run the command as root.lsof
, almost forgot about it! FS ownership is useless to me.