Subject: Re: Question about pstat.
To: Scott Anderson <sander@rush.cc.edu>
From: Greg Oster <oster@skdad.usask.ca>
List: current-users
Date: 01/08/1995 18:51:01
Scott Anderson writes:
> 
> Could a -k flag be added to pstat so it would read out K and not 512byte 
> blocks ?  I assume it'd be a matter of compatability with standards and
> a trivial thing to code, no ?  Primarily I miss swapinfo -k, and pstat -s
> only does it with 512 bytes.
> 
> 
> Scott Anderson
> is there significant interest in this?  

This isn't directly related to your question, but if you add 

setenv BLOCKSIZE 1k

to your .cshrc, then df, du, pstat, and others should report values in
1k block sizes instead of 512 byte ones.  (Of course if you don't use
csh, you'll have to set BLOCKSIZE some other way, etc.)  

(I suppose a "-k" option might be usefull in scripts or something, but
I'm not going to complain one way or another if it's not implemented).

Keep up the great work guys...

Later...

Greg Oster

oster@cs.usask.ca
Department of Computational Science
University of Saskatchewan, Saskatoon, Saskatchewan, CANADA