get process id

Kenneth Brody kenbrody at bestweb.net
Mon Oct 11 07:21:09 PDT 2004


Fairlight wrote:
[...]
> *laugh*  You didn't look very hard at how light and fast bash is compared
> to perl, did you?  Witness OSR 5.0.6 with:
> 
> > ls -l /opt/K/SCO/Unix/5.0.6Ga/bin/ksh
> ---x--x--x   1 bin      bin       156764 Feb 14  2003 /opt/K/SCO/Unix/5.0.6Ga/bin/ksh*
> 
> > ls -l /opt/K/SCO/perl/5.8.1Ac/usr/bin/perl
> -rwxr-xr-x   2 bin      bin         9668 Jul  5 21:22 /opt/K/SCO/perl/5.8.1Ac/usr/bin/perl*
> 
> Yup.  Ksh is -so- much lighter, Brian.
[...]

If the executable is only 9-1/2K, I doubt there's much in it besides some
startup code and calls to a shared library.

Here's from a FreeBSD 4.10-STABLE system:

-r-xr-xr-x  3 root  wheel  10168 Sep 13 11:59 /usr/bin/perl
-r--r--r--  1 root  wheel  614824 Sep 13 11:59 /usr/lib/libperl.so.3

-- 
+-------------------------+--------------------+-----------------------------+
| Kenneth J. Brody        | www.hvcomputer.com |                             |
| kenbrody/at\spamcop.net | www.fptech.com     | #include <std_disclaimer.h> |
+-------------------------+--------------------+-----------------------------+



More information about the Filepro-list mailing list