home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / sys / isis / 301 < prev    next >
Encoding:
Internet Message Format  |  1992-11-12  |  1.3 KB

  1. Path: sparky!uunet!know!cass.ma02.bull.com!mips2!news.bbn.com!usc!sdd.hp.com!elroy.jpl.nasa.gov!swrinde!emory!ogicse!das-news.harvard.edu!cantaloupe.srv.cs.cmu.edu!crabapple.srv.cs.cmu.edu!andrew.cmu.edu!<UNAUTHENTICATED>+
  2. From: Sean.Levy@cs.cmu.edu
  3. Newsgroups: comp.sys.isis
  4. Subject: PS -- well, so much for pmaxen...
  5. Message-ID: <8f0kTjO00h5K8ND0pU@cs.cmu.edu>
  6. Date: 12 Nov 92 15:42:07 GMT
  7. Organization: Carnegie Mellon, Pittsburgh, PA
  8. Lines: 29
  9.  
  10. The code frag that calls isis_gethostname() is...
  11. ---
  12. void
  13. dump_gv(gv)
  14.      groupview *gv;
  15. {
  16.   int i;
  17.   
  18.   fprintf(stderr, "*** Group %s has %d members on these machines:\n",
  19.       gv->gv_name, gv->gv_nmemb);
  20.   for (i = 0; i < gv->gv_nmemb; i++) {
  21.     char host_name[200];
  22.     int pid;
  23.     
  24.     isis_gethostname(gv->gv_members[i], host_name, sizeof(host_name));
  25.     pid = isis_getpid(gv->gv_members[i]);
  26.     fprintf(stderr, "***   %s (pid %d)\n", host_name, pid);
  27.   }
  28. }
  29. ---
  30. called from dbbe_monitor(), which is the PG_MONITOR routine for this
  31. process group. This seems reasonable to me. Must I compile ISIS with
  32. some options to be more careful about alignment on pmaxen? All of the
  33. standard ISIS utilities (isis, cmd, rexec) work normally.
  34.  
  35.         -- Sean
  36. --
  37. Sean Levy, n-dim Group, EDRC, CMU, 5000 Forbes Ave, PGH, PA 15213
  38. Email: snl+@cmu.edu, Phone: +1 412 268 5221, Fax: +1 412 268 5229
  39.