Re: lost disk space

2011-07-22 Thread Ivan Shmakov
 Frank McCormick debianl...@videotron.ca writes:

  Spent a few hours watching online video tonight (the Discovery
  website) and discovered afterwards that I had lost about 7 GIGS of
  diskspace!!  I assume it was because of all that video watching (in
  Google-Chrome) but now I can't find out where it's gone ?  I only
  have 14 gigs on this partition..and I've managed to free up about a
  gig..but I have to find the other 6 or 7 gigs. I deleted the google
  cache..and config files...looked in /tmp and a few other places but I
  am stumped.

While you may have removed the /filenames/, the files may still
persist, if opened by a process.

Personally, I'd close all the unnecessary applications and all
the X sessions, log in at the text VT (usually, Ctrl-Alt-F2 or
Alt-F2 switch to one), and carefully examine the list of my
running processes with $ ps x.  If there's anything that looks
like it has entered an infinite loop, or otherwise suspicious,
I'd kill it with $ kill (and if it doesn't respond, with
$ kill -9.)

-- 
FSF associate member #7257


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/86ei1iwr9a@gray.siamics.net



Re: lost disk space

2011-07-22 Thread Frank McCormick

On 22/07/11 06:20 AM, Ivan Shmakov wrote:

Frank McCormickdebianl...@videotron.ca  writes:


Spent a few hours watching online video tonight (the Discovery
website) and discovered afterwards that I had lost about 7 GIGS of
diskspace!!  I assume it was because of all that video watching (in
Google-Chrome) but now I can't find out where it's gone ?  I only
have 14 gigs on this partition..and I've managed to free up about a
gig..but I have to find the other 6 or 7 gigs. I deleted the google
cache..and config files...looked in /tmp and a few other places but I
am stumped.

While you may have removed the /filenames/, the files may still
persist, if opened by a process.

Personally, I'd close all the unnecessary applications and all
the X sessions, log in at the text VT (usually, Ctrl-Alt-F2 or
Alt-F2 switch to one), and carefully examine the list of my
running processes with $ ps x.  If there's anything that looks
like it has entered an infinite loop, or otherwise suspicious,
I'd kill it with $ kill (and if it doesn't respond, with
$ kill -9.)




	That's what I ended up doing after I found two 3.5 gig logfiles in 
/var/log, the result of errors from the Intel driver on this machine.

But there were no running processes at that point.

Thanks

--
Cheers
Frank


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4e29734e.4080...@videotron.ca



Re: lost disk space

2011-07-22 Thread Frank McCormick

On 21/07/11 10:16 PM, green wrote:

Frank McCormick wrote at 2011-07-20 07:02 -0600:

On 20/07/11 08:48 AM, Selim T. Erdogan wrote:

Try baobab.  It's a graphical disk usage analyzer.  (I think it comes
with gnome.)


   It's the first thing I thought of after doing some preliminary
looking around..but for some reason it's not in Sid on my machine
and because I had no space left I couldn't install it :)


You may want to try ncdu.  Fewer dependencies and much more elegant.


  I'll have a look..thanks


--
Cheers
Frank


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4e297418.80...@videotron.ca



Re: lost disk space

2011-07-22 Thread Frank McCormick

On 22/07/11 08:59 AM, Frank McCormick wrote:

On 21/07/11 10:16 PM, green wrote:

Frank McCormick wrote at 2011-07-20 07:02 -0600:

On 20/07/11 08:48 AM, Selim T. Erdogan wrote:

Try baobab. It's a graphical disk usage analyzer. (I think it comes
with gnome.)


It's the first thing I thought of after doing some preliminary
looking around..but for some reason it's not in Sid on my machine
and because I had no space left I couldn't install it :)


You may want to try ncdu. Fewer dependencies and much more elegant.


I'll have a look..thanks


   Yup. Just what I need. Added -x and / to the command line and it's 
perfect.


Thanks

--
Cheers
Frank


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4e29ec46.5030...@videotron.ca



Re: lost disk space

2011-07-21 Thread green
Frank McCormick wrote at 2011-07-20 07:02 -0600:
 On 20/07/11 08:48 AM, Selim T. Erdogan wrote:
  Try baobab.  It's a graphical disk usage analyzer.  (I think it comes
  with gnome.)
 
   It's the first thing I thought of after doing some preliminary
 looking around..but for some reason it's not in Sid on my machine
 and because I had no space left I couldn't install it :)

