Instantaneous snapshot of CPU schedule

From: J K Rai
Date: Tue Oct 27 2009 - 03:51:22 EST


Hello

Is there any utility using which we can take current (instantaneous) snapshot of process schedule on the linux based system from user land. Like use a system call or command to know what is running on each of the cpus 0..n-1 (assuming n cpus in the system). Output could be like tuple (pid, cpu_no).

If such utility does not exist then kindly throw some light / ideas so that it could be implemented.

Regards,
Jitendra


Add whatever you love to the Yahoo! India homepage. Try now! http://in.yahoo.com/trynew
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/