• Kirill Smelkov's avatar
    X wcfs: lsof +D misbehaves - don't use it · 3244f3a6
    Kirill Smelkov authored
    For example even with live wcfs lsof +D output differes from regular lsof and is misleading:
    
        LSOF /dev/shm/wcfs/b53b61099c740b452b383db6df6dce4ad6d23ba2:
    
        COMMAND     PID       USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
        runUnitTe 29137 slapuser34   24r   REG   0,48      111    4 /dev/shm/wcfs/b53b61099c740b452b383db6df6dce4ad6d23ba2/.wcfs/zurl
        runUnitTe 29137 slapuser34   25u   REG   0,48        0    7 /dev/shm/wcfs/b53b61099c740b452b383db6df6dce4ad6d23ba2/head/watch
        runUnitTe 29137 slapuser34   26r   REG   0,48  2097152    9 /dev/shm/wcfs/b53b61099c740b452b383db6df6dce4ad6d23ba2/head/bigfile/00000000000077e2
    
        LSOF +D /dev/shm/wcfs/b53b61099c740b452b383db6df6dce4ad6d23ba2:
    
        COMMAND     PID       USER   FD   TYPE DEVICE SIZE/OFF       NODE NAME
        runUnitTe 29137 slapuser34   24r   REG   0,48      111 4294967295 /dev/shm/wcfs/b53b61099c740b452b383db6df6dce4ad6d23ba2/.wcfs/zurl
        runUnitTe 29137 slapuser34   25u   REG   0,48        0 4294967295 /dev/shm/wcfs/b53b61099c740b452b383db6df6dce4ad6d23ba2/.wcfs/zurl
        runUnitTe 29137 slapuser34   26r   REG   0,48  2097152 4294967295 /dev/shm/wcfs/b53b61099c740b452b383db6df6dce4ad6d23ba2/.wcfs/zurl
    3244f3a6
__init__.py 23.3 KB