Monica Sam -X (monsam - WIPRO at Cisco) wrote:
> Hi,
>
> The SIPp documentation specifies
>
> echo p >/dev/udp/x.y.z.t/8888 -> put SIPp in pause state (p key)
> echo q >/dev/udp/x.y.z.t/8888 -> quit SIPp (q key)
>
> as ways to remotely control when we stop the sipp operation.I am using SIPp
> with Ubuntu.
> I cannot find the /dev/udp folder at all.
> However, I could find the /proc/<sipp_pid> folder.
> Is there any other way in which I can control the sipp operation at runtime
> remotely?
> Thanks,
> Monica.
Hello Monica,
this is an issue with bash and Debian based distro. Per "man bash":
-----------
Bash handles several filenames specially when they are used
in redirections, as
described in the following table:
/dev/fd/fd
If fd is a valid integer, file descriptor fd is
duplicated.
/dev/stdin
File descriptor 0 is duplicated.
/dev/stdout
File descriptor 1 is duplicated.
/dev/stderr
File descriptor 2 is duplicated.
/dev/tcp/host/port
If host is a valid hostname or Internet address,
and port is an inte-
ger port number or service name, bash attempts to
open a TCP connec-
tion to the corresponding socket.
/dev/udp/host/port
If host is a valid hostname or Internet address,
and port is an inte-
ger port number or service name, bash attempts to
open a UDP connec-
tion to the corresponding socket.
NOTE: Bash, as packaged for Debian, does not support using the
/dev/tcp and /dev/udp
files.
-----------
See the last NOTE.
As a workaround, you can either write your own program that open very
simply a UDP socket _or_ use another shell, like "ksh".
I tried on a Debian Etch box and it works with no issue.
Let us know,
Olivier.
--
Olivier
HP OpenCall Software
http://www.hp.com/go/opencall/
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users