LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-17-2009, 10:19 PM   #1
vendtagain
Member
 
Registered: Sep 2009
Distribution: Slackware, Debian, Mac OS X, Zenwalk, Puppy, Gentoo
Posts: 199

Rep: Reputation: 32
find and proc error


several times when searching system using "find" i get an error dealing with "/proc" directory. whats this about?
specifically it says "/proc/2932" doesn't exist. and has happened in 2 different os

Last edited by vendtagain; 09-17-2009 at 10:39 PM.
 
Old 09-18-2009, 12:11 AM   #2
vinaytp
Member
 
Registered: Apr 2009
Location: Bengaluru, India
Distribution: RHEL 5.4, 6.0, Ubuntu 10.04
Posts: 704

Rep: Reputation: 55
Quote:
Originally Posted by vendtagain View Post
several times when searching system using "find" i get an error dealing with "/proc" directory. whats this about?
specifically it says "/proc/2932" doesn't exist. and has happened in 2 different os
Can you please specify clearly what all the commands you have executed using find and what error you got.
 
Old 09-18-2009, 12:35 AM   #3
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,724

Rep: Reputation: 2121Reputation: 2121Reputation: 2121Reputation: 2121Reputation: 2121Reputation: 2121Reputation: 2121Reputation: 2121Reputation: 2121Reputation: 2121Reputation: 2121
Things come and go in /proc - it's a pseudo filesystem after all.
Be more specific in your path specification, or use a more applicable tool; maybe "locate".
 
Old 09-18-2009, 02:09 AM   #4
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,374

Rep: Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383Reputation: 2383
The /proc dir doesn't really exist; it's actually a window into the kernel.
http://www.linuxtopia.org/online_boo...5_ch-proc.html
 
Old 09-18-2009, 06:05 AM   #5
lutusp
Member
 
Registered: Sep 2009
Distribution: Fedora
Posts: 835

Rep: Reputation: 102Reputation: 102
Quote:
Originally Posted by vendtagain View Post
several times when searching system using "find" i get an error dealing with "/proc" directory. whats this about?
specifically it says "/proc/2932" doesn't exist. and has happened in 2 different os
Problem: you get errors searching through /proc.

Solution to problem: Don't search through /proc.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't find /proc/config.gz PlatinumX Linux - Newbie 6 08-02-2009 08:58 PM
how to find proc mounted or not using C libraries skyknight Programming 11 05-11-2009 11:26 PM
find error in /proc BlueSpirit Slackware 7 10-14-2006 10:16 AM
Not able to find /proc/pci. unreal128 SUSE / openSUSE 2 11-02-2005 10:45 PM
Can't find file '/proc/mounts' TY2K4 Red Hat 1 01-10-2004 07:39 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration