Solved

enable RSTATD on aix servers for Performance Testing

Posted on 2010-09-23
4
1,504 Views
Last Modified: 2013-11-17
how can i on aix.
enable RSTATD on servers for Performance Testing?
0
Comment
Question by:assistunix
  • 3
4 Comments
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 33745098
Hi again,
edit /etc/rc.tcpip, remove the comment (#) at the beginning of the appropriate line
rstatd  sunrpc_udp     udp     wait    root    /usr/sbin/rpc.rstatd rstatd 100001 1-3
save your changes and issue
refresh -s inetd
or use "smitty mkinetdconf"
That's all.
wmp
0
 
LVL 68

Expert Comment

by:woolmilkporc
ID: 33745214
Sorry, that was a mistake of mine!
Of course you must change
/etc/inetd.conf
Sorry again!!
0
 

Author Comment

by:assistunix
ID: 33845862
i was unable to find RSTATD  in /etc/rc.tcpip, can just changing the /etc/inetd.conf file and refreshing it work?

also i was told that editing uncommenting the rstatd line in /etc/services was also part of enabling RSTATD along with editing /etc/inetd.conf ? can you confirm that. is that change also needed.

0
 
LVL 68

Accepted Solution

by:
woolmilkporc earned 500 total points
ID: 33846000
Of course you couldn't find rstatd in /etc/rc.tcpip!! That was a bad mistake from my side, as I wrote!

Yes, uncommenting the rstatd entry in /etc/inetd.conf and issuing refresh -s inetd "can work", moreover, it "will work"!

rstatd is a sunrpc program, and thus has not an entry in /etc/services (in /etc/rcp it does have one).
As long as the portmap daemon is running all will be fine.

portmap in its turn is started in /etc/rc.tcpip (really!) by default, but you can check nonetheless in that file for
an uncommented entry

# Start up Portmapper
start /usr/sbin/portmap "$src_running"

Should the above entry be comented out (I've never seen that!) uncomment it and issue "startsrc -s portmap"

Done

wmp


0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
how to monitor remote shell execution on linux 9 106
Parsing a file using ksh 10 77
Unix Question 19 53
unable to put logic for reading multiple repo in a single file 4 66
Let's say you need to move the data of a file system from one partition to another. This generally involves dismounting the file system, backing it up to tapes, and restoring it to a new partition. You may also copy the file system from one place to…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question