Memory usage on Red Hat

James Cooley jcooley at fit.edu
Tue Jun 28 04:04:16 UTC 2005


For truss,  the strace command is probably what you are looking for.   
You'll need to install it first:   up2date --install strace

For ptree, use the pstree command in Linux.

pstack is the same on Linux as it is on Solaris for the most part,  
but it has to be installed:   up2date --install pstack

Also, you may want to look at the manpage for the sar command.  Sar  
collects a variety of info about resource usage throughout the day  
and enables you to view the stats.

--James Cooley






On Jun 27, 2005, at 11:05 PM, ubergoonz wrote:

> I have a RHEL server that hugs for no particular reason .. so I  
> need to do
> some performance monitoring.
>  I am trying to understand how memory are being used and used by what
> process on Linux.
> comming from Solaris background, I am more familiar on tools  
> available on
> Solaris.
>  I wonder if anyone can point me to articles to readup on what's  
> shared,
> buffers, cached memory are being used in RHEL fromt he `free, vmstat`
> outputs.
>  and what are equiv to truss, pstack, ptree on Linux if there are  
> similiar
> tools around.
>
> -- 
> Best Regards,
> Leslie Joshua Wang
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list
>




More information about the redhat-list mailing list