AIX spray 1832-019 Program not registered

AIX环境中使用spray命令可以大致了解两台主机的网络情况,如网络速度,丢包率等。直接使用spray通常会报以下错误
[quote]# /usr/sbin/spray rzdbra -c 2000 -l 1400 -d 1
sending 2000 packets of length 1402 to
rzdbra ...
SPRAYPROC_CLEAR RPC: 1832-019 Program not registered[/quote]
解决办法为:
将/etc/inetd.conf配置文件下列行注释取消掉
[quote]sprayd sunrpc_udp udp wait root /usr/lib/netsvc/spray/rpc.sprayd sprayd 100012 1[/quote]
然后重新刷新inetd
[quote]# refresh -s inetd
0513-095 The request for subsystem refresh was completed successfully.[/quote]
执行后有一守护进程
[quote]# ps -ef|grep sprayd
root 2973934 507942 0 16:41:48 - 0:00 sprayd 100012 1 [/quote]
执行结果为
[quote]# /usr/sbin/spray rzdbra -c 2000 -l 1400 -d 1
sending 2000 packets of length 1402 to
rzdbra ...

no packets dropped by rzdbra
41940 packets/second, 58800092 bytes/second[/quote]

附:查看主机端口是否占用
[quote]# netstat -an |grep 2008
tcp4 0 0 *.2008 *.* LISTEN[/quote]
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值