in reply to Re: Percent of CPU/Mem Usage for User
in thread Percent of CPU/Mem Usage for User
I was thinking about doing this. However, this would mean that the process would stay active, and I don't want that. Should be simple enough to do. I considered doing a slight wait, maybe a second or less, but considering this is actually going to be used in a CGI, not a good idea.
You could use something similar to this to check if there are enough resources for a heavy task, and keep checking, with a maximum wait time...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Percent of CPU/Mem Usage for User
by deMize (Monk) on Jun 14, 2010 at 15:12 UTC | |
by geekt (Novice) on Jun 14, 2010 at 17:03 UTC |