Go Back   The UNIX and Linux Forums > Top Forums > Emergency UNIX and Linux Support !! Help Me!!
google site



Emergency UNIX and Linux Support !! Help Me!! Post your urgent questions here for highest visibility. Posting a new thread to this forum requires Bits. We monitor this forum to help people with emergencies, but we do not guarantee response time or answers. This forum is "best effort" only. Members who reply to posts here receive a bonus of 1000 Bits per reply.

Closed Thread
English Japanese Spanish French German Portuguese Italian Powered by Powered by Google
 
Search this Thread
  #8  
Old 12-10-2009
ɹǝsn *sıɹɐlos*
 

Join Date: Dec 2007
Location: Paris
Posts: 2,389
Thanks: 0
Thanked 36 Times in 33 Posts
As you are running Solaris, install Sun Studio. The bundled dbx can help you figuring out if there is actually a leak and where it happens.


Code:
$ dbx /usr/bin/sleep
For information about new features see `help changes'
To remove this message, put `dbxenv suppress_startup_message 7.7' in your .dbxrc
Reading sleep
Reading ld.so.1
Reading libc.so.1
(dbx) check -leaks                                                           
leaks checking - ON
(dbx) run 10      
Running: sleep 10 
(process id 3032)
Reading rtcapihook.so
Reading libdl.so.1
Reading rtcaudit.so
Reading libmapmalloc.so.1
Reading libgen.so.1
Reading libm.so.2
Reading rtcboot.so
Reading librtc.so
RTC: Enabling Error Checking...
RTC: Running program...
Reading libshell.so.1
Reading libcmd.so.1
Reading libast.so.1
Reading fr_FR.UTF-8.so.3
Reading methods_unicode.so.3
Checking for memory leaks...

Actual leaks report    (actual leaks:            0  total size:          0 bytes)

Possible leaks report  (possible leaks:          0  total size:          0 bytes)

execution completed, exit code is 0

Libumem and mdb can also be helpful.
Sponsored Links
  #9  
Old 12-22-2009
Registered User
 

Join Date: Aug 2008
Location: India
Posts: 24
Thanks: 0
Thanked 0 Times in 0 Posts
The command you are searching for is probably 'sar' this is usually not pre installed.. In opensuse it comes with the package sysstat.. google fot it to find and use..
  #10  
Old 12-22-2009
ɹǝsn *sıɹɐlos*
 

Join Date: Dec 2007
Location: Paris
Posts: 2,389
Thanks: 0
Thanked 36 Times in 33 Posts
Sar is always installed with Solaris but it cannot help pinpointing what specific process is using too much memory nor identifying a memory leak source.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to check Memory Utilization by each process bryanabhay SuSE 5 11-30-2009 09:22 AM
Monitor Memory of a process archana485 UNIX for Dummies Questions & Answers 3 07-18-2009 01:57 AM
Unix Script to find and kill a process with high memory utilization robinforlinux Shell Programming and Scripting 0 03-05-2009 01:47 PM
Getting CPU utilization and memory for a process radiatejava UNIX for Dummies Questions & Answers 5 03-03-2009 12:47 PM
Memory and CPU utilization process learnbash Shell Programming and Scripting 4 05-21-2008 02:21 PM



All times are GMT -4. The time now is 12:14 AM.