Show Allocated / Used Filesystem Space Summary
On servers with many filesystems calculating filesystem space utilization summary can get very tedious. Below is a simple script that will summarize all filesystems and provide you will the totals for allocated and used space in GB.
Allocated space:
i=0 ; df -kP | grep -v Filesystem | awk '{print $2}' | while read line; do i=$(echo "${i} + ${line}" | bc -l); echo $i; done | tail -1 | while read line2 ; do echo "scale=2;${line2} / 1024 / 1024" | bc -l ; done
Used space:
i=0 ; df -kP | grep -v Filesystem | awk '{print $3}' | while read line; do i=$(echo "${i} + ${line}" | bc -l); echo $i; done | tail -1 | while read line2 ; do echo "scale=2;${line2} / 1024 / 1024" | bc -l ; done
Hi
I am revising for an exam to do with Operating Systems and one of the past paper question asks ‘What issues would you expect to have to be addressed in adding compression to a traditional Unix filesystem’.
I am nost sure where to start here. Can you help?
Hi
Sorry I mistyped the question. It is actually what issues would you expect to **have** to be addressed in adding compression to a traditional unix filesystem
hi all
what is the fastest filesystem for linux ?
I installed Jaunty Jackalope from a disc(using Wubi, I also use Windows Vista) and later upgraded to Karmic.
I’m planning on clearing everything from my computer, but I don’t want to download the Karmic ISO all over again. Is it saved somewhere on my filesystem? If so, where?
I tried the USB startup thingy… But it asks me for the ISO to use… Now what?
My options are:
Accounting 1
Business Management
International Business
Principles of Marketing
Business and Personal Law
Here’s the link if you want to see a description of each of the classes. The business classes are on page 16:
http://www.herricks.org/files/filesystem/HS%20Course%20Selection%20Guide1.pdf
Right now I’m using a flashdrive with Ubuntu on it and i erased and formatted my hardrive to nfts then fat 32 but both times when i try to boot the cd it says unsupported filesystem grub error
How can I have the option to select which Operative System to run after the BIOS load.
Details:
Both OSs (x64) installed in separate partitions and with different filesystem.
Partition where is installed Ubuntu, doesn’t appear on My PC.
After the BIOS load, only Windows load up and there’s no clue about Ubuntu.