q returns information about present virtual


Q. Returns information about present virtual machine?

  • int pvm_parent( void )

Returns the tid of process which spawned the calling process. 

  • int pvm_tidtohost( tid )

Returns the host of particular PVM process. Error if negative value is returned.

  • int pvm_config( int *nhost, int *narch, struct pvmhostinfo **hostp )

struct pvmhostinfo {

int hi_tid;

char *hi_name;

char *hi_arch;

int hi_speed;

};

Returns information about present virtual machine configuration. nhost is number of hosts (pvmds) in virtual machine. narch is number of various data formats being used. hostp is a pointer to an array of structures that comprises the information about every host comprising its pvmd task ID, architecture, relative speed and name (default is 1000).

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: q returns information about present virtual
Reference No:- TGS0313243

Expected delivery within 24 Hours