in reply to Need SYS_sendmsg and SYS_recvmsg values from an AIX box

Hi Mario,

I have an (old) AIX system (and old Perl), but I could not get anything from your command. Perl for AIX:

$perl -v This is perl, v5.10.1 (*) built for ppc-aix-thread-multi Copyright 1987-2009, Larry Wall Perl may be copied only under the terms of either the Artistic License + or the GNU General Public License, which may be found in the Perl 5 source ki +t. Complete documentation for Perl, including FAQ lists, should be found +on this system using "man perl" or "perldoc perl". If you have access to + the Internet, point your browser at http://www.perl.org/, the Perl Home Pa +ge.
Your command:
perl -e ' > require "sys/syscall.ph"; > print "SYS_sendmsg: ", SYS_sendmsg(), "\n"; > print "SYS_recvmsg: ", SYS_recvmsg(), "\n"; > ' Can't locate sys/syscall.ph in @INC (@INC contains: /opt/freeware/lib/ +perl5/5.10.1/ppc-aix-thread-multi /opt/freeware/lib/perl5/5.10.1 /opt +/freeware/lib/perl5/site_perl/5.10.1/ppc-aix-thread-multi /opt/freewa +re/lib/perl5/site_perl/5.10.1 .) at -e line 2. 22:31:14|prod@op66idb1[/exec/applis/prod/MDSP_LOG]$
Hmm, not sure I ran the command you really needed. Please let me know if I can help you better.

Cheers,

Laurent.

Replies are listed 'Best First'.
Re^2: Need SYS_sendmsg and SYS_recvmsg values from an AIX box
by marioroy (Prior) on Aug 19, 2015 at 21:03 UTC

    Thank you very much Laurent_R. The syscall.ph file is typically not installed and requires one to run the h2ph command. Maybe that's not feasible, but not sure.