Unix Programming - Re: ptrace? Other similar interfaces?

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > March 2005 > Re: ptrace? Other similar interfaces?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Re: ptrace? Other similar interfaces?
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!




Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com