General :: To Get The Disk Usage Of The System?
Sep 3, 2010
when we use the df command it list the disk usage list for all mounted files ..
#df -h
/dev/sda4 47G 34G 11G 78% /
varrun 1009M 120K 1009M 1% /var/run
[code]....
View 1 Replies
ADVERTISEMENT
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
Mar 22, 2011
I need to install Fedora on 4GB SDHC card, so the space is limited.My question is what files (documents, manuals, temporary files, logs, unused packages etc) I can remove, without harming the system?So far I cleaned /tmp, /var/log, trash what else?
View 8 Replies
View Related
Nov 15, 2010
Is there any way to monitor one process' CPU usage and RAM usage over time on Linux? I am trying to change to a cheaper VPS and need to work out what level of CPU and RAM I need!
View 2 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
Jul 31, 2010
i am facing problem of space usage by unknown file on /var partition.
[root@test var]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 20G 3.3G 16G 18% /
/dev/sda5 39G 36G 769M 98% /var
/dev/sda6 15G 4.7G 9.1G 34% /var/spool/squid
/dev/sda1 487M 16M 446M 4% /boot
tmpfs 1014M 0 1014M 0% /dev/shm
where as when I checked the using du -sh in its maximum utilization is about 5.9GB. i want to know the space being utilized by whom.
[root@test /]# du -sh /var
5.9G /var
View 5 Replies
View Related
Mar 25, 2010
I am trying to get the total file size for certain files per directory.
I am using
find `pwd` /DirectoryPath -name '*.dta' -exec ls -l {} ; | awk '{ print $NF ": " $5 }' > /users/cergun/My Documents/dtafiles.txt
but this lists all the files in the directories.
I need the total per directory for all dta files.
View 2 Replies
View Related
Mar 16, 2010
I am trying to get my head around my new server. I am using CENTOS 5.4 x86_64 with 300GB harddrive.
The 300 GB been partitioned with the following:
Device Size Used Available Percent Used Mount Point
/dev/md0 99M 18M 77M 19% /boot
/dev/md1 16G 8.7G 5.8G 61% /
/dev/md2 246G 40G 194G 18% /home
/dev/md3 4.8G 1.6G 3.0G 35% /var
/usr/tmpDSK 3.9G 432M 3.3G 12% /tmp
I have increased teh tmpDSK as it was getting full very quickly. My question is, what are these md0; md1, md2 and md3 are they harddrive partitions and as md1 is getting full will that have an impact on my sites.
View 8 Replies
View Related
Aug 18, 2010
How do I get Ubuntu's "Disk Usage Analyzer" to show me the hidden files?
It tells me my home dir uses 3GB, but only accounts for 525MB (the results of du -shc *). Can I get it to show me the other files that are using the space?
View 4 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
Mar 26, 2009
I've been trying to identify all files on my cut-down version of Damn Small which contain the text string "User Agent:" in them. Because it's only 120Mb in its entirety, I'm quite happy to have grep search the whole system. I'm using this command, but it just generates errors as you can see:
[root@localhost ~]# grep -R 'User Agent:' /*
grep: /dev/dri/card0: Invalid argument
grep: /dev/fuse: Operation not permitted
[code]....
View 13 Replies
View Related
Jul 29, 2011
Trying to understand grep,sed,awk but maybe its too early for me and also i suspect iostat is not the correct program for exactly what i'm looking for...The goal is to print only the current read and write speeds of the disk, represented in a numerical value with two separated commands. So for example when writing a file to disk from an external disk, the value reflects the speed of the process.
"iostat -dk sda" prints
Code:
Linux 2.6.38 (Infidel) 07/30/2011 _x86_64_ (4 CPU)
[code]....
View 8 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 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
May 16, 2011
I want to find all users shown in the /home/ directory whose disk consumption is more than 500MB. The following command works as expected.
cd /home/ && du */ -hs
68K ajay/
902M john/
250M websites/
From the above example, only 902M john/ should be returned.
How can I make the find command output the same results?
View 4 Replies
View Related
Sep 4, 2010
My problem is extremely slow write on hard disk and 100% cpu usage and it happens when I want to write something on the hard derive not any other external derive.
Tried a fresh ubuntu install. No change. I am not even sure if it is a software or hardware problem.
View 1 Replies
View Related
Feb 27, 2011
My system decided to crash on me, hard. It was humming along happily for about 2 months and now doesn't boot. If I boot from hard-disk, I get grub. Launching the first kernel choice hangs. I thought maybe the install was corrupt, so I booted from usb install disk. The usb hdd didn't boot; something about an error trying to access /dev/sda . Unplugging the internal disk and plugging in the usb install disk does result in the system booting. Plugging in the internal disk in a running system usb-booted system does not result in the system detecting the disk.
How do I know if the disk is physically broken? This seems unlikely since it does manage to launch grub consistently. Or is this still possible? How can I try to mount whatever is left? The usb install disk doesn't even list the /dev/sd*. Any pointers on how to reformat the drive if it's not being mounted?
View 1 Replies
View Related
Jul 12, 2010
I want to control the limit of cpu usage of the whole system to a certain percentage, similar to cap the VCPU usage of a virtual machine. Is it possible?
View 4 Replies
View Related
Jul 26, 2011
I have been encountering lots of heavy system cpu usage. It is sporadic, last for about 10 minutes, and brings everything else to crawl (latency of even typing characters into an editor or a terminal is painfully slow). My computer is an i7 quad, and all 8 logical cores fire at near 100% during these periods. I can see the usage clearly with htop. The red bars in htop indicate system use (I have attached a screen shot for an example). However, as there is no process per se, I have no clue what is causing it.
It is something I have to fix as the computer becomes unusable periodically throughout the day.I One thing to add, I am using the computer as a ltsp server on ubuntu, attaching to it using two thin clients. There is always heavy ethernet traffic through the second ethernet card. I don't know if this is related. However, I do think all this problem began when I installed the ltsp and switched to using a thin client.
View 2 Replies
View Related
Oct 17, 2010
I have windows and linux distros on my /dev/sda. I tried to install fedora 13, but after reboot I cannot boot up to any of installed systems. I'm getting: Non-System disk or disk errorreplace and striky any key when readyWhen I use ubuntu 10, boot from first hard disk, I'm able to get GNU GRUB version 1.98...nd boot up to any system. but without ubuntu in a cd-rom I'm getting this error.I tried: grub-install /dev/sdX in one of my installed linux distros, but without any success.
View 1 Replies
View Related
Feb 18, 2011
I have just started to have a problem with Xorg it is always using at least 30% of my CPU, and the whole system does not run smooth so if I play a video it does not run smooth, it judders, also even if I drag an icon it judders across the screen. Im running Ubuntu 10.10 2.6.35-25-generic x86_64 VGA compatible controller: nVidia Corporation G98M [GeForce G105M] (rev a2)
View 5 Replies
View Related
Nov 30, 2010
I need to find the memory usage of a shared library loaded in Linux environment.
I need this information for deciding on whether to make the library part in to application or a seperate application itself.
View 3 Replies
View Related
Oct 28, 2010
Booted up system and it stated please insert system disk press any key.So it sounds like my startup got corrupted? I running centos 4.5 on it (old yes) Is there a repair I can perform by a disk? Would it matter if I chose i386 or x86? I cant remeber which version was installed on it.
View 8 Replies
View Related
Jun 13, 2011
Can anyone explain this output? I'm not sure what to make of it. 36% usage and no files??
root@host:/backups# ls -la
total 8
drwxr-xr-x 2 root root 4096 Mar 8 20:12 .
[code]....
View 3 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
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
Mar 26, 2010
I am trying to get the total file size for certain files per directory.I am usingfind `pwd` /DirectoryPath -name '*.dta' -exec ls -l {} ; | awk '{ print $NF ": " $5 }' > /users/cergun/My Documents/dtafiles.txtbut this lists all the files in the directoriesI need the total per directory for all dta files.
View 1 Replies
View Related