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!
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.
I am currently using Linux Mint 17.2 cinnamon. About 2 months ago, my computer slowed way down. It was to the point that the disk usage analyzer would take at least 2 hours to run, then got steadily worse. I took it to a technician here in SW. Washington who specializes in Linux.
After being without my computer for over a week, my computer was all cleaned up and as fast as it was when Linux was first installed. He said he had to use nemo in terminal to clean up all the temp files that creeped onto my hard drive.
It now looks like I am having the same problem again.
My question is: How do I go about using nemo to clean up my hard drive? I am showing 189.8GB of data on my hard drive, out of 487.5GB. I should not have that much data on here, so somehow something is filling up my hard drive.
That technician won't tell me how to use nemo. He just tells me to bring in my computer and he'll take care of it. I can't afford to fork out almost $100 every time this happens.
Distribution: Currently: OpenMandriva. Previously: openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,881
Rep:
Quote:
Originally Posted by whiteknite1963
I am currently using Linux Mint 17.2 cinnamon. About 2 months ago, my computer slowed way down. It was to the point that the disk usage analyzer would take at least 2 hours to run, then got steadily worse. I took it to a technician here in SW. Washington who specializes in Linux.
After being without my computer for over a week, my computer was all cleaned up and as fast as it was when Linux was first installed. He said he had to use nemo in terminal to clean up all the temp files that creeped onto my hard drive.
It now looks like I am having the same problem again.
My question is: How do I go about using nemo to clean up my hard drive? I am showing 189.8GB of data on my hard drive, out of 487.5GB. I should not have that much data on here, so somehow something is filling up my hard drive.
That technician won't tell me how to use nemo. He just tells me to bring in my computer and he'll take care of it. I can't afford to fork out almost $100 every time this happens.
I would recommend you try and find out what is causing your tmp folders to fill up, in the first place, as your going to continue to have the same problem, unless you can pin point the cause of it.
You should be able to delete, whichever files are not in use from your /tmp folder and possibly (depending on your distro) ~/tmp folder.
Hope this helps.
Last edited by jsbjsb001; 04-15-2017 at 01:08 PM.
Reason: fixed link
My question is: How do I go about using nemo to clean up my hard drive? I am showing 189.8GB of data on my hard drive, out of 487.5GB. I should not have that much data on here, so somehow something is filling up my hard drive.
Your hard drive is only 40% full. Your hard drive is not "filling up" and is probably not the reason why your computer is running slow. It is perfectly normal for Linux to create various temp, cache, and log files. In my opinion, there is no benefit (and likely great risk) for a user such as yourself to run the file manager as "root" and delete system files.
Here is a better approach, in my opinion:
1. Tell us about your hardware (computer brand, model, CPU, RAM, hard drive, graphic card, and any other details you think might be relevant).
2. When your computer is running slow, use built in Linux tools like System Monitor to analyze the reason why. Is your hard drive full? Is your CPU running near 100%? Is your RAM filling up and the system is using swap instead?
3. Upgrade your hardware if necessary. For example, you could quadruple your storage by purchasing a 2TB hard drive for under $100.
If you want to see how much is in each linux partition, enter the following command into a terminal screen:
Code:
df -h | grep /dev/
This will give you partition size and % usage. You will get an instant answer.
If you have a lot of rubbish files, they are likely in the rubbish bin - which you can empty.
If you have files in /tmp, a reboot will automatically remove them.
There are a few other cache files - but they are there to speed up your computer.
Your hard drive is only 40% full. Your hard drive is not "filling up" and is probably not the reason why your computer is running slow. It is perfectly normal for Linux to create various temp, cache, and log files. In my opinion, there is no benefit (and likely great risk) for a user such as yourself to run the file manager as "root" and delete system files.
Here is a better approach, in my opinion:
1. Tell us about your hardware (computer brand, model, CPU, RAM, hard drive, graphic card, and any other details you think might be relevant).
2. When your computer is running slow, use built in Linux tools like System Monitor to analyze the reason why. Is your hard drive full? Is your CPU running near 100%? Is your RAM filling up and the system is using swap instead?
3. Upgrade your hardware if necessary. For example, you could quadruple your storage by purchasing a 2TB hard drive for under $100.
Concur (pls. post as well the output of the command "mount" and tell us pls. if you're using a HDD or a SSD).
And btw. I didn't understand 1) what becomes slow and 2) why everybody is focusing on "/tmp" (as it isn't mentioned in the root post...).
Cheers!
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524
Rep:
Code:
/tmp
is many times a ramdrive, in memory. I think your tech was speaking in a very broad sense, and leading you to nemo as a red herring. You're probably filling up with log files in /var/log. You might nave a VERY LOW Logging level that creates huge files.
You can use find:
Code:
$ find /var/log/ -size +10M
will find all files larger than 10MB in /var/log. You get the basic idea. You might also try running that command on /home. The entire physical drive does not have to fill up to cause stalls.
If one partition fills up, on a multi--partition system--it can cause problems. I hope this helps.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.