Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-10] src/external/bsd/top/dist/machine



Module Name:    src
Committed By:   martin
Date:           Mon Dec 18 14:08:37 UTC 2023

Modified Files:
        src/external/bsd/top/dist/machine [netbsd-10]: m_netbsd.c

Log Message:
Pull up following revision(s) (requested by mrg in ticket #503):

        external/bsd/top/dist/machine/m_netbsd.c: revision 1.27
        external/bsd/top/dist/machine/m_netbsd.c: revision 1.28

top: add network in & out bytes to the top display.

inspired by the macos top(1).

the first value displayed is the total in/out bytes since boot,
but each update is the amount since the prior update.  the new
fetching code heavily based upon netstat/if.c.

old version:
Swap: 128G Total, 128G Free / Pools: 13G Used

new version:
Swap: 128G Total, 128G Free / Pools: 13G Used, / Network: 26M In, 804K Out

update the list of people who have contributed to m_netbsd.c.
Remove extraneous comma after pool info


To generate a diff of this commit:
cvs rdiff -u -r1.26.2.1 -r1.26.2.2 \
    src/external/bsd/top/dist/machine/m_netbsd.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index