Re: Percentage complete of unix task
Re: Percentage complete of unix task
- Subject: Re: Percentage complete of unix task
- From: Tom Birch <email@hidden>
- Date: Fri, 25 Mar 2005 22:22:06 +1100
On 25/03/2005, at 9:45 PM, Rakka wrote:
Disk Utility and Installer can do this because they control
everything that's happening -- they don't just issue a single unix
command and wait for it to be done, "monitoring" the progress in some
way. They have a series of steps they go through and each step
counts for some known percentage... which eventually adds up to 100%.
Thanks a lot for the info. I'm sure that Disk Utility runs diskutil's
repairPermissions command and feeds the output to a textfield, but
what are the other steps they go through to figure out how much of the
command is done? I don't see how it works :-)
i doubt that, I think they both just use the same API, but one has a
command line interface, one has nice gui interface. You can try looking
in top for a call to "diskutil" when you run Disk Utility - I doubt you
will find it.
Tom
Thanks again
Rakka
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden