Tag Archives: filesystem

How to kill all processes accessing a filesystem on Ubuntu

This is not really safe, ok 😀 ? Do it on 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