OpenBSD CVS

CVS log for src/usr.bin/systat/engine.h


[BACK] Up to [local] / src / usr.bin / systat

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.14 / (download) - annotate - [select for diffs], Fri Jul 2 15:34:16 2021 UTC (2 years, 10 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, HEAD
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

Use nanosleep() and setitimer() instead of usleep() and ualarm().
Both usleep() and ualarm() are obsolete and were removed from POSIX.
OK deraadt@

Revision 1.13 / (download) - annotate - [select for diffs], Wed Jun 2 08:32:22 2021 UTC (2 years, 11 months ago) by martijn
Branch: MAIN
Changes since 1.12: +11 -1 lines
Diff to previous 1.12 (colored)

Make the hints at the bottom row sticky by turning the knobs toggles.
Specifically this effects ^G, help and order.

While here also document the 'h' character.

Initial inspiration and diff from Anindya Mukherjee (anindya49 <at> hotmail
<dot> com)

OK bluhm@

Revision 1.12 / (download) - annotate - [select for diffs], Sun Jan 12 20:51:08 2020 UTC (4 years, 4 months ago) by martijn
Branch: MAIN
CVS Tags: OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7
Changes since 1.11: +2 -1 lines
Diff to previous 1.11 (colored)

Add support for human readable numbers where applicable.

OK stsp@ and bluhm@

Revision 1.11 / (download) - annotate - [select for diffs], Mon Mar 4 21:23:48 2019 UTC (5 years, 2 months ago) by dlg
Branch: MAIN
CVS Tags: OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

make title a const char *.

Revision 1.10 / (download) - annotate - [select for diffs], Thu Jan 17 05:56:29 2019 UTC (5 years, 4 months ago) by tedu
Branch: MAIN
Changes since 1.9: +1 -1 lines
Diff to previous 1.9 (colored)

use $OpenBSD markers
ok millert mpi

Revision 1.9 / (download) - annotate - [select for diffs], Thu Feb 8 07:00:33 2018 UTC (6 years, 3 months ago) by martijn
Branch: MAIN
CVS Tags: OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3
Changes since 1.8: +2 -1 lines
Diff to previous 1.8 (colored)

Add the order keyword to systat global command interpreter.
This command shows the available orderings for the current view, which
ordering is active, their shortcuts, and if they're in reverse order.

manpage nits jmc@
OK tedu@

Revision 1.8 / (download) - annotate - [select for diffs], Sat Sep 7 11:43:49 2013 UTC (10 years, 8 months ago) by reyk
Branch: MAIN
CVS Tags: OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9, OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.7: +2 -1 lines
Diff to previous 1.7 (colored)

Add a new screen "cpu" that simply lists the usage of each CPU core.
Also add a new -B command line flag that works like -b but waits some
cycles before dumping anything to the console.

With much help from jmc@
OK jj@ lambert@ jmc@

Revision 1.7 / (download) - annotate - [select for diffs], Tue Apr 5 07:35:32 2011 UTC (13 years, 1 month ago) by mpf
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0
Changes since 1.6: +3 -1 lines
Diff to previous 1.6 (colored)

Add support to display numbers with thousands separators
and to switch the ifstat view to Bits/s.
This allows us to see live network throughput in units
like MBit/s, which is more practical.
OK sthen@, manpage OK jmc@, "put it in" deraadt@

Revision 1.6 / (download) - annotate - [select for diffs], Fri Jul 16 05:22:48 2010 UTC (13 years, 10 months ago) by lum
Branch: MAIN
CVS Tags: OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8
Changes since 1.5: +2 -1 lines
Diff to previous 1.5 (colored)

Make the terminal checking capability of systat better.
Checks taken from top(1) screen.c/init_termcap()
ok canacar@ sthen@ nicm@

Revision 1.5 / (download) - annotate - [select for diffs], Sun Dec 7 02:56:06 2008 UTC (15 years, 5 months ago) by canacar
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5
Changes since 1.4: +13 -13 lines
Diff to previous 1.4 (colored)

Warning cleanup including unused variables and shadowed names

Revision 1.4 / (download) - annotate - [select for diffs], Mon Dec 1 18:03:06 2008 UTC (15 years, 5 months ago) by naddy
Branch: MAIN
Changes since 1.3: +2 -1 lines
Diff to previous 1.3 (colored)

Add a function to print a floating point field and use this to fix the
SEConds field in the iostat view.
ok and help canacar@

Revision 1.3 / (download) - annotate - [select for diffs], Fri Oct 31 06:50:09 2008 UTC (15 years, 6 months ago) by canacar
Branch: MAIN
Changes since 1.2: +4 -5 lines
Diff to previous 1.2 (colored)

Implement start and stop commands as documented,
explicitly pass the command buffer to the command functions.

Revision 1.2 / (download) - annotate - [select for diffs], Tue Jul 22 03:00:23 2008 UTC (15 years, 10 months ago) by canacar
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.1: +3 -1 lines
Diff to previous 1.1 (colored)

Add signed size printing functions, as requested by deraadt@.
Just use print_fld_ssize() for signed values.
Increase scale up to "Tera" while there.

Revision 1.1 / (download) - annotate - [select for diffs], Thu Jun 12 22:26:01 2008 UTC (15 years, 11 months ago) by canacar
Branch: MAIN

New display engine for systat, based on pftop. Adds new views for pf
(status, state, rule, queue). While all displays work, some keyboard
comands are not implemented yet. Other features include better handling
of display resize and scrolling for long views. Committing now to fix
the remaining issues in the tree.
Testing and comments by otto@ and harding@, ok deraadt@

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.