HOSTSYNC(3PVM) PVM Version 3.4 HOSTSYNC(3PVM)NAME
pvm_hostsync - Get time-of-day clock from PVM host.
SYNOPSIS
C #include <sys/time.h>
int info = pvm_hostsync( int host, struct timeval *clk,
struct timeval *delta )
Fortran call pvmfhostsync( host, clksec, clkusec, deltasec, deltausec, info )
PARAMETERS
host TID of host.
clk (or clksec and clkusec) Returns time-of-day clock sample from host.
delta (or deltasec and deltausec) Returns difference between local clock and remote host clock.
DESCRIPTION
pvm_hostsync samples the time-of day clock of a host in the virtual machine and returns both the clock value and the difference between
local and remote clocks.
To reduce the delta error due to message transit time, local clock samples are taken before and after reading the remote clock. Delta is
the difference between the mean local clocks and remote clock.
Note that the delta time can be negative. The microseconds field is always normalized to 0..999999, while the sign of the seconds field
gives the sign of the delta. For example:
3.25 Sec = 3,250000
0 = 0,0
-1 uSec = -1,999999
-1 Sec = -1,000000
-1.1 Sec = -2,999000
In C, if clk or delta is a null pointer, that parameter is not returned.
ERRORS
If pvm_hostsync is successful, it returns PvmOk. These error conditions can be returned by pvm_hostsync
PvmSysErr
pvmd not responding.
PvmNoHost
specified host not in virtual machine.
PvmHostFail
host is unreachable (and thus possibly failed)
SEE ALSO pvm_config(3PVM)
20 February, 1994 HOSTSYNC(3PVM)
Check Out this Related Man Page
MSTAT(3PVM) PVM Version 3.4 MSTAT(3PVM)NAME
pvm_mstat - Returns the status of a host in the virtual machine.
SYNOPSIS
C int mstat = pvm_mstat( char *host )
Fortran call pvmfmstat( host, mstat )
PARAMETERS
host Character string containing the host name.
mstat Integer returning machine status:
value MEANING
PvmOk host is OK
PvmNoHost host is not in virtual machine
PvmHostFail host is unreachable (and thus possibly failed)
DESCRIPTION
The routine pvm_mstat returns the status mstat of the computer named host with respect to running PVM processes. This routine can be used
to determine if a particular host has failed and if the virtual machine needs to be reconfigured. The function pvm_notify() can also be
used to notify the caller that a host has failed.
EXAMPLES
C:
mstat = pvm_mstat( "msr.ornl.gov" );
Fortran:
CALL PVMFMSTAT( 'msr.ornl.gov', MSTAT )
ERRORS
These error conditions can be returned by pvm_mstat
PvmSysErr
pvmd not responding.
PvmNoHost
giving a host name not in the virtual machine.
PvmHostFail
host is unreachable (and thus possibly failed).
SEE ALSO pvm_notify(3PVM), pvm_config(3PVM)
30 August, 1993 MSTAT(3PVM)
Hi Friends :)
I have a long file having fields in the form :
Field1 yy/mm/dd hh:mm:ss Duration(Sec)
line 1) 123123 05/11/30 12:12:56 145
line 2) 145235 05/11/30 12:15:15 30
line 3) 145264 05/11/30 13:14:56 178
.
.
I want to subtract yy/dd/dd hh:mm:ss in line (2) from yy/mm/dd hh:mm:ss in... (1 Reply)
i am confused with firewalls and vpns(virtual private netwoks)
can anyone clarify it and let me know is there any document or book to read
bye (2 Replies)
I m stuck with a issue.
I need to calculate the time difference between two files.. one on the local machine and one on the remote machine using a script.
Can any one suggest the way this can be achevied
Thanks,
manohar (1 Reply)
Hello Experts,
I need to evaluate my API performance, so need a script to get the time difference for all the transaction that has gone through my application in a day. The challenge is the multi threaded logs, so I cant just get all the Telephone Numbers and check the entering and existing... (5 Replies)
Hello all,
I am currently trying to find the delta time from some GPS log.
I am using the following script with awk. But the script result shows some incorrect values (delta time some time = 0.2 but when I check it manually it is equal to 0.1)
My final goal is to get a script that print... (7 Replies)