Bart Van Assche wrote:
Thanks for the bash lesson :). It wasn't working how I think you had planned because many processes have nothing in the cmdline file. So, I touched up the command a bit, putting in the pid and displaying the cmdline at the end so as not to mess up the sort:On Mon, Oct 6, 2008 at 5:31 PM, Cameron Harr <[EMAIL PROTECTED]> wrote: ( cd /proc && for p in [1-9]* ; do echo -e "$p:\t $(<${p}/schedstat) \t\t$(<${p}/cmdline)" ; done ) | sort -rn -k 3 | head Using that, and watching who's moving up in amount of time waiting, the main culprits are all of the scst_threads when scst_threads=8, and when threads=2, the culprit is srpt_thread. -Cameron |
_______________________________________________ general mailing list [email protected] http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
