Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
i ordered a new dedicated server, with centos 4 blah blah blah. unfourtanetly the provider thought they were doing a favor by pre installing all sorts of software onto my server, which i didn't want any of it. i just wanted the bare minimum needed to have SSH access to the server.
theres all sorts of things on it. when i type in top i get a list of 100 things running.
I know some of them are important but i know alot of them arent. i only have about 50 megs free (of 1,000 megs of ram !) becasue theres so much crap running
I would tell them to reinstall the OS but without the crap. But i need the server online so i need to do this on my own.
is there a way to output the output of top to a logfile to paste here?
right now my biggest concern is "couriertcpd" and "courierlogger" which are running multiple instances.
google says their for something involved TCP connections so im not sure if i should go ahead and kill them
Installing is one thing and running is another. If you browse through your runlevel's init scripts, I'm sure you can stop and disable quite some processes. Having them installed will then just eat up disk, which is cheap.
Linux uses a maximum of memory for caching, so a high memory usage is not necessarily a problem. Type "free -m" and look at the "cached" column.
As for your top question: "top -b -n 1 > outfile".
So if I understand that correctly, 70% (=1369/1961) of your memory is "abused" to speed up disk access and can be freed by the kernel any moment. 23% of your memory is really in use. No swap is used at all. That looks very fine to me.
i only have about 50 megs free (of 1,000 megs of ram !)
You payed for the ram, why not use it?
i guess this is memory in cash which is taking up space? so i need to maybe clear the cache or something?
What space? Cache will release this memory when needed. Start some process and see how this works.
load average: 0.00, 0.00, 0.00
Your system is basically sitting idle doing nothing. Run some processes and watch "top". This will show how it works. If you are having problems with processes starting or running slow, then you might have a problem with your system allocating ram.
now what steps should i take to get rid of the pre installed software off of my disk? i dnot want to have to kill all the tasks again if i eve reboot or something.
is just deleting them (the files) suffice enough?
The key here is not to start the software when starting the system.
So, first stop the tasks using the scripts in /etc/init.d.
Then you need to adjust what gets started. I don't use CentOS/RH, but this can get you started.