Find the answer to your Linux question:
Results 1 to 3 of 3
How do I write a script for my Linux that can show me total memory vs used memory and have it email me results if it's over 70 percent?...
  1. #1
    Just Joined!
    Join Date
    Apr 2010
    Posts
    1

    Shell Script

    How do I write a script for my Linux that can show me total memory vs used memory and have it email me results if it's over 70 percent?

  2. #2
    Just Joined! sathiya's Avatar
    Join Date
    Feb 2008
    Location
    Bangalore, India
    Posts
    97
    what do you mean by memory ?

    main memory or your hard disk ?!

  3. #3
    Just Joined! cfajohnson's Avatar
    Join Date
    May 2007
    Location
    Toronto, Canada
    Posts
    52
    Quote Originally Posted by drunknmaster View Post
    How do I write a script for my Linux that can show me total memory vs used memory and have it email me results if it's over 70 percent?

    Use the free command.

    However, the amount of memory used should always be more than 70%. The OS looks after allocating it in the most efficient manner.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...