Delila Program: memory

memory program

Documentation for the memory program is below, with links to related programs in the "see also" section.

{   version = 1.07; (* of memory.p 2010 Dec 05}

(* begin module describe.memory *)
(*
name
   memory: analysis of computer memory

synopsis
   memory(input: in, memoryp: in,
          pienumbers: out, piechartp: out, output: out)

files

   input:  line of output from top:

   memoryp:  parameters to control the program.  The file must contain the
      following parameters, one per line:

      parameterversion: The version number of the program.  This allows the
         user to be warned if an old parameter file is used.

      title of the piechart.  This can be the computer name, uname -n.
      One line.

      font size for the title of the piechart.

   piechart: input to piechart

   pienumbers:  input to piechart

description

   Use the output of top to show computer memory fractions like
   Mac OS X Activity Monitor's pie chart.

examples

documentation


  This program shows the memory in OS X (and maybe other Unix OS)
  using the top program.

  man top:

         -l <samples>
                Use logging mode and display <samples> samples, even
                if standard output  is  a  terminal.  0 is treated as
                infinity.  Rather than redisplaying, output is
                periodically printed in raw form.   Note that  the
                first sample displayed will have an invalid %CPU dis-
                played for each process, as it is calculated using the
                delta between samples.

so

top -l 1 | grep 'PhysMem'

gives

PhysMem: 574M wired, 576M active, 304M inactive, 1454M used, 15G free.

see also

   mem script

author

   Thomas Dana Schneider

bugs

technical notes

*)
(* end module describe.memory *)
{This manual page was created by makman 1.45}


{created by htmlink 1.62}