lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20091027103632.2b6db019@lxorguk.ukuu.org.uk>
Date:	Tue, 27 Oct 2009 10:36:32 +0000
From:	Alan Cox <alan@...rguk.ukuu.org.uk>
To:	J K Rai <jk.anurag@...oo.com>
Cc:	lkml <linux-kernel@...r.kernel.org>,
	Peter Zijlstra <a.p.zijlstra@...llo.nl>,
	Ingo Molnar <mingo@...e.hu>
Subject: Re: Instantaneous snapshot of CPU schedule

On Tue, 27 Oct 2009 13:14:34 +0530 (IST)
J K Rai <jk.anurag@...oo.com> wrote:

> 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.

I'm not sure it would be terribly useful. You know what is running on at
least one of the processors - your snapshot tool. So for uniprocessor its
100% useless, for dual processor 50% useless.

It would also be incredibly expensive to serialize everything on the
system just to take a measurement.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