Lines Matching refs:hs_wd
57 struct whod *hs_wd;
69 #define down(h) (now - (h)->hs_wd->wd_recvtime > 11 * 60)
168 hsp->hs_wd = malloc(whdrsize);
170 bcopy((char *)buf, (char *)hsp->hs_wd,
195 (void) printf("%-12s%s\n", hsp->hs_wd->wd_hostname,
196 interval((int)(now - hsp->hs_wd->wd_recvtime),
202 hsp->hs_wd->wd_hostname,
203 interval(hsp->hs_wd->wd_sendtime -
204 hsp->hs_wd->wd_boottime, " up"),
208 hsp->hs_wd->wd_loadav[0] / 100.0,
210 hsp->hs_wd->wd_loadav[1] / 100.0,
212 hsp->hs_wd->wd_loadav[2] / 100.0);
213 free(hsp->hs_wd);
245 return (rflg * strcmp(h1->hs_wd->wd_hostname, h2->hs_wd->wd_hostname));
264 (h2->hs_wd->wd_loadav[0] - h1->hs_wd->wd_loadav[0]));
293 (down(h2) ? h2->hs_wd->wd_recvtime - now :
294 h2->hs_wd->wd_sendtime - h2->hs_wd->wd_boottime)
296 (down(h1) ? h1->hs_wd->wd_recvtime - now :
297 h1->hs_wd->wd_sendtime - h1->hs_wd->wd_boottime)));