Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 23 Mar 2001 12:06:19 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 23 Mar 2001 12:06:11 -0500 Received: from dentin.eaze.net ([216.228.128.151]:25092 "EHLO xirr.com") by vger.kernel.org with ESMTP id ; Fri, 23 Mar 2001 12:05:29 -0500 Date: Fri, 23 Mar 2001 11:00:27 -0600 (CST) From: SodaPop To: Rik van Riel cc: Subject: Re: [PATCH] Prevent OOM from killing init In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Rik, is there any way we could get a /proc entry for this, so that one could do something like: cat /proc/oom-kill-scores | sort +3 to get a process list (similar to ps) with a field for the current oom scores? It would likely be very useful to be able to dump the current scores and see what will be the first thing to die, and may help people tune the killer for specific uses. Part of the current problem with the OOM killer is that people only know what it's going to kill after it's too late. -dennis T - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/