Koozali.org: home of the SME Server

Scheduled Job - SMBStatus

Offline eiceic

  • ***
  • 118
  • +0/-0
    • http://www.eicsoftware.com
Scheduled Job - SMBStatus
« on: October 26, 2004, 11:16:54 PM »
Is there a way to run something like:

   smbstatus > /home/e-smith/ibays/diskstats

Once every minute?  

I'd like to write a program that reaches out to that ibay then from a windows PC and formats it in a user friendly screen.  Is there a utilty like that already?  It takes me 5 minutes just to find out what users are using a particular file by crossreferencings PIDs :(

Thanks,

Chris Buechler

RavenIV

Scheduled Job - SMBStatus
« Reply #1 on: October 27, 2004, 04:51:48 AM »
you can run any command on shedule (or every x minutes) with cron.
there is a contrib to manage the crontab.
search the forum to find the contrib.

but i don't know which command will produce the stats you need.

cheers