hpavc has asked for the wisdom of the Perl Monks concerning the following question:
Where I work I have to script for a great many Solaris and Linux machines. I want to be able to use do specific syscall() commands such as "syscall(&SYS_statvfs, $path, $buf)" in particular, versus calling out shells to df/zfs/zpool/etc over and over and then parsing the data. As sadly as shipped/installed most of lot of these Solaris perl installs are lacking and I won't get approval for getting h2ph working on these machines or installing a separate perl.
I am sort of laboring over the idea of cutting out what is needed for various Sun system specs the statvfs() needed for them and essentially making a package that would include the sys/bits. Essentially this comes down too four different rules perls (sparc|x86) and (5.9|5.10)
This there a better way?
|
|---|