df falsely says filesystem usage at 100%, and so do other applications whilst
du / -sh shows an expected value.
Both are correct. The difference is that whenever an application has an open file, but the file is already deleted, then it is counted in the df output (because the space is certainly not free) but not in du (because it is not being used by a file).
Just do a 'lsof | grep deleted' and I'm almost certain you'll see some large file in /var/log being held open by some daemon that wasn't restarted whenever it's logfile was rotated. Just restart that daemon (and don't forget to fix the logrotate scripts for that daemon and/or file a bugreport about it)
My first guess is you have deleted some files that are still open. DU will not show the deleted files, but since they are still in use DF will count them.
Sure enough this was the case. I restarted zenoss stack and the server returned itself to normal.
Originally posted by Andrew Dodson @ http://perplexed.co.uk/546_df_falsely_showing_100_per_cent_disk_usage.htm
The magic is used to differentiate old state file format (which started with number of services) from the new extensible state file format (starts with 0, which is the "magic" - older monit versions will always start with number > 0).
It seems that the user's statefile is probably empty, hence the error is returned.
The solution is simple:
1.) stop monit
2.) remove the state file: rm -f /var/lib/monit/state
3.) start monit (will create new state file)
Originally posted by Martin @ http://nongnu.13855.n7.nabble.com
Sometimes downloading an application from PlayStore is not an option( e.g. no internet ) then you should have your offline backup of your favorite applications. The best tool for me in doing this is Clean Master. It will extract the .apk files from the installed application for storage.
- Download Clean Master from PlayStore.
- Head to 'Application manager' and select the application you want to extract the .apk file.
for the example above freedom sms apk file will be extracted. The default location of the extracted apk file will be on your phone storage under the directory <your phone storage>/cleanmaster/backup.
Coder: A simple way to make web stuff on Raspberry Pi.
#Coder - Interface demonstration
Please visit googlecreativelab for more info!