home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 January / usenetsourcesnewsgroupsinfomagicjanuary1994.iso / sources / std_unix / v22 / 051 / text0000.txt < prev   
Encoding:
Text File  |  1991-03-07  |  1.8 KB  |  52 lines

  1. Submitted-by: jgd@csd4.csd.uwm.edu (John G Dobnick)
  2.  
  3. This is perhaps a silly question, but since I haven't used this year's
  4. quota of silliness yet... :-)
  5.  
  6.  
  7. Our CONVEX system, which claims POSIX compliance, has a system call
  8. that returns "system configuration" information.  If my memory serves
  9. (I'd check, but the books are at work, and the machine is being "PM"ed),
  10. the C-library function 'getsysinfo' retrieves this information.  Among
  11. the items retrieved are
  12.  
  13.     System type
  14.     Operating system type
  15.     Operating system level (or version number)
  16.     Processor type
  17.     Processor serial number
  18.     number of Processors (But, with multiple processors, shouldn't
  19.                   we also get multiple serial numbers?  Hmmm.)
  20.     Processor option mask (I believe this is an 'extension')
  21.     Memory interleave factor (also an extension, I believe)
  22.  
  23. One item glaringly missing is the size of physical memory installed.
  24. The writeup for the function claims it returns "system information", not
  25. "CPU information".   In my book, a "system" includes processors AND
  26. memory.
  27.  
  28. My question, to those of you who know what happened in the
  29. standardization process is threefold:
  30.  
  31.     a) Was memory size even considered for inclusion in the
  32.        'getsysinfo' (or whatever it's really named) call.
  33.  
  34.     b) If is was considered, why was it not included.
  35.  
  36.     c) How does one interrogate the system, in a 'standard' way,
  37.        to determine physical memory size?   (My initial guess is
  38.        that the answer will be "You don't.")
  39.  
  40. Have a Happy New Year, folks!
  41. -- 
  42. John G Dobnick  (JGD2)
  43. Computing Services Division @ University of Wisconsin - Milwaukee
  44. INTERNET: jgd@csd4.csd.uwm.edu             ATTnet: (414) 229-5727
  45. UUCP: uunet!uwm!csd4.csd.uwm.edu!jgd
  46.  
  47. "Knowing how things work is the basis for appreciation,
  48. and is thus a source of civilized delight."  -- William Safire
  49.  
  50. Volume-Number: Volume 22, Number 51
  51.  
  52.