You may want to try ncdu.  Fewer dependencies and much more elegant.


signature.asc
Description: Digital signature


Re: lost disk space

2011-07-20 Thread Martin Ågren
On 20 July 2011 07:12, Frank McCormick debianl...@videotron.ca wrote:
 Spent  a few hours watching online video tonight (the Discovery website)
 and discovered afterwards that I had lost about 7 GIGS of diskspace!!
 I assume it was because of all that video watching (in Google-Chrome) but
 now I can't find out where it's gone ?

You could try something like

du -h | grep -E ^.{1,5}G

from e.g., your home directory. This will report disk usage of each
FILE, recursively for directories (-h for human-readable sizes) and
pick only those lines that are reported using the Gigabyte unit.
Somewhere in the output of this command, you might find your problem.

Hope that helps,
Martin


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/can0hesrnx3_ttbzpjuy5+sbb286jtjcog09sfbfgqdaswlq...@mail.gmail.com



Re: lost disk space

2011-07-20 Thread Alex Mestiashvili

On 07/20/2011 08:34 AM, Martin Ågren wrote:

On 20 July 2011 07:12, Frank McCormickdebianl...@videotron.ca  wrote:
   

Spent  a few hours watching online video tonight (the Discovery website)
and discovered afterwards that I had lost about 7 GIGS of diskspace!!
I assume it was because of all that video watching (in Google-Chrome) but
now I can't find out where it's gone ?
 

You could try something like

du -h | grep -E ^.{1,5}G

from e.g., your home directory. This will report disk usage of each
FILE, recursively for directories (-h for human-readable sizes) and
pick only those lines that are reported using the Gigabyte unit.
Somewhere in the output of this command, you might find your problem.

Hope that helps,
Martin


   

Is chrome running ?
It usually keeps only file descriptor open , but file is deleted ...

you can check /proc/{chrome-pid}/fd with ls -l and grep for deleted files

something like that

pidof chrome| sed 's/\s/\n/g' | while read line ; do ls -l 
/proc/$line/fd/ | grep deleted  | awk -v line=$line '{print 
/proc/line/fd/$9}' ; done | xargs ls -lh
lrwx-- 1 root root   64 Jul 20 09:43 /proc/22474/fd/22 - 
/dev/shm/.com.google.chrome.jWfLZS (deleted)
lrwx-- 1 root root   64 Jul 20 09:43 /proc/22474/fd/23 - 
/dev/shm/.com.google.chrome.IZGUMb (deleted)
lrwx-- 1 root root   64 Jul 20 09:45 /proc/22482/fd/23 - 
/dev/shm/.com.google.chrome.jWfLZS (deleted)
lrwx-- 1 root root   64 Jul 20 09:45 /proc/22482/fd/24 - 
/dev/shm/.com.google.chrome.IZGUMb (deleted)
lrwx-- 1 malex toor 64 Jul 20 09:43 /proc/22524/fd/25 - 
/data/tmp/FlashXXkMs72Y (deleted)



Hope this helps ,

Alex


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4e268927.9000...@biotec.tu-dresden.de



Re: lost disk space

2011-07-20 Thread lee
Frank McCormick debianl...@videotron.ca writes:

 managed to free up about a gig..but I have to find the other 6 or 7
 gigs. I deleted the google cache..and config files...looked in /tmp
 and a  few other places but I am stumped.

see man find

-- 
html messages are obsolete


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87oc0p49zh@yun.yagibdah.de



Re: lost disk space

2011-07-20 Thread Frank Lanitz

Am 20.07.2011 07:12, schrieb Frank McCormick:

Spent a few hours watching online video tonight (the Discovery website)
and discovered afterwards that I had lost about 7 GIGS of diskspace!!
I assume it was because of all that video watching (in Google-Chrome)
but now I can't find out where it's gone ?
I only have 14 gigs on this partition..and I've
managed to free up about a gig..but I have to find the other 6 or 7
gigs. I deleted the google cache..and config files...looked in /tmp and
a few other places but I am stumped.


du -sh * inside the root folder should help you to find the biggest 
folders. If you do it recursively you can near it down.


Cheers,
Frank


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4e269f60.6020...@frank.uvena.de



Re: lost disk space

