Ari Constancio wrote:


On Tue, Nov 18, 2014 at 2:12 PM, Adam Moskowitz <ad...@menlo.com <mailto:ad...@menlo.com>> wrote:

    On the way home from LISA '14 I found myself already thinking
    about what
    I'm going to submit to next year's conference and about what I'm going
    to contribute to the community between now and then. I have some ideas
    about what I want to do but my inner sysadmin is screaming at me to
    first make sure I understand the problem before I design a solution.
    With that in mind, I'm asking everyone who reads this to take a moment
    and answer a few questions for me.

    I believe that many *nix sysadmins write programs (or "scripts,"
    if you
    prefer -- for this discussion the distinction doesn't matter). Maybe
    it's this simple:

            #!/bin/bash
            cd /home
            du -ks * | sort -n | head -10


Hi Adam,

Would you believe I've just run this a few minutes ago?

$ du -sm *|sort -nr|head -n10


Guess I should add the occasional awk and sed scripts / pipelines to sort through logs looking for things.

Miles Fidelman

--
In theory, there is no difference between theory and practice.
In practice, there is.   .... Yogi Berra

_______________________________________________
Tech mailing list
Tech@lists.lopsa.org
https://lists.lopsa.org/cgi-bin/mailman/listinfo/tech
This list provided by the League of Professional System Administrators
http://lopsa.org/

Reply via email to