Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get disk space on a BSD Unix partition
Message
De
12/02/2003 04:39:47
Liam O'Hagan
O'Hagan Programming Ltd
Irlande
 
 
À
11/02/2003 17:11:48
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00752066
Message ID:
00752199
Vues:
12
Hi Bob,

Quick & dirty solution : schedule a cron job running every minute on the BSD box piping the output of df to a file that's available to VFP (eg. via samba or ftp). Check the contents of the file from VFP when you need to.

Regards,

Liam


>Hello everyone;
>
>I have a BSD unix box which creates every 15 minutes a text file that I FTP to my server and extract it to my VFP 6.0 application. The disk space on the BSD unix partition gets small fast. I need an activex control that I can run on my VFP form every 15 minutes to check the disk space on that BSD Unix box.
>
>The partition on the BSD Unix Box is :
>
>/home/tech1 13:55 >df
>Filesystem 1K-blocks Used Avail Capacity Mounted on
>/dev/ad0s1a 100750 54612 38078 59% /
>/dev/ad0s1f 28285708 3349112 22673740 13% /usr
>/dev/ad0s1e 201518 21856 163542 12% /var
>procfs 4 4 0 100% /proc
>/home/tech1 13:55 >
>
>The "/var" partion can become over 100 % in 10 hours.
>
>Please let me know if there is a solution other than a activex control that would solve my problem.
>
>Thanks alot
>
>Bob
Liam O'Hagan
MCP VFP Desktop Apps
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform