| Dan Stromberg 2005-03-30, 7:22 pm |
| On Wed, 30 Mar 2005 08:27:37 +0000, Casper H. S. Dik wrote:
> Dan Stromberg <strombrg@dcs.nac.uci.edu> writes:
>
>
> Less and less (the ptrace interface is fairly arcane and inefficient;
> on Solaris it is supported only for source compatibility and implemented
> on top of /proc tracing).
>
> System call tracing specifically is a "new" thing in the ptrace world and
> not supported by all implementations (not implemented in the Solaris
> emulation as far as I can tell).
Thanks Casper. Your posts are always very informative.
Last night and this morning, I wrote up a quicky couple of programs for
throttling resource-intensive programs, like backups. The intent is to
keep a machine usable, during a backup.
http://dcs.nac.uci.edu/~strombrg/slowdown/
The Solaris version uses /proc, and the linux version uses ptrace().
Thanks!
|