Hands-on task
How many files a rogue process holds
A process kswapd-helper is running on the server — it looks like a system one, but the kernel has no such thing. Before stopping it, collect evidence: count how many file descriptors it has open right now and write the number to /root/fd-count.txt. Don't touch the process.
- file descriptors
- /proc
- pgrep
- counting entries
- investigation