From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10351 invoked by alias); 8 Feb 2008 17:24:08 -0000 Received: (qmail 10343 invoked by uid 22791); 8 Feb 2008 17:24:08 -0000 X-Spam-Status: No, hits=-1.6 required=5.0 tests=AWL,BAYES_20,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: sourceware.org Received: from mx1.redhat.com (HELO mx1.redhat.com) (66.187.233.31) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 08 Feb 2008 17:23:51 +0000 Received: from int-mx1.corp.redhat.com (int-mx1.corp.redhat.com [172.16.52.254]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id m18HNn6x017503 for ; Fri, 8 Feb 2008 12:23:49 -0500 Received: from pobox.corp.redhat.com (pobox.corp.redhat.com [10.11.255.20]) by int-mx1.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m18HNms1007578 for ; Fri, 8 Feb 2008 12:23:48 -0500 Received: from localhost.localdomain (sebastian-int.corp.redhat.com [172.16.52.221]) by pobox.corp.redhat.com (8.13.1/8.13.1) with ESMTP id m18HNmGo022438 for ; Fri, 8 Feb 2008 12:23:48 -0500 Message-ID: <47AC8FFF.60205@redhat.com> Date: Fri, 08 Feb 2008 17:24:00 -0000 From: Andrew Cagney User-Agent: Thunderbird 2.0.0.9 (X11/20071115) MIME-Version: 1.0 To: frysk Subject: host, proc, and task are comparable Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.58 on 172.16.52.254 X-IsSubscribed: yes Mailing-List: contact frysk-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: frysk-owner@sourceware.org X-SW-Source: 2008-q1/txt/msg00058.txt.bz2 I've given them a natural ordering of: Host.getName():Proc.getPid():Task.getTid() so that a hosts' processes group together, and a processes's tasks also group together vis: host pid tid h1 1 10 h1 2 5 h2 1 3 Of course this can be changed with a custom comparable class. Andrew