Sponsored Content
Full Discussion: proc directory
Top Forums UNIX for Dummies Questions & Answers proc directory Post 38454 by Perderabo on Wednesday 16th of July 2003 04:17:55 PM
Old 07-16-2003
It would help if you tell us which os you are using.

In general, the proc directory is a make-believe file system.

First that means that it is a seperate file system. If / and /usr are filesystems and / is tight on space, freeing up space in /usr does not help /. Ditto which /proc and /.

But /usr is at least a real filesystem. If you free up space in /usr, well then you have some space in /usr where you could put some files. That is not true of /proc. /proc is not real disk space and you cannot put files there.

/proc is a representation of the processes that are running. Yes, you can tune a kernel and limit the number of proceeses that can run. That will make /proc smaller.

Before you do that, look at /proc immediately after a boot. It will be much smaller. But you won't have any more disk space.
 

10 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

5. 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

6. UNIX for Dummies Questions & Answers

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 (7 Replies)
Discussion started by: bache_gowda
7 Replies

7. 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

8. 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

9. 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

10. 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
MKILL(8)						       The SuSE boot concept							  MKILL(8)

MKILL
Mkill - Send processes making a active mount point busy a signal SYNOPSIS
mkill [-SIG] [-u] /mnt1 [/mnt2...] mkill [-l] DESCRIPTION
mkill determines all active mount points from /proc/mounts and compares this with the specified mount points. Then mkill seeks for pro- cesses making this mount points busy. For this search only the links found in /proc/<pid>/ are used to avoid hangs on files provided by network file systems like nfs(5). The default signal is SIGTERM for termination. If a mount point is not active, that is that it is not found in /proc/mounts, mkill will do exactly nothing. OPTIONS
-<SIG> Signals can be specified either by name (e.g. -HUP, -SIGHUP) or by number (e.g. -1). -0 The special signal 0 force mkill to list all processes making the specified mount point busy. -u Perform a lazy umount on the specified mount points before sending the signal SIGTERM or SIGKILL. -l List all known signals. EXAMPLES
mkill -TERM /var This will terminate all processes accessing a seperate /var partition. mkill -HUP /dev/pts All processes using a pseudo-terminal slave will hangup. RETURN VALUE
Always success which is that zero is returned. SEE ALSO
fuser(1), proc(5), umount(8). COPYRIGHT
2008 Werner Fink, 2008 SUSE LINUX Products GmbH, Germany. AUTHOR
Werner Fink <werner@suse.de> 3rd Berkeley Distribution Jan 31, 2008 MKILL(8)
All times are GMT -4. The time now is 03:13 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy