You are viewing an article about an obsolete product. Information on this page is provided as-is and not supported.

Running the RealPort dump (rpdump) program on Solaris

Steps on setup:

  • Kill the Portserver daemon.
    ps -ef | grep ncxd
    kill -9 "PID_NUMBER"

     

  • Manually start the daemon. Change the IP to the IP of the server you are on and use a different socket id (771), "4000" is used in the example below.
    /opt/realport/sparc64/ncxd -d /dev/digi_realport0 -i 10.1.1.1 -p 4000 &
    • digi_realport0 = First realport daemon (0).
    • 10.1.1.1 = Solaris server that realport is running on.
    • -p 4000 = Realport tcp socket id.

       

  • Run rpdump.
    /tmp/rpdump -pa -l 4000 -P 2 -o /tmp/file.rpd 10.1.1.92 &
    • -pa = Send all data to the output file.
    • -l = Socket id.
    • -P # = You may want to use this to monitor specific port(s). Remember that the first port = 0. So port 3 on the TS would mean "-P 2".
    • -o = File to write to. This can only be read by rpdump.
    • 10.1.1.92 = IP address of the Portserver.
    • -h = Man pages for rpdump.

       

  • Run "rpdump -i" to read /tmp/file.rpd.
Last updated: Jan 11, 2024

Filed Under

Network

Recently Viewed

No recently viewed articles

Did you find this article helpful?