HP3000-L Archives

April 2001, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Gavin Scott <[log in to unmask]>
Reply To:
Gavin Scott <[log in to unmask]>
Date:
Thu, 19 Apr 2001 13:23:14 -0700
Content-Type:
text/plain
Parts/Attachments:
text/plain (29 lines)
Frank asks:
> Is an instance of the MPE command interpreter launched whenever a Posix
> shell cgi script does a 'callci' ?

The functionality of CALLCI.HPBIN.SYS along with many other commonly
executed shell commands (including 'ls') was merged into the SH executable
quite a while ago for performance reasons (specifically to eliminate the
process creation overhead).

The result is that a callci results in a direct call to HPCICOMMAND without
any extra process creation of CALLCI.HPBIN.SYS or CI.PUB.SYS or anything
other than what might be required by the command you're executing.

If you do a :LISTF,3 on files like CALLCI and LS in HPBIN.SYS, you'll see
that they haven't even been accessed recently, since a copy of their code
exists directly in the SHell program executable.

If you explicitly execute something like

$ /SYS/HPBIN/LS *

then you'll be running the code in the external program rather than the
built in version, and you'll probably notice the extra delay involved too.

G.

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2