Re: [Tutor] home directory usage script

2009-06-19 Thread Alan Gauld


"dave chachi"  wrote


create a python that will accomplish the following tasks:

issue: /home partition is partitioned to 80 or so G of space 24 G's is 
used


A. What is taking up this amount of space
B. Not alot of packages are installed and shouldnt take up much space


While a Python  script could this for you...
Why not use du? Thats what it's designed for...


Alan G 



___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] home directory usage script

2009-06-18 Thread Kent Johnson
On Thu, Jun 18, 2009 at 9:48 PM, dave chachi wrote:

>     A. Create a script that monitors the /home partition
>     B. have it write to a log file in /var/log
>     C. have crontab run it daily

What do you want it to write?

Kent
___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor


[Tutor] home directory usage script

2009-06-18 Thread dave chachi
I was wondering if I can get some incite on how to create a python that will 
accomplish the following tasks: 

issue: /home partition is partitioned to 80 or so G of space 24 G's is used
    
    A. What is taking up this amount of space
    B. Not alot of packages are installed and shouldnt take up much space
    
Script to perform:

    A. Create a script that monitors the /home partition
    B. have it write to a log file in /var/log
    C. have crontab run it daily



  ___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor