Shaare your links...
562 links
Morgangeek - Liens Home Blog Twitter Login RSS Feed ATOM Feed Tag cloud Picture wall Daily
Links per page: 20 50 100
page 1 / 1
1 results for tags ls x
  • filesystems - df in linux not showing correct free space after file removal - Server Fault
    find which process is using a deleted file
    lsof +L1

    ok this is cool but even if you deleted the file, the process still owns a handler to this file, and in some situations we don't want to kill the process. Here's a workaround using deletion of the file handler :
    go to the process folder
    cd /proc/PID/fd

    ls -l |grep deleted
    take note of the file handler ID. e.g here below the file handler is 1.
    l-wx------ 1 hudson devel 64 Feb  7 11:48 1 -> /crucible/data/current/var/log/fisheye.out (deleted)

    reclaim the space
    > 1
    Wed Dec 14 19:09:41 2016 - permalink -
    - http://serverfault.com/questions/232525/df-in-linux-not-showing-correct-free-space-after-file-removal
    files linux ls lsof ops productivity tips
Links per page: 20 50 100
page 1 / 1
Shaarli 0.0.41 beta - The personal, minimalist, super-fast, no-database delicious clone. By sebsauvage.net. Theme by idleman.fr. Modified by morgangeek.be.