From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,9182b5fb72a12fd2,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1994-06-20 08:59:58 PST Path: nntp.gmd.de!Germany.EU.net!EU.net!uknet!strath-cs!strath-cs!not-for-mail From: pgh@cs.strath.ac.uk (Pete Hendry) Newsgroups: comp.unix.osf.osf1 Subject: getting process information Date: 20 Jun 1994 16:59:25 +0100 Organization: Comp. Sci. Dept., Strathclyde Univ., Glasgow, Scotland. Message-ID: <2u4ect$1m1@maxwell-07.cs.strath.ac.uk> NNTP-Posting-Host: maxwell-07.cs.strath.ac.uk How do you get the size (real and resident) of processes in OSF/1 v2.00? I have tried using PIOCPSINFO and get lots of other information but the pr_size does not seem to correspond to either the file size (which it shouldn't) or to the information returned by ps. What are pr_size and pr_rssize (which always appears to be 0) actually representing? I know what the man pages say and what the procfs.h file says but this does not correspond to values from other sources. Is there a better way to get such process information? What I really want is to get all the information that 'ps' produces. Any ideas? Pete.