applescript help


Recommended Posts

i want to clean up my inactive memory between my runs of ut2k4, so i was looking around and found "du -sx /" and that (for whatever reason) does an awesome job cleaning that up. i also know that applescript supports running shell commands. but i'm not an applescript kinda guy, so when i type

do shell script "du -sx /"

it obviously doesn't stop running until du is done (which can be quite awhile). since the ram is cleared after 5-10 seconds, i was trying to make du quit (ctrl-c if you type it at the terminal), but i don't know how to do it...

i also heard that running the weekly cron script would clean up inactive memory, but i don't know how long it takes to run that script or the path/name of it.

thanks :)

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.