* Xmeter 1.1x working?
@ 1995-02-06 16:38 Rich Holland
0 siblings, 0 replies; only message in thread
From: Rich Holland @ 1995-02-06 16:38 UTC (permalink / raw)
I've got xmeter working across multiple platforms but I'm stumped by OSF/1.
I can 'rup osf1host' and get valid output, but xmeter reports the host down.
It doesn't use standard rstat calls, however; here's an exerpt of what the
author sent me:
] Re the problem of querying osf hosts, I would guess the problem is in
] xmeter's equivalent of the rstat call. I don't actually use rstat,
] because I needed finer control of timeouts than you can get with rstat.
] If you look in the function getmeter() in xmeter.c you'll see my
] equivalent of rstat, a simplified version looks like:
]
] c = clntudp_create(...);
] clnt_call(c, ...);
]
] It's possible I'm doing something that doesn't work with osf's implementation
] of rstat. For example, the clntudp_create call takes a rpc program and
] and version number (RSTATPROG and RSTATVERS_TIME in my code). You might
] verify that your osf rstat daemon is compatible. You can use rpcinfo to check
] this, e.g.
]
] rpcinfo -p <osfhost>
] program vers proto port
] ...
] 100001 2 udp 1472 rstatd
] 100001 3 udp 1472 rstatd
] 100001 4 udp 1472 rstatd
]
] This shows that osfhost is using rpc program number 100001, and supports
] versions 2, 3 and 4 of the rstat protocol. Then compare these numbers to
] RSTATPROG and RSTATVERS_TIME. On suns these are defined in
] /usr/include/rpcsvc/rstat.h, on my system they are:
]
] #define RSTATPROG ((u_long)100001)
] #define RSTATVERS_TIME ((u_long)3)
My rpcinfo on my osf hosts reports the same values, so I know that's not
the problem. Has anyone ported xmeter to support OSF/1 v3.x hosts? I'd
appreciate any pointers or patches. Thanks!
--
Rich Holland UNIX System Administrator, Porting Center
holland@synopsys.com Synopsys, Inc.
char*p="char*p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1995-02-06 16:38 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-02-06 16:38 Xmeter 1.1x working? Rich Holland
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox