Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
When I startx and run fluxbox, I then run top, and I will get you a screen shot, if you will let me know how to copy the data in an xterm and paste it into one of these posts. But in top I notice that of my 64 megs of ram just about 60 of it is already used before I even start any major programs. Any suggestions.
Just click-drag your mouse over the term and then middle click in the browser - post it in [ code ] tags if you do. But just check the middle line of the output of 'free' under the 'used' and 'free' columns - that'll give you a little more accurate impression. I suspect you're just seeing total memory 'used' but most of that can be freed up on demand. Also, I assume you have a swap partition - again, some of that can be utilized at any time but if it's not full, you've still got some room. If it's almost empty, then your physical RAM-usage isn't all that high, either.
I don't think either one are particularly accurate, but top seems to be particularly iffy.
All that being said, 64 megs isn't a whole lot - if possible, adding more is always a good idea - it's just not always doable, either because of mechanics or money. But I have booted to a GUI on 8MB and been able to use one on 32.
Last thought - you may be running too many unecessary processes that you could turn off to save memory.
In addition to what Digi said: Linux will pretty much
grab ALL memory, no matter what, and utilise it one
way or another. On my 512MB notebook I get the
following output.
I do have swap space available, I just thought maybe there was a way to free up ram and force soemm of this stuff into swap space since it is very rarely used by linux. But maybe Linux is just showing me that it has used all my RAM.
I would like to post the top to see if anybody sees anything interesting that a newbie like myself wouldn't see, but when I tried to copy and paste my term window it wouldn't work. I only have two buttons and I found that with a two button pad, I have a laptop, you can hit both buttons at once. I tried this just to paste to a blank xterm, to a vim window and into my browser without luck. Any ideas? Where can I look at my mouse settings, maybe something in there is causing problems.
Search for the
Section "InputDevice"
Driver "mouse"
If it's not enabled (commented out or
non-existing), enable Option "Emulate3Buttons"
And you shouldn't be worrying to much
about the usage of RAM or SWAP-space.
Linux is highly efficient at that, the kernel
developers did a marvellous job.
Here is the output from top on my linux machine. Can anyone let me know if any of this can be killed, or if anything looks wierd. I doubt it, but I gues we are all looking for more speed so this is where my endeavour has lead me.
Not sure what anacron is, but I think atd and crond are both task schedulers. Maybe all three. I think atd is supposed to be more versatile, but I just installed crond. If you're on a solo box, I don't think you need sshd - maybe not portmap, rpc.statd. If you don't print, you don't need cupsd. Not real sure about that or some others, but I'd look into turning some things off. Your top output looks a little different than mine (in fields - naturally the numbers differ) - so I'm not positive, but it looks okay. Like I say, the fact that you have any free physical RAM at all and have dipped into swap so little means you're basically okay. And you don't need to force stuff into swap to free up physical RAM. I know it's kind of like the opposite of a gas tank syndrome where you're worried if the 'tank' is *full* but, really, memory is there to be used and the kernel will shift a little to swap when convenient and shift a lot when it has to.
Maye Tink or someone will drop back by and give you specifics on those daemons. It doesn't seem like you're too overloaded but I suspect there is some trimming you could do.
atd will allow you to run a unique task at a unique
time ... you can schedule it whenever you please
which makes it quite handy sometimes. I use atd
frequently for "alarm events" (Play a mp3 to get
myself of the machine at a given time :})
anacron does basically what cron does, with
the difference that anacron will also check jobs
that didn't run because the machine was shut-down,
and then run them at a time when the box is
reasonably idle. I don't use it though, and prefer
to decide manually whether or not to run a job
that had been sheduled for a time when the machine
was down.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.