2011-07-20 Thread Selim T. Erdogan
Frank McCormick, 20.07.2011:
 Spent  a few hours watching online video tonight (the Discovery website)
 and discovered afterwards that I had lost about 7 GIGS of diskspace!!
 I assume it was because of all that video watching (in
 Google-Chrome) but now I can't find out where it's gone ?
 I only have 14 gigs on this partition..and I've
 managed to free up about a gig..but I have to find the other 6 or 7
 gigs. I deleted the google cache..and config files...looked in /tmp
 and a  few other places but I am stumped.

Try baobab.  It's a graphical disk usage analyzer.  (I think it comes
with gnome.)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110720124831.ga32...@cs.utexas.edu



Re: lost disk space

2011-07-20 Thread Frank McCormick

On 20/07/11 02:34 AM, Martin Ågren wrote:

On 20 July 2011 07:12, Frank McCormickdebianl...@videotron.ca  wrote:

Spent  a few hours watching online video tonight (the Discovery website)
and discovered afterwards that I had lost about 7 GIGS of diskspace!!
I assume it was because of all that video watching (in Google-Chrome) but
now I can't find out where it's gone ?


You could try something like

du -h | grep -E ^.{1,5}G

from e.g., your home directory. This will report disk usage of each
FILE, recursively for directories (-h for human-readable sizes) and
pick only those lines that are reported using the Gigabyte unit.
Somewhere in the output of this command, you might find your problem.

Hope that helps,
Martin





  Well, it helped but had to do it in the root, and keep it from 
checking every mounted drive :)

Found two files in /var/log...kernel.log and syslog.1 that are more than
3.7 gigs each. I still haven't looked into them to see what was being 
logged all the time I was watching streaming video. Are there not 
methods in place for preventing this sort of thing? And what's the best 
way to deal with them..should I simply delete them ?


At any rate thanks to everyone for the help - I also had a quick look at
man find..and just as quickly got lost in its seemingly thousands of
possible commands :)



--
Cheers
Frank


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4e26d129.6040...@videotron.ca



Re: lost disk space

2011-07-20 Thread Frank McCormick

On 20/07/11 08:48 AM, Selim T. Erdogan wrote:

Frank McCormick, 20.07.2011:

Spent  a few hours watching online video tonight (the Discovery website)
and discovered afterwards that I had lost about 7 GIGS of diskspace!!
I assume it was because of all that video watching (in
Google-Chrome) but now I can't find out where it's gone ?
I only have 14 gigs on this partition..and I've
managed to free up about a gig..but I have to find the other 6 or 7
gigs. I deleted the google cache..and config files...looked in /tmp
and a  few other places but I am stumped.


Try baobab.  It's a graphical disk usage analyzer.  (I think it comes
with gnome.)




  It's the first thing I thought of after doing some preliminary 
looking around..but for some reason it's not in Sid on my machine and 
because I had no space left I couldn't install it :)



--
Cheers
Frank


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4e26d1fc.3040...@videotron.ca



Re: lost disk space

2011-07-20 Thread Johann Spies
On Wed, Jul 20, 2011 at 02:59:21PM +0200, Frank McCormick wrote:
 On 20/07/11 02:34 AM, Martin Ågren wrote:
 
  du -h | grep -E ^.{1,5}G
 

Well, it helped but had to do it in the root, and keep it from 
 checking every mounted drive :)

du -hx | grep -E ^.{1,5}G

Regards
Johann
-- 
Johann SpiesTelefoon: 021-808 4699
Databestuurder /  Data manager

Sentrum vir Navorsing oor Evaluasie, Wetenskap en Tegnologie
Centre for Research on Evaluation, Science and Technology 
Universiteit Stellenbosch.

 Children, obey your parents in the Lord: for this is 
  right. Ephesians 6:1 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110720134342.ga8...@sun.ac.za



lost disk space

2011-07-19 Thread Frank McCormick

Spent  a few hours watching online video tonight (the Discovery website)
and discovered afterwards that I had lost about 7 GIGS of diskspace!!
I assume it was because of all that video watching (in Google-Chrome) 
but now I can't find out where it's gone ?

I only have 14 gigs on this partition..and I've
managed to free up about a gig..but I have to find the other 6 or 7 
gigs. I deleted the google cache..and config files...looked in /tmp and 
a  few other places but I am stumped.




--
Cheers
Frank


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4e2663a7.9070...@videotron.ca