Re: /proc/kcore too big - how to empty



MML wrote:

> Please suggest how to empty /proc/kcore. Or, is it needed ata all?
> My / has 5Gb total space 3.25 of which is taken by /proc/kcore. I do
> know that's my RAM image (4Gb of RAM on this machine, but motherboard
> allows only 3.25Gb to be addressed (!?)) and that it shouldn't consume
> real hard disk space, but YOU reports that I almost got no space to do
> the upgrades.
> Now, everything might be all OK upgrade wise, but I didn't want to
> proceed before asking for an advice.
>
> Any suggestions?
>
> Kind regards,
> Mladen
>
> --

Mladen,

The proc is virtual file system that doesn't take any space on your HD.
The /proc is only mount point for procfs (proc file system).
The /proc/kcore doesn't occupy any space on HD. It is representation of
computer RAM.

What YaST reports is real HD space, and 5GB for SUSE is not that much.
My installation is not very big and it takes 6GB.
You can use command line tools to see what is taking most of the space.
Look in:
#man du
for options for du (disk usage) and see
#df
to see how much space you have on all mounted media.
The df is very fast, but gives only per partition/media usage.
It reports real disk space only.
The du is rather slow if you want details for whole HD, but it reports all
mounted file systems if you don't limit scope using options.

I find usefull
#du -kx --max-depth=1 <here_directory_you_ want_to_check>
For instance:
#du -kx --max-depth=1 /
will list the biggest users of disk space in root directory, skipping
virtual file systems, network mounted disks etc. That will give you real
usage of your hard disk.

--
Regards,
Rajko.
.



Relevant Pages

  • Re: Virtual Memory is too low
    ... Free disk space is valuable if you have insuffient and less or not ... the option windows has provided and provide ... The aspect of virtual memory you refer to as a machine limitation is ... Adding RAM can reduce but not eliminate pagefile ...
    (microsoft.public.windowsxp.general)
  • Re: running Linux with no swap space (but lots of RAM)
    ... |>| It's a statement of fact: You are advocating to save disk space at the ... |>| expense of RAM. ... what would have to be running to make use of 256 GB of swap? ... |>A page that is dirty and would get swapped out can instead take up RAM ...
    (comp.os.linux.development.system)
  • Re: Will the ZoneAlarm Suite or Kaspersky fit on my system?
    ... You have 512 Mb of RAM ... I can't tell you how much disk space you have as you have not provided ... Asking which antivirus program is best is like asking which car is ... install. ...
    (microsoft.public.security)
  • Re: Time didnt change with my clock
    ... I going to put over 10 MB than I have to just cause Apple messed up!! ... email to oshea dot j dot j at gmail dot com. ... if you don't have enough RAM to conduct normal operations, ... so you won't even see any major change in disk space. ...
    (comp.sys.mac.system)
  • df nor FSView reporting correct free space
    ... When I went to run apt-get upgrade tonight I found that I had run out of disk space on a partition of approximately 20 gigs. ... However, FSView reports that I have approximately 12.5 gigs of used space, or approximately 7.5 gigs of free space. ...
    (Debian-User)