Den fre 18 mars 2022 kl 16:29 skrev Harald Dunkel <[email protected]>:
> something on my gateway (7.0) is hiding disk space, AFAICS:
>
>         # du -hs /
>         3.4G    /
>         # df -h /
>         Filesystem     Size    Used   Avail Capacity  Mounted on
>         /dev/sd0a     31.5G    5.6G   24.3G    19%    /
>
> How can I find out which process is eating up disk space, without
> killing it, of course?

fstat(8) can help,

# fstat | sort -n -k 9
to get the largest open file at the bottom, third column is the PID.


-- 
May the most significant bit of your life be positive.

Reply via email to