Re: debugging a process

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

 



On Thu, Sep 9, 2010 at 6:06 PM, Daniel Baluta <daniel.baluta@xxxxxxxxx> wrote:
Hi Daniel
> For debugging purposes you can start with a `lighter' program.
can you suggest some thing.Which you can consider as lighter program.

>
> In order for gdb to dump meaningful results the program must be compiled
> with debugging symbols enabled (-g flag should be present in compilation line).
Ok.
> Useful information about a processes can be found with:
>      * pmap, reports memory map of a process.
>      * lsof, lists opened files for a process.
>      * strace/ltrace, allows you to analyse system/function calls.
>      * cat /proc/PID, various info about a process.
>
Ok.


-- 
Tapas
http://mightydreams.blogspot.com
http://wiki.xensource.com/xenwiki/Xen_on_4_app_servers

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux