Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>
Subject: Re: How to identify the current processor
Date: 27 Feb 2003 18:38:38 +0100	[thread overview]
Message-ID: <87smu9oc81.fsf@student.uni-tuebingen.de> (raw)
In-Reply-To: 3e5e46e7$0$237$626a54ce@news.free.fr

"JF Larvoire" <jean-francois.larvoire@remove_this.free.fr> writes:

> I need to identify the processor my thread is running on.  Under
> Tru64, this is easily done through system call cpu_get_current();.
> How can this be done under Linux?

Read /proc/$PID/stat.

-- 
	Falk


      reply	other threads:[~2003-02-27 17:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-02-27 17:05 How to identify the current processor JF Larvoire
2003-02-27 17:38 ` Falk Hueffner [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox