Skip to content

Commit

Permalink
TIL: fatrace - monitor file system access, find which process is waki…
Browse files Browse the repository at this point in the history
…ng up your drive
  • Loading branch information
pew committed Jan 19, 2025
1 parent e8553c4 commit 23f7130
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions man/fatrace.md
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
```

0 comments on commit 23f7130

Please sign in to comment.