Where to look or command

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Sam Drinkard wrote:
> List,
> 
>    I've got a process(s) that have been exiting on a signal 11, but not 
> all the time.  I suspect it's memory related, and I was wondering, is 
> there any way to tell exactly how much memory a particular process has 
> in use at the point it sigsev's ?  I can't sit here and watch top or the 
> system monitor, but thought maybe something might be saved somewhere 
> after the fact.  The processes are using at the moment, 1.4gb of memory 
> and no swap.  I've not seen swap go active during any of this process 
> run, and the machine has 2 GB memory installed.  Rather hard to trace 
> down the exact activity when it happens.

After the process starts, strace it:
strace -p `ps -ef |grep YourProc |grep -v grep | awk '{print $1}'`

-Mark

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux