On 19-Oct-99 Nathan Meyers wrote:
>> But is there a way to see when it is a thread and when it is a process? Or
>> the
>> only way is to notice it has the same resident/shared memory?
> I haven't found a way. The closest thing I've found so far is to compare
> the /proc/<pid>/maps files, which are identical for two threads of the
> same process but unlikely to be identical for different processes.
Ok, not a trivial way. I wonder why a /proc subdirectory regarding threads was
not added.
---
Andrea "Kontorotsui" Controzzi - MALE Student of Computer Science at
University of Pisa - Italy - E-mail: [EMAIL PROTECTED]
My home page: http://www.cli.di.unipi.it/~controzz/intro.html
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]