Ubuntu :: Terminal Command To List Disk Usage In Order?
Mar 29, 2010
I regularly use 'df -h' to check usage on each of my primary directories and mount points.
I'm currently somewhat confused by disk usage within my filesystem, so I'd like to do the following:
Display directory size of all, or say, the 10 largest, subdirectories to a specified directory. So, if I passed the root (/) directory, output would list the subdirectory of / with the largest disk usage first and its associated disk usage listed in human readable format (either M or G suffix as appropriate), followed by the subdirectory and usage for the second largest directory and so on.
Can anyone suggest a command or series of commands to do this?
View 6 Replies
ADVERTISEMENT
Jan 9, 2010
The command time shows the time taken by a command to complete. Is there a command that shows the change in disk usage caused by a command? I would like to know how large a package is when I install it from source.
View 2 Replies
View Related
Jan 7, 2010
how to Check the disk usage of different linux servers using df -h linux command. My host server is 66.50.100.1, I can check its disk usage by using df -h command. I got my disk usage. Now using my host server Im going to check the server 66.50.100.3 disk usage. Is its possible to check the disk usage of 66.50.100.3 using my host server?
View 4 Replies
View Related
Apr 12, 2011
Is there a command to check specific processes that's using the most IO/disk usage? I know sar and ps but I want more specific details on IO on individual processes
View 5 Replies
View Related
Feb 2, 2010
How would I list 4 users ID numbered 10, 11, 12 and 13 from my users list and output them to a file busers where their names are numbered by ascending order? How would I accomplish that on a one line command?
View 4 Replies
View Related
Jan 23, 2010
Ive seen some fixes for this but they all seem to be specific to the particular user's sources.list . . . ..
Code:
Here is Line 54
Code:
View 2 Replies
View Related
Mar 15, 2010
I was trying to get the status of memory usage and disk usage using sigar in windows and ubuntu. done this in windows by just copying the sigar library into jdk library. But i was unable to do so in ubuntu. I've copied the library to java-6-sun library but still can't run the program.
View 14 Replies
View Related
Jan 7, 2010
list the 'chkconfig --list' in alphabetical order
View 3 Replies
View Related
Dec 10, 2010
I'm running into a problem where my system is running out of disk space on the root partition, but I can't figure out where the runaway usage is. I've had a stable system for a couple of years now, and it just ran out of space. I cleaned some files up to get the system workable again, but can't find the big usage area, and I'm getting conflicting results.For example, when I do a df it says I'm using 44GB out of 58 GB:
Code:
[root@Zion ~]# df -h
Filesystem Size Used Avail Use% Mounted on
[code]....
View 5 Replies
View Related
Aug 18, 2010
in my text file of 5 columns 2 column is in DDMMYYYY format. (ie DATE OF BIRTH). how to use sort command for its ascending order and descending order.
Is the same can be use for the date format YYYYMMDD ?
View 3 Replies
View Related
Jul 23, 2010
Where can i find a list of Ubuntu command listing for the Terminal?
View 8 Replies
View Related
Jan 14, 2009
Command top displays the pids (tasks) by order of CPU usage. Could I make it order them by memory usage?
View 3 Replies
View Related
Feb 26, 2011
Some thing is using up a huge amount of my disk space about 10G and I can not determine what it is. When I look at my disk usage in system monitor it say I have used about 25G and when I scan the directory in disk usage analyzer the entire file system used is 15G.
View 1 Replies
View Related
Sep 1, 2011
I've installed ubuntu 11.04 side by side with my xp. However after reboot I found my boot order list is like
Ubuntu, with Linux 2.6.38-8-generic
Ubuntu, with Linux 2.6.38-8-generic (recover mode)
Memory test (memtest86+)
[code]....
As you can see the windows option is way in the bottom, how to make it to be on the second line like below ?
Ubuntu, with Linux 2.6.38-8-generic
Microsoft Windows XP Professional (on /dev/sda1)
Ubuntu, with Linux 2.6.38-8-generic (recover mode)
[code]....
how can I remove the other 3 which I thought unnecessary
View 1 Replies
View Related
Jan 16, 2010
I have 4 hard drives in my computer. 1 for may root and home partitions. 2 extras for storage and 1 for Windows. I have the hard drive with my root and home partitions set as the first hard drive in the bios. However, in the Ubuntu setup it isn't the first one in the list. I would have thought that the first drive would be get set to sda. That is not the case.
View 1 Replies
View Related
May 26, 2011
I am running fully updated ubuntu 10.10 and now, since 2 days ago, when I open a file
in open office, gimp or gedit etc the directories and files now appear in reverse alphabetical order.
View 8 Replies
View Related
May 6, 2010
How do you change the order of the list? I have Xubuntu 9.10 installed on a 5 gig partition. I only use it for Skype as the mic does not work in 10.04 at the moment for me.Anyway, I would like 10.04 to default to the top of the list. How do I change the order when grub loads.
View 4 Replies
View Related
Dec 1, 2010
possible to rename a list of files in batch in order to maintain the last part of them, then purge a central section and then again maintain the extension?I.E.:
Code:
file01.qwertyuiop.txt
file02.asdfghjklmnbvzxcqwertyuiop.txt
[code]....
View 7 Replies
View Related
Apr 1, 2010
I tried looking this up. It seems that in Ubuntu, you need to edit /boot/grub/menu.lst. I tried that, and the file is not present in Debian "Squeeze". (Just trying it out on a different PC, In case you are confused by my other thread regarding Lenny) So what do I need to do to change the default OS to boot?
View 3 Replies
View Related
Oct 22, 2010
I have a server with what appears to have 352 home directories (350 actually if you omit '.' & '..') & I am being asked to basically tally a list of whom all 350 users are in alphabetical order. Now I could sit here for days doing the 'finger' command to obtain their full name commented in '/etc/passwd' file but I would assume there is a script or way I could have Linux quirry the '/etc/passwd' file & take all the user 'comment' entries and export them to a list in alphabetical order. Does anyone know if this could happen and if so, how would I do something like this? I can't write bash / shell scripts to save my life
Code:
cmennens@mail]:/$ ls -l
total 160
drwxr-xr-x 352 root root 12288 Oct 21 13:41 home
View 7 Replies
View Related
Feb 8, 2010
how to list folder size in descending orde
View 2 Replies
View Related
Jan 28, 2010
one command to list the list of folders/ within the folder.
View 4 Replies
View Related
Jul 15, 2010
I have a system with data stored in multiple disk arrays. I have to come up with a solution that will maintain the disk order of the arrays whenever a stripe fails, is removed and then put back in. One solution I came up with was to stamp every stripe with the disk array it belongs to along with its stripe id. I plan to put this stamp in the last 512 KB of each disk. And I maintain all this information in a sqlite database, that is disk array, stripe id, the software diskname, etc. So that whenever a disk is replaced, its stamp could be read and the corresponding entries in the database are updated.
View 2 Replies
View Related
Jan 3, 2010
I realize bleachbit is supposed to "clean files", but my disk usage is at 11.8%. My disjk usage was at like 6.0%. How in the world did it jump so much? It doesnt appear to be right. The only thing I did not check were the Firefox checkboxes..
View 1 Replies
View Related
Feb 25, 2010
Is there a CLI version of the Disk Usage Analyzer?
View 2 Replies
View Related
Oct 29, 2010
I have benn using ubuntu on an old laptop to run a samba server and a torrent server and it has been working fine till a few days ago when it stopped letting me write any files to the disk, So i tried deleting some of the files i no longer needed to free up some space and the disk usage didnt decrease so i checked it out using the disk usage analyzer and it says its full but i know for sure its not.
View 9 Replies
View Related
Apr 3, 2011
How can i limit disk space usage for one user? Like.. User john123, you can only use 100mb of my harddisk. User jake155, you can only use 250mb of my harddisk.
View 1 Replies
View Related
May 27, 2009
I want to get the disk space usage of each user on the machine. I Have found the command -du but how can I consultate the usage per user? The only thing I can is to consultate the usage of maps...
View 3 Replies
View Related
Jul 8, 2010
in xfce desktop >> when i try and run "disk management" >> it gives me a "not allowed" message >> How can I use su (root) with "disk management" (in the gui) without the "command prompt-terminal" window?
View 7 Replies
View Related
Jan 12, 2010
I've got this problem. Disk usage analyzer says I have a 70.3GB HDD which is correct. However it says that 55.7GB is used even though disk usage analyzer shows me that I have only 21.4GB filled up with data (filesystem). What is taking up all the space then?Could someone help me with this issue? I have tried to search the forums with no satisfying result.Here is the disk usage analyzer output:And here is the df output from terminal:
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/sda1 73742752 58371236 11625564 84% /
udev 1026116 244 1025872 1% /dev
[code]....
View 9 Replies
View Related