Dear Linuxers...
I am scraching my head since yesterday....
due to my carelessness my system's /var showed 100% usage..
I deleted some old log files and freed about 1 gb of disk space..
Now, even after this df showed 100% usage... Until I restarted the box...
After restarting the system i got 1gb free space...
what command can i use to get the above job done without restarting the whole system...
regards lilo
On Mon, 21 Jan 2002, Linux Lover wrote:
due to my carelessness my system's /var showed 100% usage..
I deleted some old log files and freed about 1 gb of disk space..
Simply deleting the logs won't help. Log files are kept open by programs that write to them, and these programs maintain a file pointer to the current write position. Even if you delete the file, or delete its contents, the program still writes to the old position, which may be many megabytes off the start. All preceding bytes are filled with null. This is mentioned in the apache manual.
If you do delete the logs, you need to restart whichever process is writing to that log. For apache, issue a SIGHUP, similarly for others, but check.
Thanks Philip...
I read about this before.... i forgot about open files...... thanks again.
regards lilo ----- Original Message ----- From: Philip S Tellis philip.tellis@iname.com To: ILUG-BOM linuxers@mm.ilug-bom.org.in Sent: Monday, January 21, 2002 12:57 PM Subject: Re: [ILUG-BOM] Really Strange...
On Mon, 21 Jan 2002, Linux Lover wrote:
due to my carelessness my system's /var showed 100% usage..
I deleted some old log files and freed about 1 gb of disk space..
Simply deleting the logs won't help. Log files are kept open by programs that write to them, and these programs maintain a file pointer to the current write position. Even if you delete the file, or delete its contents, the program still writes to the old position, which may be many megabytes off the start. All preceding bytes are filled with null. This is mentioned in the apache manual.
If you do delete the logs, you need to restart whichever process is writing to that log. For apache, issue a SIGHUP, similarly for others, but check.
-- Don't take life so serious, son, it ain't nohow permanent. -- Walt Kelly
hey luggers........
i need to purchase a cam for my linux box. Does ny1 hav xperience with usin Webcams on their linux boxen.
Trevor Warren
===== ( >- LINUX, It's all about CHOICE -< ) /~\ __ http://www.qmailtheeasyway.com __ /~\ | ) / mailto: trevorwarren@yahoo.com \ (/ | |_|_ \ Urgent ->9820349221@maxtouch.co.in / _|_| ___________________________________/
__________________________________________________ Do You Yahoo!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/
I have a Webcam, and Linux Box. If u come across any good appli, let me know I can set-it-up and test it for all. SP.
hey luggers........
i need to purchase a cam for my linux box. Does ny1 hav xperience with usin Webcams on their linux boxen.
Trevor Warren
===== ( >- LINUX, It's all about CHOICE -< ) /~\ __ http://www.qmailtheeasyway.com __ /~\ | ) / mailto: trevorwarren@yahoo.com \ (/ | |_|_ \ Urgent ->9820349221@maxtouch.co.in / _|_| ___________________________________/
Do You Yahoo!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/ _______________________________________________ http://mm.ilug-bom.org.in/mailman/listinfo/linuxers
_________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
--- SP sandeep_from@yahoo.com wrote:
I have a Webcam, and Linux Box. If u come across any good appli,
[snip] hehehehe..:)) thats precisely wat i am in the process of figuring out.
Trevor Warren
let me know I can set-it-up and test it for all. SP.
===== ( >- LINUX, It's all about CHOICE -< ) /~\ __ http://www.qmailtheeasyway.com __ /~\ | ) / mailto: trevorwarren@yahoo.com \ (/ | |_|_ \ Urgent ->9820349221@maxtouch.co.in / _|_| ___________________________________/
__________________________________________________ Do You Yahoo!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/
i think there is support only for Phillips web cam Look in the kernel docs for Video For Linux.
regards, kishor ----- Original Message ----- From: Trevor Warren trevorwarren@yahoo.com To: linuxers@mm.ilug-bom.org.in Sent: Tuesday, January 22, 2002 2:19 PM Subject: Re: [ILUG-BOM] info on web cam for linux
--- SP sandeep_from@yahoo.com wrote:
I have a Webcam, and Linux Box. If u come across any good appli,
[snip] hehehehe..:)) thats precisely wat i am in the process of figuring out.
Trevor Warren
let me know I can set-it-up and test it for all. SP.
===== ( >- LINUX, It's all about CHOICE -< ) /~\ __ http://www.qmailtheeasyway.com __ /~\ | ) / mailto: trevorwarren@yahoo.com \ (/ | |_|_ \ Urgent ->9820349221@maxtouch.co.in / _|_| ___________________________________/
Do You Yahoo!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/ _______________________________________________ http://mm.ilug-bom.org.in/mailman/listinfo/linuxers
_________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
Let me also know if u find any...
I have a Logitech Quickcam Home... I tried searching for drivers 6 months ago and then gave up... I hope somebody must have come up with it now...
thanks lilo ----- Original Message ----- From: SP sandeep_from@yahoo.com To: linuxers@mm.ilug-bom.org.in Sent: Tuesday, January 22, 2002 12:51 PM Subject: Re: [ILUG-BOM] info on web cam for linux
I have a Webcam, and Linux Box. If u come across any good appli, let me know I can set-it-up and test it for all. SP.
hey luggers........
i need to purchase a cam for my linux box. Does ny1 hav xperience with usin Webcams on their linux boxen.
Trevor Warren
===== ( >- LINUX, It's all about CHOICE -< ) /~\ __ http://www.qmailtheeasyway.com __ /~\ | ) / mailto: trevorwarren@yahoo.com \ (/ | |_|_ \ Urgent ->9820349221@maxtouch.co.in / _|_| ___________________________________/
Do You Yahoo!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/ _______________________________________________ http://mm.ilug-bom.org.in/mailman/listinfo/linuxers
Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com