Duke-UNC Brain Imaging and Analysis Center
BIAC Forums | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password   Forgot your Password?
 All Forums
 Support Forums
 Analysis Software Support
 Cleaning GOLGI user directory
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

tankersley
BIAC Alum

USA
143 Posts

Posted - Jan 25 2007 :  12:29:39 PM  Show Profile  Reply with Quote
Is there a way to figure out which jobs in your user directory are completed and can thus be removed?

I'm going to /data/users/tankersl/tmp and using the ls command to see the jobs, but I would like to list dates or status or something so that I can remove completed jobs but not delete onging ones.

Thanks,

Dharol

jimmy.dias
BIAC Alum

USA
210 Posts

Posted - Jan 25 2007 :  1:00:07 PM  Show Profile  Visit jimmy.dias's Homepage  Reply with Quote
Yes, there is a version of bputil that is still being tested that allows this.

>> bputiltest

Options 7 and 8 will work, and allows you to see which jobs are currently running, which directories can be cleaned up, and will also help clean these old directories up. Please post here if you have any issues..

regards,
Jimmy

Edited by - jimmy.dias on Jan 25 2007 1:01:50 PM
Go to Top of Page

syam.gadde
BIAC Staff

USA
421 Posts

Posted - Jan 25 2007 :  1:04:25 PM  Show Profile  Reply with Quote
If you do:

ls -l


you will see dates (and other things). If you do:

ls -lt


it will sort by time. If you do:

ls -ltr


it will reverse the sort (so that the newest stuff is at the bottom).
Go to Top of Page

jimmy.dias
BIAC Alum

USA
210 Posts

Posted - Jan 25 2007 :  1:12:06 PM  Show Profile  Visit jimmy.dias's Homepage  Reply with Quote
Oh, and by the way, those of you who use the 'Manage Jobs' option to stop a frozen job. You won't yet be able to restart the job from where it left off. I plan on adding this functionality eventually. Until then, you'll need to re-submit jobs after stopping the frozen job.

jimmy

Edited by - jimmy.dias on Jan 25 2007 1:14:58 PM
Go to Top of Page

jimmy.dias
BIAC Alum

USA
210 Posts

Posted - Jan 25 2007 :  1:14:08 PM  Show Profile  Visit jimmy.dias's Homepage  Reply with Quote
errr, just noticed you said 'tmp'. All my posts are regarding SPM jobs submitted through bputil so scratch my replies. :)

jimmy

Edited by - jimmy.dias on Jan 25 2007 1:15:39 PM
Go to Top of Page

tankersley
BIAC Alum

USA
143 Posts

Posted - Jan 25 2007 :  1:34:50 PM  Show Profile  Reply with Quote
Thanks for this info.

One more question:

is there a way to delete all the jobs done on a certain day? like rm -fr everything done on January 4?

Thanks again,

Dharol
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
BIAC Forums © 2000-2010 Brain Imaging and Analysis Center Go To Top Of Page
This page was generated in 0.52 seconds. Snitz Forums 2000