|
command execution time
Hi all,
I want to display a progressbar depending upon the completion status of a command. I am coding from scratch as I dont want to use in place code. so Is there anyway of getting the progress of a command in percentage or in any other units while its running , is it possible using the top command?
for example I am using command xyz which takes A time to complete
so if I fork the xyz , A/100* (something ) is complete every second , is it possible to find that something?
thanks in advance
Cheers,
Hashin
|