You are not logged in.
Hi and thanks, for some reason all of sudden my 'find ' function from the terminal is hanging it might turn back a result close to the root of the search but then it just hangs and never ends. I am using Awesome DE, I keep my updates up. I don't even know what I should post as far as information because this is so "part of the OS" type thing. Please let me know what I can provide and I will get it up here right away. I use that functionality all the time.
All help is appreciated.
--jerry
Also I can't even CTRL-C and stop it, I have to close the terminal
Last edited by jk121960 (2012-03-28 20:48:24)
Arch Awesome, Ranger & Vim the coding triple threat.
Offline
If you posted that find function it might be easier to track down the problem ...
Offline
I'm sorry like
find / -iname somefileArch Awesome, Ranger & Vim the coding triple threat.
Offline
If you have a big system, it might take a long time to search through it all.
If you run it on a small test directory e.g.
[karol@black foo4]$ ls
Foo bar
[karol@black foo4]$ find . -iname bar
./bardoes it exit properly?
Offline
No I tried that with my home .config directory, it found only the one and we know there is more than one, then it just hangs a d doesn't return. I have to close the terminal. I use it all the time so I have a good idea how long it runs before it completes the whole system.
thanks again.
--jerry
Arch Awesome, Ranger & Vim the coding triple threat.
Offline
you can use strace to diagnose what an executable is doing.
Last edited by rwd (2012-03-28 19:13:38)
Offline
OK and thanks can you give me a small code example of this trace?
thanks
--jerry
Arch Awesome, Ranger & Vim the coding triple threat.
Offline
pls search the forum/wiki
Offline
In that much space and with that much effort you could have wrote down the one line of code.
Arch Awesome, Ranger & Vim the coding triple threat.
Offline
I possibly could have. But if would take just as much time for me to look it up as you. And tomorrow you'll demand another spoonfed answer. The arch way is to provide information, try for yourself, search the wiki, not demand people to google for you. Otherwise Arch may not be for you. https://wiki.archlinux.org/index.php/Forum_Etiquette
Offline
I looked and I haven't found anything yet, and the way you stated it, I would have thought you knew what to do. So were you guessing or did you know. Or do you just enjoy being condescending to people who obviously know less then you or know more about other aspects then you and not about this particular subject. I have had a lot of good information exchanged on this forum both to me and from me. I have solved most of my own problems closed my queries and posted the results for the next guy. I do research but not everything is quite so obvious as to the approach to take, I have built no less then 30 different Arch desktops and once in a while I run into something I don't know how to approach. So shoot me.
Arch Awesome, Ranger & Vim the coding triple threat.
Offline
A few suggestions if you haven't already tried them:
pacman -S findutilsTo re-install the find binary.
Does find work correctly if you create a new user?
Does "ls -R" work correctly?
What does the "oldfind" command return? I just found it and it seems to be another find binary.
Hope some of this helps.
Offline
I looked and I haven't found anything yet, and the way you stated it, I would have thought you knew what to do. So were you guessing or did you know. Or do you just enjoy being condescending to people who obviously know less then you or know more about other aspects then you and not about this particular subject. I have had a lot of good information exchanged on this forum both to me and from me. I have solved most of my own problems closed my queries and posted the results for the next guy. I do research but not everything is quite so obvious as to the approach to take, I have built no less then 30 different Arch desktops and once in a while I run into something I don't know how to approach. So shoot me.
1) Relax
2) First result on google for "using strace" : http://www.hokstad.com/5-simple-ways-to … trace.html
3) Second result is also very useful: http://www.debian-administration.org/articles/352
Last edited by lifeafter2am (2012-03-28 19:56:36)
#binarii @ irc.binarii.net
Matrix Server: https://matrix.binarii.net
-------------
Allan -> ArchBang is not supported because it is stupid.
Offline
I looked and I haven't found anything yet, and the way you stated it, I would have thought you knew what to do. So were you guessing or did you know. Or do you just enjoy being condescending to people who obviously know less then you or know more about other aspects then you and not about this particular subject. I have had a lot of good information exchanged on this forum both to me and from me. I have solved most of my own problems closed my queries and posted the results for the next guy. I do research but not everything is quite so obvious as to the approach to take, I have built no less then 30 different Arch desktops and once in a while I run into something I don't know how to approach. So shoot me.
Stop being a bitch.
Edit: too slow
.
Last edited by /dev/zero (2012-03-28 19:57:02)
Offline
jk121960 wrote:I looked and I haven't found anything yet, and the way you stated it, I would have thought you knew what to do. So were you guessing or did you know. Or do you just enjoy being condescending to people who obviously know less then you or know more about other aspects then you and not about this particular subject. I have had a lot of good information exchanged on this forum both to me and from me. I have solved most of my own problems closed my queries and posted the results for the next guy. I do research but not everything is quite so obvious as to the approach to take, I have built no less then 30 different Arch desktops and once in a while I run into something I don't know how to approach. So shoot me.
Stop being a bitch.
Edit: too slow
.
OMG I've never seen that before ... I almost spit Sprite all over my keyboard I was laughing so hard!!! ![]()
#binarii @ irc.binarii.net
Matrix Server: https://matrix.binarii.net
-------------
Allan -> ArchBang is not supported because it is stupid.
Offline
A few suggestions if you haven't already tried them:
pacman -S findutilsTo re-install the find binary.
Does find work correctly if you create a new user?
Does "ls -R" work correctly?What does the "oldfind" command return? I just found it and it seems to be another find binary.
Hope some of this helps.
thanks
The reinstall didn't help,
I will try the new user thing.
but ls -R worked no problem.
and the oldfind (how did you know) worked the same. How did you know about the oldfind that crazy?
because the resinstall didn't effect it and oldfind is the same, it has to be a peripheral issue. another poster dropped the trace code and I will give that a try.
But thanks for your help with this.
--jerry
Arch Awesome, Ranger & Vim the coding triple threat.
Offline
jk121960 wrote:I looked and I haven't found anything yet, and the way you stated it, I would have thought you knew what to do. So were you guessing or did you know. Or do you just enjoy being condescending to people who obviously know less then you or know more about other aspects then you and not about this particular subject. I have had a lot of good information exchanged on this forum both to me and from me. I have solved most of my own problems closed my queries and posted the results for the next guy. I do research but not everything is quite so obvious as to the approach to take, I have built no less then 30 different Arch desktops and once in a while I run into something I don't know how to approach. So shoot me.
1) Relax
2) First result on google for "using strace" : http://www.hokstad.com/5-simple-ways-to … trace.html
3) Second result is also very useful: http://www.debian-administration.org/articles/352
Thanks I will check this out, I tried like app trace and a couple variations I didn't know where to start,
so thanks again.
--jerry
Arch Awesome, Ranger & Vim the coding triple threat.
Offline
Well that strace spit out like a virtual mountain of information, I will have to check it out, but what a great tool thanks for that.
--jerry
Arch Awesome, Ranger & Vim the coding triple threat.
Offline
jon wrote:A few suggestions if you haven't already tried them:
pacman -S findutilsTo re-install the find binary.
Does find work correctly if you create a new user?
Does "ls -R" work correctly?What does the "oldfind" command return? I just found it and it seems to be another find binary.
Hope some of this helps.
thanks
The reinstall didn't help,
I will try the new user thing.
but ls -R worked no problem.
and the oldfind (how did you know) worked the same. How did you know about the oldfind that crazy?because the resinstall didn't effect it and oldfind is the same, it has to be a peripheral issue. another poster dropped the trace code and I will give that a try.
But thanks for your help with this.
--jerry
Strangely it seems to be better now, I can only assume that possibly it needed to be dropped out of current memory before the new exe could take over. The only thing I physically did was the re-install.
thanks again for your help.
--jerry
Arch Awesome, Ranger & Vim the coding triple threat.
Offline