what is the cmd in gdb to know resource info


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers what is the cmd in gdb to know resource info
# 1  
Old 01-06-2006
what is the cmd in gdb to know resource info

Hi All,

I am running one exe file say xyz and it is executing some 300 files. This xyz hanges when it reach at file no 232. So I checked this particular file by putting in the beginning and it didnt hang at that file but hanaged again at file no 232. So i figure out its not a problem with xyz or the files it is executing. Its a memory problem or it could be anything else related to system resources.

Can any one help me how can i figure out what the system resource problem. Do we any command in gdb to tell any information about the system resources. If it is there i can put xyz in debug and can figure it out.

Thansk in advance.
Regards
Gauri
# 2  
Old 01-06-2006
Without knowing exactly what you're doing -

If you are calling exec() 232 times you are probably exceeding a process limit - the number of processes allowed on the system. With that many processes running concurrently nobody is going to get anything done.
# 3  
Old 01-11-2006
Hi,

Thanks for the reply. How should i check what is the process limit on my system.

Thanks & Regards
Gauri
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Perl open(CMD, "cmd |"); buffering problem..

Hello, There's a third-party application's command that shows the application's status like "tail -f verybusy.log". When use the command, the output comes every 1-sec. but when it goes in a script below the output comes every 8-sec...What is the problem and how can I fix it? open(CMD,... (2 Replies)
Discussion started by: Shawn, Lee
2 Replies

2. Programming

gdb help

i have created some break points in gdb. let's say.... b sqlcxt how can i know the breakpoint name of sqlcxt ??? (1 Reply)
Discussion started by: lipun4u
1 Replies

3. Shell Programming and Scripting

Unix cmd prompt how to get old cmd run?

Hi, I am using SunOS I want to serch my previous command from unix prompt (like on AIX we can search by ESC -k) how to get in SunOs urgent help require. (10 Replies)
Discussion started by: RahulJoshi
10 Replies

4. Solaris

Why gdb can't run?

My OS is Solaris10,I download gdb-7.0.tar.gz,and install it,I use following commands: ./configure make Then I enter gdb,but I can't run it! $gdb -bash: gdb: command not found Where is wrong? How to do it? Thanks (1 Reply)
Discussion started by: konvalo
1 Replies

5. UNIX for Dummies Questions & Answers

kill/pkill process by CMD info.

I have a process that I'd like to kill. Doing a "ps -fu myusername" gives me: UID PID PPID C STIME TTY TIME CMD myusername 5443 1 0 10:05 ? 00:00:00 /bin/sh /some/path/crap.sh -s /yet/another/path/parentProcess myusername 5593 5443 0 ... (2 Replies)
Discussion started by: mrwatkin
2 Replies

6. UNIX for Advanced & Expert Users

Using Gdb

Hi All, I am trying to execute a binary and it is giving Segmentation Fault. Can I use gdb to debug this error? Secondly there is no core file generated , so when I an trying to run gdb with the binary only I am not able to set any breakpoints. When I am running the gdb and the I am... (1 Reply)
Discussion started by: shubhranshu
1 Replies

7. UNIX for Advanced & Expert Users

Gdb

Hi All, I wanted to know if there is a core file generated and I am not sure for which Binary it is generated . Can I use gdb to debug the core file ? Thanks. (1 Reply)
Discussion started by: shubhranshu
1 Replies

8. UNIX for Advanced & Expert Users

Gdb:

Hi, This is a simple question on GDB. Given a core file, how can you check which process has dumped the core? Regards - Krishna (1 Reply)
Discussion started by: krishnamurthig
1 Replies

9. UNIX for Advanced & Expert Users

Unix GDB Debugger info

Can any body gime a link for sample programs which can help me to debug the C programs using unix gdb debuger. Please send me the sample programs wch can explain debugging also. I am a begginer for GDB. KG (1 Reply)
Discussion started by: kapi.goel
1 Replies

10. UNIX for Dummies Questions & Answers

man <cmd> >> cmd.txt

I've noticed most of my postings here are because of syntax errors. So I want to begin compiling a large txt file that contains all the "man <cmd>" of the commands I most have problems with. I ran a "man nawk >> nawk.txt" but it included a header/footer on each "page". Anyone know how I'd be... (6 Replies)
Discussion started by: yongho
6 Replies
Login or Register to Ask a Question