Search results

  1. Z

    SysInfo: a set of scripts that document your system

    That gives 2047. Although the problem seemed to be with multiplication, not division. While reading the expr man page, I noticed the -e option, to detect overflows. I added it to the script, and no longer get errors: RAM information System memory summary Total real memory available...
  2. Z

    SysInfo: a set of scripts that document your system

    I also get an error in the memory section: expr: illegal option -- 1 usage: expr [-e] expression expr: syntax error I threw a few extra lines into 020.mem to see the values of the memory variables: physmem: 3744890880 activemem: 140959744 inactmem: -1125810176 cachemem: 142274560 allmem...
Back
Top