[Nagiosplug-help] check_procs on Solaris
Alex Moore
asmoore at edge.net
Sun Oct 22 16:31:09 CEST 2006
On Sun, 22 Oct 2006 09:13:34 -0500
Alex Moore <asmoore at edge.net> wrote:
Followup again. With gdb, I used 'up' a few times to get to the
offending input_line. ps.out in my previous email shows this line.
---
(gdb) up
#4 0x00012468 in main (argc=7, argv=0xffbff87c) at check_procs.c:196
196 asprintf (&procargs, "%s",
input_line + pos); (gdb) print &procargs
$8 = (char **) 0xffbff3cc
(gdb) print procargs
$9 = 0x0
(gdb) print input_line + 196
$10 = 0x370e4 ""
(gdb) print input_line
$11 = 0x37020 "S 0 12202 12199 328 40 0.0 4-02:43:58 -sh", ' '
<repeats 78 times>, "-sh\n"
(gdb)
---
Here is the line from ps.out:
---
S 0 12202 12199 328 40 0.0 4-02:38:31
-sh
-sh
---
Hope this helps,
Alex
More information about the Help
mailing list