mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: J K Rai <jk.anurag@yahoo.com>
To: lkml <linux-kernel@vger.kernel.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>, Ingo Molnar <mingo@elte.hu>
Subject: Instantaneous snapshot of CPU schedule
Date: Tue, 27 Oct 2009 13:14:34 +0530 (IST)	[thread overview]
Message-ID: <256042.70547.qm@web94710.mail.in2.yahoo.com> (raw)

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

             reply	other threads:[~2009-10-27  7:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-27  7:44 J K Rai [this message]
2009-10-27 10:36 ` Alan Cox
2009-11-08  9:48 ` Ingo Molnar

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=256042.70547.qm@web94710.mail.in2.yahoo.com \
    --to=jk.anurag@yahoo.com \
    --cc=a.p.zijlstra@chello.nl \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mingo@elte.hu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®