LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 04-03-2013, 09:27 AM   #16
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,498

Rep: Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912

I think the problem is that you are deleting the files by gui: if you do so, files are not actually deleted, but they are put into the local trash and they stay there until you empty it.

when I want to zero a log file, also when the daemon is running, I use this shell command
Code:
> /var/log/whatever

Last edited by ponce; 04-03-2013 at 09:29 AM.
 
1 members found this post helpful.
Old 04-03-2013, 09:29 AM   #17
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,656

Rep: Reputation: 1233Reputation: 1233Reputation: 1233Reputation: 1233Reputation: 1233Reputation: 1233Reputation: 1233Reputation: 1233Reputation: 1233
... And depending on their settings some apps can spit *a lot* of messages (I just refrained to write: garbage) in /var/log/messages. It never hurts to have a look on your logs once in a while.
 
1 members found this post helpful.
Old 04-03-2013, 09:29 AM   #18
analog
LQ Newbie
 
Registered: Apr 2012
Location: India
Distribution: slackware_14.0_amd64, Mint_amd64
Posts: 10

Original Poster
Rep: Reputation: Disabled
Talking

Quote:
Originally Posted by GazL View Post
/var/log/messages/files/messages? That's not a standard slackware file. /var/log/messages should be a file not a directory.
My bad, It was a file and yes path was /var/log/messages,Thanks for pointing out.

>>> echo $SYSTEM_FRUSTUATION_LOG
>>> Argh! HUMAN ERROR this fool won't learn ever
 
Old 04-03-2013, 09:40 AM   #19
BroX
Member
 
Registered: Oct 2003
Location: Sweden
Distribution: Slackware64-current
Posts: 759

Rep: Reputation: 65
/var/log/message should never grow that large. By default it is rotated weekly:
Code:
$ ls -lh /var/log/messages*
-rw-r--r-- 1 root root  78K Apr  3 15:30 /var/log/messages
-rw-r--r-- 1 root root 213K Mar 31 22:26 /var/log/messages.1
-rw-r--r-- 1 root root 260K Mar 24 22:21 /var/log/messages.2
-rw-r--r-- 1 root root 1.9M Mar 17 22:24 /var/log/messages.3
-rw-r--r-- 1 root root 1.5M Mar 10 22:23 /var/log/messages.4
You can force a rotation of all log files as root:
Code:
# /usr/sbin/logrotate --force
 
1 members found this post helpful.
Old 04-03-2013, 09:55 AM   #20
analog
LQ Newbie
 
Registered: Apr 2012
Location: India
Distribution: slackware_14.0_amd64, Mint_amd64
Posts: 10

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by BroX View Post
/var/log/message should never grow that large. By default it is rotated weekly:
Code:
$ ls -lh /var/log/messages*
-rw-r--r-- 1 root root  78K Apr  3 15:30 /var/log/messages
-rw-r--r-- 1 root root 213K Mar 31 22:26 /var/log/messages.1
-rw-r--r-- 1 root root 260K Mar 24 22:21 /var/log/messages.2
-rw-r--r-- 1 root root 1.9M Mar 17 22:24 /var/log/messages.3
-rw-r--r-- 1 root root 1.5M Mar 10 22:23 /var/log/messages.4
You can force a rotation of all log files as root:
Code:
# /usr/sbin/logrotate --force
Got it, but Gotta finish some work, but I'll dig-in and share my Experiences for sure. Thank you Bro.
 
Old 04-09-2013, 01:35 AM   #21
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.1
Posts: 1,575

Rep: Reputation: 466Reputation: 466Reputation: 466Reputation: 466Reputation: 466
Quote:
Originally Posted by ponce View Post
I think the problem is that you are deleting the files by gui: if you do so, files are not actually deleted, but they are put into the local trash and they stay there until you empty it.
Although the seemingly standard keybinding of Shift-Delete will really delete the file(s) selected in the GUI without copying them to local trash.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
The most unexpected problem in Slackware for me. Space disk!!! disco_slack Slackware 5 11-09-2011 01:44 PM
Problem with freeing disk space on a two hard disk Fedora Core 4 box favadalikhan Linux - Server 1 04-29-2008 10:04 PM
weird space problem with XFS Sammael Linux - General 11 09-04-2006 08:03 PM
3Gb of disk space lost! Disk space problem or mother board conflicts with HDD Mistreated Linux - Hardware 4 12-06-2004 04:58 PM
up2date weird out of disk space error whibble Linux - Software 3 10-02-2003 07:37 AM


All times are GMT -5. The time now is 12:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration