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”

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: