From mboxrd@z Thu Jan 1 00:00:00 1970 From: Keir Fraser Subject: Re: c/s 17731 portability issues Date: Mon, 26 May 2008 09:14:21 +0100 Message-ID: References: <200805261007.00725.Christoph.Egger@amd.com> Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <200805261007.00725.Christoph.Egger@amd.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Christoph Egger , xen-devel@lists.xensource.com Cc: Xiaowei Hu , john.levon@sun.com List-Id: xen-devel@lists.xenproject.org On 26/5/08 09:07, "Christoph Egger" wrote: > Hi! > > Changeset 17731 has some portability issues: > > BSD ps has no --no-headers argument. > Solaris ps has no --no-headers argument and -o has a different > semantic. > > For BSD it would be enough to just remove --no-headers. Then the surrounding logic would need to be fixed up too. I wonder whether it is even possible to extract process state from ps in an OS-neutral way? The changeset isn't important or useful enough to keep if it's going to cause portability problems. -- Keir