Search Results

Search: Posts Made By: alpha_romeo
49,777
Posted By alpha_romeo
i understand that fpmurphy, i am making changes...
i understand that fpmurphy, i am making changes in the application. this is only for a temporary fix

---------- Post updated at 09:49 PM ---------- Previous update was at 09:47 PM ----------
...
49,777
Posted By alpha_romeo
Hey, I am triggering the gdb from script...
Hey,

I am triggering the gdb from script like:
gdb -command=file -p pid

it is running but saying hit return to continue.

how can i give gdb command so that it is ran as a silent command...
49,777
Posted By alpha_romeo
thanks ygemici , it matches my requirements
thanks ygemici , it matches my requirements
49,777
Posted By alpha_romeo
ygemici, so exec 3>&- works.. thanks...
ygemici,

so exec 3>&- works.. thanks :).. that answers my question.

i want to close the fds because there are too many open fds in the process and that is causing performance issues. I...
49,777
Posted By alpha_romeo
yazu, what will happen if i attempt to do a...
yazu,

what will happen if i attempt to do a 5>&- from /proc/pid/fd ??.. will the fd not be closed ?

regards
romeo
49,777
Posted By alpha_romeo
hi ygemici, thanks for the suggestions :)...
hi ygemici,

thanks for the suggestions :) . But i don't want to end the process. the process is a 24*7 running application. i shouldn't kill it.

I need to only close certain open file...
49,777
Posted By alpha_romeo
hi frank_rizzo i am basically doing a ps-ef...
hi frank_rizzo

i am basically doing a ps-ef | grep <an application>

going to the /proc/pid/fd and trying to close some open files
49,777
Posted By alpha_romeo
Closing open file descriptors from /proc/pid/fd
Hi guys,

i need to write a shell script that will close file descriptors from /proc/pid/fd

will calling exec 4<&- solve the problem ?

thanks in advance :)
Showing results 1 to 8 of 8

 
All times are GMT -4. The time now is 10:59 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy