12-15-2009
my answer in the below whole the scenario ...
this is waht I did ...
As root
1. Edit /etc/inetd.conf
Uncomment or add entry for rstatd
Eg
rstatd sunrpc_udp udp wait root /usr/sbin/rpc.rstatd rstatd 100001 1-3
2. Edit /etc/services
Uncomment or add entry for rstatd
Eg
rstatd 100001/udp
3. Refresh services
refresh -s inetd
4. Start rstatd
/usr/sbin/rpc.rstatd
but the services is not active ! is there any messing ? need to be done to bring up the service?
10 More Discussions You Might Find Interesting
1. UNIX for Advanced & Expert Users
Hi,
I'm working with Mercury tools: Loadrunner, and I'm trying to monitor a unix server by rstatd, and I got next error:
Mar 4 11:25:56 sacindt rpc.rstatd: incompatible to /proc. Could not read disk_io: data
does any one have an idea about this..
regards (0 Replies)
Discussion started by: toto2000ff
0 Replies
2. Linux
Hi,
I'm working with Mercury tools: Loadrunner, and I'm trying to monitor a unix/linux box, the Loadrunner tool uses the rstatd, and I got next error:
Mar 4 11:25:56 sacindt rpc.rstatd: incompatible to /proc. Could not read disk_io: data
I'm trying to start that deamon, and I use the RUP to... (1 Reply)
Discussion started by: toto2000ff
1 Replies
3. Linux
hi
i want to know the way by which i put any file somewhere and it get s started when the system restarts or bots
i mean whenever my system starts that application must also start
thanks (3 Replies)
Discussion started by: shukla_chanchal
3 Replies
4. UNIX for Advanced & Expert Users
Hi,
How can I start the rstatd deamon, and how can know if this is actually runing? (4 Replies)
Discussion started by: toto2000ff
4 Replies
5. Ubuntu
Hi masters,
I am still learning trades in kernel. I am trying to learn the basic of daemon programming. Can any one tell me how can I start a daemon automatically during boot up. I will be greatfull if anyone post some example code to the above task.
Also what are... (3 Replies)
Discussion started by: iamjayanth
3 Replies
6. Shell Programming and Scripting
Hey!
I'm working on a script that will add a user, create some configfiles, and add a crontab for the user.
The crontab looks like the following:
@reboot /home/user/program config.conf &
I would like for this process to start at the end of my script under the corresponding username by... (0 Replies)
Discussion started by: noratx
0 Replies
7. Red Hat
I have installed version of ntop 4.0.3 by guide.
But I can't start ntop daemon/service. I didn't find a service file for starting.
During the installation there was no problem only want to RRDTool so I installed that. Now there is no necessary package required.
I didn't find in /etc/init.d/... (9 Replies)
Discussion started by: getrue
9 Replies
8. UNIX and Linux Applications
After doing a yum install mysql mysql-server on Fedora 14 I wasn't able to fully install the packages correctly. It installed MySQL 5.1. I was getting the following error when running the:
mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)... (3 Replies)
Discussion started by: jastanle84
3 Replies
9. Infrastructure Monitoring
Hi there,
I'm trying to use loadrunner with freebsd system monitoring tools like rstatd/rup/rsysinfo, but I keep getting this error from loadrunner:
Monitor name :UNIX Resources. Internal rpc error (error code:4). Machine: 192.168.1.15. Hint: Check that RPC on this machine is up and running.... (0 Replies)
Discussion started by: echan00
0 Replies
10. UNIX for Beginners Questions & Answers
Below are my custom period start and end dates based on a calender, these dates are placed in a file, for each period i need to split into three weeks for each period row, example is given below.
Could you please help out to achieve solution through shell script..
File content:
... (2 Replies)
Discussion started by: nani2019
2 Replies
rstat(3RPC) RPC Library Functions rstat(3RPC)
NAME
rstat, havedisk - get performance data from remote kernel
SYNOPSIS
cc [ flag ... ] file ... -lrpcsvc [ library ... ]
#include <rpc/rpc.h>
#include <rpcsvc/rstat.h>
enum clnt_stat rstat(char *host, struct statstime *statp);
int havedisk(char *host);
PROTOCOL
/usr/include/rpcsvc/rstat.x
DESCRIPTION
These routines require that the rpc.rstatd(1M) daemon be configured and available on the remote system indicated by host. The rstat() pro-
tocol is used to gather statistics from remote kernel. Statistics will be
available on items such as paging, swapping, and cpu utilization.
rstat() fills in the statstime structure statp for host. statp must point to an allocated statstime structure. rstat() returns RPC_SUCCESS
if it was successful; otherwise a enum clnt_stat is returned which can be displayed using clnt_perrno(3NSL).
havedisk() returns 1 if host has disk, 0 if it does not, and -1 if this cannot be determined.
The following XDR routines are available in librpcsvc:
xdr_statstime
xdr_statsvar
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|MT-Level |MT-Safe |
+-----------------------------+-----------------------------+
SEE ALSO
rup(1), rpc.rstatd(1M), rpc_clnt_calls(3NSL), attributes(5)
SunOS 5.10 30 Dec 1996 rstat(3RPC)