Command of the Day


I thought since I have so many little one-off’s that I do each day.. I would post up a “Command of the Day” as they present themselves worthy.  I am just going to put them in as comment for some kind of organizational reason I guess… 🙂

  1. #1 by gmconklin on October 7, 2010 - 4:22 pm

    I use this A LOT in our hybrid environment:

    mount.cifs //bufvmfacts01/G /G -o username=,password=

  2. #2 by gmconklin on June 30, 2010 - 10:36 am

    tload runs in a terminal and displays a text-only “graph” of current system load averages, garnered from /proc/loadavg:

    # tload

  3. #3 by gmconklin on June 30, 2010 - 10:28 am

    # Poll your memory every 5 seconds and dump it into a file
    vmstat -n 5 >> stats

  4. #4 by gmconklin on June 24, 2010 - 4:13 pm

    Flush your postfix mail Queue:
    # postsuper -d ALL

    Might want to use this one to check the Queue first though 🙂
    # qshape incoming active deferred

    Then you can watch the Queue for a little more than a minute (75 sec) if you want:
    # for i in {1..25}; do qshape incoming active deferred; sleep 3; done

    How about send a test email:
    # mail -s “Postfix Test” bigboss@gmail.com

Leave a comment