Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

pvmfhostsync(3pvm) [debian man page]

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)
Man Page

6 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Subtract date & time in diferent rows

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)
Discussion started by: vanand420
1 Replies

2. Shell Programming and Scripting

Need help to parse the file

# Start "ABC" SFFd 0 4 Time SFFT 4 8 {Sec} User SFFTimeVal 12 8 {Sec} # Start "CP" SFFT ... (3 Replies)
Discussion started by: navsharan
3 Replies

3. IP Networking

difference between firewals and vpns

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)
Discussion started by: munderam
2 Replies

4. Shell Programming and Scripting

Calculate the time difference between a local file and a remote file.

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)
Discussion started by: meetmano143
1 Replies

5. UNIX for Advanced & Expert Users

Need to get the time difference for all the transactions in a day

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)
Discussion started by: samjna
5 Replies

6. Shell Programming and Scripting

GPS extracts fix delta time

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)
Discussion started by: redafenj
7 Replies