home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / sun / hardware / 6418 < prev    next >
Encoding:
Internet Message Format  |  1992-12-21  |  3.8 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!sdd.hp.com!swrinde!network.ucsd.edu!munnari.oz.au!metro!otc!tbird2!glenns
  2. From: glenns@nms.otca.oz.au (Glenn Satchell - Uniq professional Services)
  3. Newsgroups: comp.sys.sun.hardware
  4. Subject: Re: How do I tell the model of a Sparc
  5. Message-ID: <glenns.724905920@tbird2>
  6. Date: 21 Dec 92 02:45:20 GMT
  7. References: <1992Dec10.233737.11309@sol.ctr.columbia.edu> <BzA59t.266@avalon.nwc.navy.mil>
  8. Sender: news@otc.otca.oz
  9. Lines: 70
  10.  
  11. jd@mars.nwc.navy.mil (John de la Garrigue) writes:
  12.  
  13. >In article 11309@sol.ctr.columbia.edu, yjj@neptune.ctr.columbia.edu (Yuan Jiang) writes:
  14. >>I have a couple of remote sites which I can submit my calculation
  15. >>jobs to.  I'd like to know whick is more powerful than the others
  16. >>so that I always run the jobs on the fastest machine.  but how
  17. >>do I know what model  or how powerful these remote computers are without
  18. >>a chance to see their model plates.
  19.  
  20.  
  21. >If you're running on Sun machines, you can use "dmesg" to get basic information
  22. >about the system, such as cpu type, amount of core memory installed, type of
  23. >tape and disk drives connected, etc.  I use a program called "sysinfo" that 
  24. >also provides this information, and formats it in a more readable fashion.
  25.  
  26. Use the "hostid" command - the first two digits are a code for the cpu
  27. type. To decode the cpu type look in /usr/include/mon/idprom.h. For
  28. example on this system:
  29.  
  30. % hostid
  31. 5542560d
  32. % more /usr/include/mon/idprom.h
  33. ...
  34. /* 
  35.  * All possible values of the id_machine field (so far): 
  36.  */
  37. #define IDM_SUN2_MULTI          1       /* Machine type for Multibus CPU brd */
  38. #define IDM_SUN2_VME            2       /* Machine type for VME CPU board    */
  39. #define IDM_SUN3_CARRERA        0x11    /* Carrera CPU  */
  40. #define IDM_SUN3_M25            0x12    /* M25 CPU      */
  41. #define IDM_SUN3_SIRIUS         0x13    /* Sirius CPU   */
  42. #define IDM_SUN3_PRISM          0x14    /* Prism CPU    */
  43. #define IDM_SUN3_F              0x17    /* Sun3F CPU    */
  44. #define IDM_SUN3_E              0x18    /* Sun3E CPU    */
  45. #define IDM_SUN4                0x21    /* Sparc CPU    */
  46. #define IDM_SUN4_COBRA          0x22    /* Cobra CPU    */
  47. #define IDM_SUN4_STINGRAY       0x23    /* Stingray CPU */
  48. #define IDM_SUN4_SUNRAY         0x24    /* Sunray CPU   */
  49. #define IDM_SUN3X_PEGASUS       0x41    /* Pegasus CPU  */
  50. #define IDM_SUN3X_HYDRA         0x42    /* Hydra CPU    */
  51. #define IDM_SUN4C               0x51    /* Campus CPU   */
  52. #define IDM_SUN4C_60            0x51    /* Campus-1 CPU */
  53. #define IDM_SUN4C_40            0x52    /* Reserve some names */
  54. #define IDM_SUN4C_65            0x53    /* That we might do */
  55. #define IDM_SUN4C_20            0x54    /* It might be bigger */
  56. #define IDM_SUN4C_75            0x55    /* It might be smaller */
  57. #define IDM_SUN4C_30            0x56    /* It might be faster */
  58. #define IDM_SUN4C_50            0x57    /* It might be slower */
  59. #define IDM_SUN4C_70            0x58    /* It might cost more */
  60. #define IDM_SUN4C_80            0x59    /* It might cost less */
  61. #define IDM_SUN4C_10            0x5a    /* It might sell well */
  62. #define IDM_SUN4C_45            0x5b    /* And then it might not */
  63. #define IDM_SUN4C_05            0x5c    /* It might be pink */
  64. #define IDM_SUN4C_85            0x5d    /* It might be blue */
  65. #define IDM_SUN4C_32            0x5e    /* I certainly don't know */
  66. #define IDM_SUN4C_HIKE          0x5f    /* Do you? */
  67.  
  68. #define IDM_SUN4M_690           0x61    /* SPARCsystem 600 series */
  69.  
  70. Now 55 corresponds to IDM_SUN4C_75 (yes a sparcStation 2).
  71.  
  72. Hope you like the two jokes in the above file as well.
  73.  
  74. regards,
  75.  
  76. --
  77. Glenn Satchell          ups!glenn@fourx.Aus.Sun.COM  |
  78. Uniq Professional Services Pty Ltd  ACN 056 279 335  |  or  for  the   moment
  79. PO Box 70, Paddington, NSW 2021, (Sydney) Australia  |  glenns@nms.otca.oz.au
  80. Phone: +61-2-360-7434           Fax: +61-2-331-2572  |  Phone: +61-2-339-3843
  81.