anuradha moturi wrote:
Hi,

Does prstat output for a child process reflect its own resource utilization or are those stats the same as that of the parent process. I have observed that the size and rss stats for both parent and child were same, I wanted to clarify whether it means the child is also using up as much as the parent or if it means that the stats shown out there are of the parent process itself.

thanks,

Well, this isn't the case on my desktop:

   PID USERNAME  SIZE   RSS STATE  PRI NICE      TIME  CPU PROCESS/NLWP
 23421 barts      68M   21M sleep   59    0   0:01:09 0.2% gnome-terminal/2
 23424 barts    1504K 1268K sleep   59    0   0:00:00 0.0% csh/1
23422 barts 1668K 1068K sleep 49 0 0:00:00 0.0% gnome-pty-helpe/1
  4791 barts    1132K  968K sleep   59    0   0:00:00 0.0% firefox/1


23421 gnome-terminal
  23422 gnome-pty-helper
  23424 csh
    4791  /bin/sh /usr/sfw/bin/firefox
4812 /bin/sh /usr/sfw/lib/firefox/run-mozilla.sh /usr/sfw/lib/firefox/firefox-bin -U
        4818  /usr/sfw/lib/firefox/firefox-bin -UILocale C -contentLocale C
          6123  <defunct>

Note that this may appear to be the case if the process
simply forks into multiple pieces after reaching it's
full size....

- Bart



--
Bart Smaalders                  Solaris Kernel Performance
[EMAIL PROTECTED]               http://blogs.sun.com/barts
_______________________________________________
perf-discuss mailing list
[email protected]

Reply via email to