From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id D46CF2F747 for ; Wed, 24 Jan 2001 14:53:45 -0500 (EST) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id f0OJrWF25486 for axp-list@listman.redhat.com; Wed, 24 Jan 2001 14:53:32 -0500 Received: from fireball.blast.net (fireball.blast.net [207.162.131.33]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id f0OJrVd25482 for ; Wed, 24 Jan 2001 14:53:31 -0500 Received: from voicenet.com (Pppp21.blast.net [207.162.138.121]) by fireball.blast.net (8.11.1/8.11.1) with ESMTP id f0OJu4706995; Wed, 24 Jan 2001 14:56:04 -0500 (EST) (envelope-from gatgul@voicenet.com) Message-ID: <3A6F26CA.9023F7D5@voicenet.com> Date: Wed, 24 Jan 2001 14:02:34 -0500 From: Uncle George X-Mailer: Mozilla 4.72 [en] (X11; I; Linux 2.2.16 alpha) X-Accept-Language: en MIME-Version: 1.0 To: sby@ives.lkg.dec.com Cc: axp-list@redhat.com Subject: Re: /proc/PID/stat References: <200101241739.MAA04474@ives.lkg.dec.com> Content-Type: text/plain; charset=x-user-defined Content-Transfer-Encoding: 7bit X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0beta4 Precedence: bulk Reply-To: axp-list@redhat.com List-Id: Linux and Red Hat on Alpha processors Its interesting, but its not 64bit literate. For example the integer stack pointer! The num of signals on alpha/linux is 64. Int will just hold 32 of them ( & they certainly will not hold the SIG's 32 & 33 used py the pthread system :-{ ). What I wanted was a pgm that said pc=0x45, ps=0x46908, sp=0x20012301234 . So I guess that this does not exist. Bharadwaj Yadavalli wrote: > > From : Uncle George > Date : Tue Jan 23 20:11:30 2001 > > Is there a pgm that will interpret all the fields that are printed by > > cat /proc/PID/stat ( or statm, or any of the info on a per process basis > ) > > See if the following simple function and the associated structure > that I put together sometime ago while checking out some threads- > related stuff on Linux/Alpha is of use. Also note that the format > characters as given in the man page for proc are not all correct >