proc


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers proc
# 1  
Old 05-14-2005
proc

Hi,
What are the various way's to fix /proc folder in redhat linux 7.2 and how to verify /proc folder is proper or croupted?

Thank in advance
Bache Gowda
# 2  
Old 05-15-2005
The /proc filesystem is dynamically maintained by the kernel. It is not a true filesystem containing "real" files...

My first question would be: what leads you to believe that /proc is not behaving in the way that it should - i.e., why would you want to "fix" it?

Cheers
ZB
# 3  
Old 05-18-2005
The applications (binary) are running fine as expected (it should not make difference whether it is a background process or a Unix Deamon). And all the necessary/required I/O with respect to applications are occurring fine with out any issues.

So, in this case, one would expect that 'ps' command with right options should list this process & its current status!!

It sounds like all this was working fine until few days back, and suddenly he is
seeing that "PS" is not listing the desired process, while the desired process is still running properly.
ps -ef not listing all the running demons so we thought some issue with proc
# 4  
Old 05-18-2005
First ask the user what he has changed, then make sure you can duplicate the problem in a separate privileged environment. There's a BIG chance something changed in the environment.

Don't assume /proc is messed up right of the bat.
# 5  
Old 05-18-2005
does ps -ef list anything? or does it hang?
# 6  
Old 05-23-2005
HI,
ps -ef lists all the demons running but only not listing few. Any how I found the reason why its not listing because ps command owner and group changed to normal user instead of root. I don't know how ps command owner and group changed to normal user?

Thanks a lot
Bache Gowda
# 7  
Old 05-23-2005
Do "normal" users own other executables (in the /bin, /sbin, /usr/bin and /usr/sbin directories)? Sometimes you'll see executables owned by "bin" - this is normal. If a true "normal" user owns these files, chances are you've been compromised!

Does anybody other than yourself know the root password? Have you noticed lots of failed ssh connections, etc? Check your logs (/var/log/messages) and see if anything naughty is going on. Good luck.

If you've been compromised, you're only real option is to restore trusted executables - whether this be from installation media/backups depends upon your disaster recovery procedures.

And all of this assumes that you actually have been compromised. And remember, a great deal of compromises come from somebody inside organisations Smilie

Cheers
ZB
 
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Regarding /proc

If you are adding the kernel module without any module parameter passing, it should print out following information to info1 file so that user can make read access to info1 file (via, for example, cat /proc/info1): • Processor type • Kernel version • Total number of the processes currently... (1 Reply)
Discussion started by: shekhar.huded
1 Replies

2. UNIX for Dummies Questions & Answers

_/proc/stat vs /proc/uptime

Hi, I am trying to calculate the CPU Usage by getting the difference between the idle time reported by /proc/stat at 2 different intervals. Now the 4th entry in the first line of /proc/stat will give me the 'idle time'. But I also came across /proc/uptime that gives me 2 entries : 1st one as the... (0 Replies)
Discussion started by: coderd
0 Replies

3. Programming

Need help ! SQL and Proc *C

:) hi all ! Please help me When I select data from oracle with proc * C prog. I count the number of rows For example the total rows is 1000000 but the number of result return is a limit number 5000 for ex So How can I know this limit (5 Replies)
Discussion started by: iwbasts
5 Replies

4. Programming

Need Of Proc*c/c++ Compiler

1. Software Requirments For Pro*c/c++ , 2. Need Pro* C/c++ Compiler, 3. Documents For Installing Proc* C Compiler (3 Replies)
Discussion started by: contactmadhuin
3 Replies

5. UNIX for Dummies Questions & Answers

proc directory

I did a search on this, but didn't find exactly the answer I'm looking for. What exactly is the proc directory for? Showing processes spawned by users? I ask because I have some very large files in that directory by multiple users and its affecting my disk usage. Can you limit how many... (2 Replies)
Discussion started by: kymberm
2 Replies

6. UNIX for Advanced & Expert Users

/proc

/proc is filing up my root filesystem. Can you delete any of the4 ID numbers out of /proc. Please help me. (3 Replies)
Discussion started by: aojmoj
3 Replies

7. Programming

Proc problem

Hello all , We have a c program , it is running well on AIX 4.3.3.0 .But when we run it on AIX 4.2.1.0 version the program exit when it begin to do this command : Exec sql connect . N.B: The version of C compiler is :4.2 Database :Oracle8 thanks in advance . Elie . (2 Replies)
Discussion started by: eyounes
2 Replies

8. UNIX for Advanced & Expert Users

The /proc Filesystems

Anyone know what the difference between the /proc filesystems under Linux and SunOS? Thanx In Advance! -Lola (1 Reply)
Discussion started by: Sparticus007
1 Replies

9. UNIX for Dummies Questions & Answers

about /proc

hi, we all know /proc is about the information of active process, I have just read an artical which said you can use /proc/cpuinfo, /proc/net./proc/meminfo etc. to know about some hardware information .But I want to know how to use with command line? (1 Reply)
Discussion started by: fuqiang1976
1 Replies

10. UNIX for Dummies Questions & Answers

/proc 100%

The df/bdf command shows /proc 100% full all the time. What does /proc contain? and why 100% all the time even on a new setup. (1 Reply)
Discussion started by: asutoshch
1 Replies
Login or Register to Ask a Question