Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
Recently i installed Ubuntu 13.04 and allocated 20 GB for it. The system got installed space less than 10 GB. Now, can i shrink it to 10 GB without formatting it?
Thats to say, i don't want to have large empty space in the partition.
You could use the resize2fs command.
However, I would suggest to backup the most important files (on e.g. an USB key) before doing that (e.g. /etc/ and some of /home/ )
See also this question...
BTW, 20GB for the system partition is not that much.....
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 3 years ago.
Improve this question
As you can see in the picture why is the last three column is empty
It doesn't have buff/cache because that's (Block IOs) write/read cache which makes sense to have in RAM because RAM is much faster than a block device but your swap is stored on a block device, not RAM, and then you might as well read or write the data to it's actual location.
Available = free + unneeded cache and since cache doesn't exist at all in swap, available also doesn't.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
I'm using a virtual machine to do the work.
I given the volume capacity to be 32MB. According to "cat /proc/meminfo", i have approximately of 1.4GB for the memory available. It is more than enough to be mounted.
However, whenever it mounted, it will automatically unmounted as it cannot allocate memory (as seen on below pic). I tried to adjust the heap size but the result is still the same.
Please take a look at the pic
I solved the problem. Assign more memory to the virtual machine even though it is already more than sufficient to hold the volume capacity
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I have 6 very big directorys and once a day I would like to check size each of this directories for my monitoring. Now I'm using du -s command but it take many time and significantly slows my server. Is any different better way to do this?
Depending on circumstances you could put those directories on seperate partitions, the "used" size of which you can check very quickly with df.
This, of course, means that the directories are limited to the size of their respective partitions, which could be a pain. Hence the "depending on circumstances".
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I'm trying to find out which folder in my VPS take the most of disk usge, the result of df -h command show that my disk storage has 40GB and I used 38 Gb.
But when I calculate the size of root folder using ncdu (using command: ncdu /), it show that I only used 8.9 Gb:
Can anyone help me to figure out which files/folders take nearly 30 Gb of my disk
Try using this command:
du -cks *|sort -rn|head
This will list the 10 largest subdirectories of the current directory you're in. Then you can cd into the largest subdirectory and run the command again to see the sizes of the sub-subdirectories, and so on.
Source: https://serverfault.com/a/25045/297452
This sounds like an openfile issue.
try
lsof +L1 <path to dir>
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
So I am using Linux mint and I have a 4k monitor so my cursor size is very very small. I have tried increasing it through Preferences->general and this worked but it is still very very small. Can this be increased through linux terminal?
Try the following where XX is the custom size entered as an integer.
gsettings set org.cinnamon.desktop.interface cursor-size XX
The default small one should be something like 24.
If anyone here wants to reduce beyond min size then use a negative number in place os XX in above command