Pat picked up a bug in the previous patch, here's a better one. Rafael
Rafael Vanoni wrote: > Here's a patch for > > # RFE to have PowerTOP have an option to specify number of iterations > > This functionality is useful for users who'd like to include the output > of PowerTOP in automated scripts. It's basically an extension of the -d > mode that causes the tool to dump output for a specified number of > iterations. > > For instance, > > powertop 3 > > powertop -t 1 3 > > powertop 3 -t 1 > > are all valid PowerTOP options with this patch. > > Let me know what you think. > > thanks > Rafael > > > ------------------------------------------------------------------------ > > _______________________________________________ > tesla-dev mailing list > tesla-dev at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/tesla-dev -------------- next part -------------- A non-text attachment was scrubbed... Name: iterations.diff Type: text/x-patch Size: 1932 bytes Desc: not available URL: <http://mail.opensolaris.org/pipermail/tesla-dev/attachments/20080701/b97c03df/attachment.bin>
