mirror of
https://github.com/xmengnet/the-art-of-command-line.git
synced 2024-12-25 01:56:30 +08:00
Verify disk space with lsof
This commit is contained in:
parent
a38a24a1ed
commit
e64c2f3c09
1 changed files with 2 additions and 0 deletions
|
@ -312,6 +312,8 @@ Also use `rsync` instead of `scp`, so that after network interruption you resume
|
||||||
|
|
||||||
- Use `dmesg` whenever something's acting really funny (it could be hardware or driver issues).
|
- Use `dmesg` whenever something's acting really funny (it could be hardware or driver issues).
|
||||||
|
|
||||||
|
- If you delete a file and it doesn't free up expected disk space as reported by `du`, check whether the file is in use by a process:
|
||||||
|
`lsof | grep deleted | grep "filename-of-my-big-file"`
|
||||||
|
|
||||||
## One-liners
|
## One-liners
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue