> Hello. I have a 1G partition for Linux.
> capacity
> 60 MB for / 63%
> 100 MB for /home 37%
> 450 MB for /usr 98%
> 430 MB for /usr/local 40%
>
> I have noticed that my computer is getting slower i.e. after I am on the
> net for a while, bringing back the emacs window takes a very noticeable
> long time. Once about an hour ago, X windows actually hung. Finally
> pressing around with the CTL and ALT and F1....4 buttons worked enough
> to get me an alternate terminal to kill X windows and start it again. I
> am thinking maybe this is because /usr is so full.
I would be surprised, if that's what is going on. When X is slow or hanging
and you can still get access to an x-terminal or a console, I suggest you
have a look at cpu-usage or memory (type e.g. ps aux). My bet is that you
will see a process using 98% or so of the CPU. Else it may be a memory
problem: Do you hear any activity on the hard-drive that is indicative of
swapping or is kswapd active? Maybe some pathological process locked a lot
of memory and is not giving it back. Let me emphasize, that in any case
something is wrong, since your resources are sufficient for running X
windows, emacs and a whatever you use for connecting to a network.
The approx. 9 MB you have left on /usr would not worry me, besides that if X
or some other program was creating some large temporary file on your disk,
that should happen under /tmp or /var both which are presumably part of your
root partition?
Moving stuff between partitions is possible, you can always create symlinks.
However, you should be extremely careful with executables and particularly
with SHARED LIBRARIES.
> I am running RH5.2 on 64 MB of ram. I am thinking of getting a new hard
> drive. If I just turned off the computer and installed the hard drive,
> will Linux recognize the new drive at reboot?
With ide-drives and most plain-vanilla scsi-controllers there shouldn't be a
problem. You will just see a new device though; partitioning, formatting and
mounting is your own responsibility.
HTH
Rolf
Rolf Mueller rolf.mueller@yale.edu
Intelligent Sensors Lab, EE Dept.
Yale University, New Haven, CT 06520-8284
Phone 203 432 4297 Fax 203 432 7769