![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems . |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Monitoring for a hung process | prismtx | Shell Programming and Scripting | 2 | 03-08-2008 09:31 AM |
| monitoring process list via snmp, hrSWRun | Bzubi | AIX | 0 | 10-18-2007 05:43 AM |
| process monitoring | eric_wong_ch | Shell Programming and Scripting | 3 | 10-11-2007 07:08 AM |
| Process Monitoring Script Help | rdc69 | Shell Programming and Scripting | 0 | 08-30-2006 07:55 PM |
| Monitoring ftp process | arkhewit | UNIX for Dummies Questions & Answers | 2 | 06-29-2005 07:56 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Monitoring a single process in solaris
Hi All,
I need help to monitor a single process in solaris to identify if it leaks memory or is using up too much system resources. I need to collect data over a period of time and plot graph for that single process I tried using SAR & GNOME-perfmeter but both of them give me performance metrics for all processes running on the OS. There is no way I can use them to monitor a single process vmstat & iostat give a cumulative output in one shot for the entire system, not process specific I tried "prstat -L -p <processid> 30 > /tmp/sample.out", so that every 30 seconds sample are collected and written to sample.out file. But the disadvantage is that it does not have timestamp for us to know when a problem occured, if there is a memory leak. Prstat seems the best as of now from my investigation, but it has no timestamp to be able to plot graph for the statistics collected. Can you please suggest if there are any more similar tools to monitor a single process over a period of time for memory leaks? Thanks in advance for your support Regards, Jayana |
|
|||||
|
take a look at this thread on prstat
prstat problem also if you Code:
in a loop prstat -L -p <processid> 1 1 will collect for one second direct this to temp file combine this data with current data/time writing to another file wait 30 seconds Last edited by joeyg; 06-02-2008 at 12:03 AM.. |
|
|||||
|
if it is solaris 10, you can use "dtrace" to get all the information you need.
http://www.brendangregg.com/DTrace/dtrace_oneliners.txt DTrace Tools |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|