-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TIL: fatrace - monitor file system access, find which process is waki…
…ng up your drive
- Loading branch information
Showing
1 changed file
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- | ||
date created: Sunday, January 19th 2025, 2:27:53 pm | ||
date modified: Sunday, January 19th 2025, 2:30:30 pm | ||
tags: | ||
- filesystem | ||
--- | ||
|
||
# fatrace | ||
|
||
fatrace - report system wide file access events | ||
|
||
## monitor filesystem access by process name | ||
|
||
figure out why your hard drives are waking up at seemingly random times. | ||
|
||
**just monitor the current mount point** | ||
|
||
to only monitor filesystem access in the mounted path `/mnt`, change into that directory and use the `-c` flag. `-t` adds a timestamp and `-o` writes everything out to a file | ||
|
||
```shell | ||
cd /mnt | ||
fatrace -c -t -o /tmp/fatrace.log | ||
``` |