home *** CD-ROM | disk | FTP | other *** search
- 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>+
- From: Sean.Levy@cs.cmu.edu
- Newsgroups: comp.sys.isis
- Subject: PS -- well, so much for pmaxen...
- Message-ID: <8f0kTjO00h5K8ND0pU@cs.cmu.edu>
- Date: 12 Nov 92 15:42:07 GMT
- Organization: Carnegie Mellon, Pittsburgh, PA
- Lines: 29
-
- The code frag that calls isis_gethostname() is...
- ---
- void
- dump_gv(gv)
- groupview *gv;
- {
- int i;
-
- fprintf(stderr, "*** Group %s has %d members on these machines:\n",
- gv->gv_name, gv->gv_nmemb);
- for (i = 0; i < gv->gv_nmemb; i++) {
- char host_name[200];
- int pid;
-
- isis_gethostname(gv->gv_members[i], host_name, sizeof(host_name));
- pid = isis_getpid(gv->gv_members[i]);
- fprintf(stderr, "*** %s (pid %d)\n", host_name, pid);
- }
- }
- ---
- called from dbbe_monitor(), which is the PG_MONITOR routine for this
- process group. This seems reasonable to me. Must I compile ISIS with
- some options to be more careful about alignment on pmaxen? All of the
- standard ISIS utilities (isis, cmd, rexec) work normally.
-
- -- Sean
- --
- Sean Levy, n-dim Group, EDRC, CMU, 5000 Forbes Ave, PGH, PA 15213
- Email: snl+@cmu.edu, Phone: +1 412 268 5221, Fax: +1 412 268 5229
-