lkml.org 
[lkml]   [1996]   [Mar]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    Subject(Fwd) Rather new /proc/meminfo: request to reformat
    Forwarded message:
    From: Self <RKDVMKS1/UW>
    To: zabluda@math.psu.edu (Oleg Zabluda)
    Subject: Rather new /proc/meminfo: request to reformat
    Date: Thu, 14 Mar 1996 08:43:18 +0100

    On 13 Mar 96 at 0:38, Oleg Zabluda wrote:

    [...stealing part of a message...]
    > (ttyp2)marianna:~> cat /proc/meminfo
    > total: used: free: shared: buffers: cached:
    > Mem: 15380480 14794752 585728 8298496 217088 5324800
    > Swap: 33509376 4829184 28680192
    > MemTotal: 15020 kB
    > MemFree: 572 kB
    > MemShared: 8104 kB
    > Buffers: 212 kB
    > Cached: 5200 kB
    > SwapTotal: 32724 kB
    > SwapFree: 28008 kB
    [...]

    I think the new format uses a lot of space to provide not too much
    information.
    What about lines like "tag: used + free = total", with each number in bytes?

    That would make something like
    ...
    Tag: Used Free Total
    MemTotal: 14448000 + 572000 = 15020000
    ...

    It would be nice if the "old" lines could be converted to the new,
    uniform format, too. Old programs could still use the old format
    then, while new programs could ignore the old lines and use the new
    lines only.

    Sorry to bring up this issue again.

    Ulrich

    If there's a printf/scanf to handle thousands separator (3,217,088), I'd also
    suggest to use it (like in DOS 6.2).
    ------------
    Ulrich Windl Klinikum der Universitaet Regensburg
    Rechenzentrum DV-med Franz-Josef-Strauss-Allee 11
    Tel: +49 941 944-5879 D-93053 Regensburg
    FAX: +49 941 944-5882
    Just imagine my mail address were <Ulrich.Windl@rz.uni.r.de>...


    \
     
     \ /
      Last update: 2005-03-22 13:36    [W:0.020 / U:32.248 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site