From sacadmin Thu Mar 16 08:54:46 2006
Received: from sac.sfbay.sun.com (localhost [127.0.0.1])
	by sac.sfbay.sun.com (8.12.9+Sun/8.12.9) with ESMTP id k2GGsjIQ019069;
	Thu, 16 Mar 2006 08:54:45 -0800 (PST)
Received: (from darrenm@localhost)
	by sac.sfbay.sun.com (8.12.9+Sun/8.12.9/Submit) id k2GGsjFQ019065;
	Thu, 16 Mar 2006 08:54:45 -0800 (PST)
Date: Thu, 16 Mar 2006 08:54:45 -0800 (PST)
From: Darren J Moffat <darrenm@sac.sfbay.sun.com>
Message-Id: <200603161654.k2GGsjFQ019065@sac.sfbay.sun.com>
To: PSARC@sac.sfbay.sun.com
Cc: nick.todd@sun.com, yann@yannouch.net
Subject: swap(1m) humanisation [PSARC/2006/179 Timeout:  03/16/2006]
Status: RO
Content-Length: 1538

Subject: PSARC FastTrack [03/16/2006]: swap(1m) humanisation

I'm submitting this case for OpenSolaris member Yann Poupet (yann@yannouch.net),
Nick.Todd@Sun.COM is the OpenSolaris request sponsor for the putback.

I believe this qualifies for automatic approval given the precdent set
by PSARC/2001/183 and PSARC/2001/268 if anyone disagrees I'll set the
normal one week timer.


Template Version: @(#)sac_nextcase 1.56 10/26/05 SMI
This information is: Public OpenSolaris
1. Introduction
    1.1. Project/Component Working Name:
	 swap(1m) humanisation
    1.2. Name of Document Author/Supplier:
	 Author:  Yann Poupet
    1.3  Date of This Document:
	16 March, 2006
4. Technical Description

This case proposes adding the "-h" and "-k" options to the swap command
(/usr/sbin/swap) to provide more human readable output in a similar fashion to
that of the du and df commands.

This would result in the following combinations:

swap -lk
swap -kl
swap -lh
swap -hl
swap -sh
swap -hs

The output from the existing options "-l" and "-s" would be unchanged to
avoid breaking any scripts that may depend on the output format of these
options.

The -k option would produce output values in multiples of 1024. The -h
option will scale the output to produce "human readable" as per du and df.

Interface Taxonomy: Stable
Release Binding: Patch

materials/swap.1m.diff
materials/swap.1m.new

6. Resources and Schedule
    6.4. Steering Committee requested information
   	6.4.1. Consolidation C-team Name:
		ON
    6.5. ARC review type: FastTrack

From sacadmin Thu Mar 16 11:53:32 2006
Received: from jurassic.eng.sun.com (jurassic.SFBay.Sun.COM [129.146.68.36])
	by sac.sfbay.sun.com (8.12.9+Sun/8.12.9) with ESMTP id k2GJrWIQ024379;
	Thu, 16 Mar 2006 11:53:32 -0800 (PST)
Received: from hawaiian-sun (vpn-129-150-12-95.SFBay.Sun.COM [129.150.12.95])
	by jurassic.eng.sun.com (8.13.6.Gamma0+Sun/8.13.5) with SMTP id k2GJr6CA288233;
	Thu, 16 Mar 2006 11:53:31 -0800 (PST)
Message-Id: <200603161953.k2GJr6CA288233@jurassic.eng.sun.com>
Date: Thu, 16 Mar 2006 09:52:06 -1000 (HST)
From: Joseph Kowalski <Joseph.Kowalski@eng.sun.com>
Reply-To: Joseph Kowalski <Joseph.Kowalski@eng.sun.com>
Subject: Re: swap(1m) humanisation [PSARC/2006/179 Timeout:  03/16/2006]
To: PSARC@sac.sfbay.sun.com, darrenm@sac.sfbay.sun.com
Cc: nick.todd@sun.com, yann@yannouch.net
MIME-Version: 1.0
Content-Type: TEXT/plain; charset=us-ascii
Content-MD5: sY69iQFbRW20muiUBbXFiw==
X-Mailer: dtmail 1.3.0 @(#)CDE Version 1.7_20 SunOS 5.11 i86pc i386 
Status: RO
Content-Length: 187


> This would result in the following combinations:
> 
> swap -lk

Which (of course) can also be expressed:

	swap -l -k

(Just wanted this in the log to avoid any potential confusion.)


