PPRuNe Forums - View Single Post - Linux Corner
Thread: Linux Corner
View Single Post
Old 6th Oct 2010, 20:09
  #374 (permalink)  
aerobelly
 
Join Date: Nov 2002
Location: Tapping the Decca, wondering why it's not working.
Age: 75
Posts: 166
Received 0 Likes on 0 Posts
Before deleting logs check just how much space they take. On this 'ere system, Kubuntu 10.04 installed just under 6 months ago, all the logs since then take all of 54MiB. If there are problems the logs can help a lot in isolating them to hardware/software/circumstances. Logs are in plaintext and very repetitive, so they compress very well (that's the .log.N.gz files). They shouldn't take much space, but can save your ass. One place I'd look is .xsessionerrors in users' home directories. They can get huge, and because they're out of the normal log hierarchy are frequently overlooked. If you're going to scan the whole disk for space usage try sudo du / | sort -nr | more This will list directories in order of the space they take. But it's slooooooow in GiB territory, what it's like in TiB areas I hate to think. (The "sudo" is needed to see into other users' usage, if you haven't used it before.) There are also graphical tools that do much the same job, if looking at columns of numbers doesn't float your boat. 'b
aerobelly is offline