Tag Archives: filesystem

Create a filesystem report with Python

In many cases, data accumulates over time, and a lot of this data is not being accessed at all, sometimes for years. Accordingly, it would be great if you could create a report that shows which data, the last access … Continue reading

Posted in Linux | Tagged , , , , | Leave a comment

How to kill all processes accessing a filesystem on Ubuntu

This is not really safe, ok 😀 ? Do it at your own risk lsof | grep /filesystem_name | awk ‘{print $2}’ | xargs kill -9 That’s it, Enjoy!

Posted in Linux | Tagged , , , , , , | Leave a comment

Script to monitor a Filesystem on AIX

#!/bin/sh # This script checks if the /siebel filesystem reaches 2 GB of free space# And then delete the old logs except those of today warninglimit=2097152    # This number is in KB, it’s equal to 2 GB,                        # KB is … Continue reading

| Tagged , , | 1 Comment