タグ

ブックマーク / ajdiaz.wordpress.com (1)

  • /proc and /sys tricks

    Really the sysfs and /proc filesystems are worlds of magic and fantasy. Each day I discover a new trick using this filesystems. So, I decided to post a short summary of my favorites ones. Enjoy and feel free to add your tricks in comments, maybe we can a /proc and /sys knownledge database in a post 🙂 1. Scanning for LUNs in attached FC (or any other SCSI compliance host). echo "- - -" > /sys/clas

    /proc and /sys tricks
    witchstyle
    witchstyle 2012/10/31
    (2009/06/20のエントリ) cat /proc/XXX/fd/YY > /tmp/myfile_restored で、「間違ってrmしたけど、まだ何かのプロセスが開いているファイル」を復旧できるとはしらなかった
  • 1