home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / unix / ultrix / 8831 < prev    next >
Encoding:
Text File  |  1992-12-12  |  2.0 KB  |  72 lines

  1. Newsgroups: comp.unix.ultrix
  2. Path: sparky!uunet!spool.mu.edu!umn.edu!lynx!lacerta.unm.edu!sfreed
  3. From: sfreed@lacerta.unm.edu (Steve Freed)
  4. Subject: Re: showing physical memory size
  5. Message-ID: <w6!rfgl@lynx.unm.edu>
  6. Date: Sat, 12 Dec 92 05:58:41 GMT
  7. Organization: University of New Mexico, Albuquerque
  8. References: <1g31kfINNbk7@urmel.informatik.rwth-aachen.de> <1992Dec9.135544.19654@datum.nyo.dec.com>
  9. Lines: 61
  10.  
  11. In article <1992Dec9.135544.19654@datum.nyo.dec.com> frank@nyo.dec.com writes:
  12. >
  13. >Here's one way:
  14. >
  15. >$ /etc/uerf -r 300 -R | head -20 | grep 'real'
  16. >                                        real mem = 50331648
  17.  
  18. This works if you have re-booted the machine in the past few months. Before
  19. I got sysinfo, I used to do it this way:
  20.  
  21. % dd if=/dev/mem of=/dev/null bs=1000k
  22. 32+0 records in
  23. 32+0 records out
  24.  
  25. Sysinfo is a whole lot nicer:
  26.  
  27. % sysinfo
  28.  
  29.         GENERAL INFORMATION
  30.  
  31. Host Name           : lacerta.unm.edu
  32. Host Aliases        : lacerta
  33. Host Address(es)    : 129.24.14.70
  34. Host ID             : 00000000
  35. Serial Number       :
  36. Manufacturer        : DEC (Digital Equipment Corporation)
  37. System Model        : DECsystem-5000/100
  38. Main Memory         : 32 MB
  39. ROM Version         :
  40. CPU Type            : mips
  41. App Architecture    : mips
  42. Kernel Architecture : mips
  43. OS Name             : ULTRIX
  44. OS Version          : 4.2
  45. Kernel Version      : ULTRIX V4.2A (Rev. 47) System #1: Fri Nov 20 18:08:36 MST
  46. 1992
  47.  
  48.         DEVICE INFORMATION
  49.  
  50. Device asc0 is a "SCSI" disk controller.
  51.     Device rz0 is a "RZ56" disk drive.
  52.     Device rz2 is a "RZ23L" disk drive.
  53.     Device rz3 is a "RZ24" disk drive.
  54.     Device rz4 is a "RRD42" disk drive.
  55.     Device rz5 is a "RZ55" disk drive.
  56. Device ln0 is a "DEC LANCE Ethernet Interface" network interface.
  57. Device scc0 is a "SCC".
  58.  
  59.  
  60. Sysinfo is avalable via anon FTP from sun.soe.clarkson.edu in /pub/src.
  61. If this does not work for you let me know as we may have made some local
  62. mods to it. (it was written for a Sun)
  63.  
  64. --
  65. Steve.
  66.  
  67.  
  68. -- 
  69.  
  70. Steve.                    sfreed@ariel.unm.edu
  71.  
  72.