<feed xmlns='http://www.w3.org/2005/Atom'>
<title>plan9port/src/cmd/auxstats, branch patch</title>
<subtitle>Plan 9 from User Space (with patches)</subtitle>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/'/>
<entry>
<title>config: add $egrep</title>
<updated>2025-07-23T19:44:54+00:00</updated>
<author>
<name>Dan Cross</name>
<email>cross@gajendra.net</email>
</author>
<published>2025-07-22T14:42:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=564d45b5a55adeb48f69fdecb2bf4ed1f909850b'/>
<id>564d45b5a55adeb48f69fdecb2bf4ed1f909850b</id>
<content type='text'>
Introduce a new variable set in $PLAN9/config:
$egrep, which is conditionally set to either
`egrep` or `grep -E`, based on platform, and use
this when we want to invoke `egrep`.

This works around the endless warnings from GNU
grep stating that `egrep` is deprecated in favor
of `grep -E`, when run on e.g. Linux.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Introduce a new variable set in $PLAN9/config:
$egrep, which is conditionally set to either
`egrep` or `grep -E`, based on platform, and use
this when we want to invoke `egrep`.

This works around the endless warnings from GNU
grep stating that `egrep` is deprecated in favor
of `grep -E`, when run on e.g. Linux.
</pre>
</div>
</content>
</entry>
<entry>
<title>cmd/auxstats: improve network device name matcher in Linux</title>
<updated>2021-10-18T20:41:11+00:00</updated>
<author>
<name>Nicola Girardi</name>
<email>nicolagi@sdf.org</email>
</author>
<published>2021-10-17T18:46:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=7b0b2065faf449f820b092afb74cf0af2dae79a3'/>
<id>7b0b2065faf449f820b092afb74cf0af2dae79a3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>cmd/auxstats: improve wireless interface name matcher in Linux</title>
<updated>2021-10-17T18:08:16+00:00</updated>
<author>
<name>Nic</name>
<email>nicolagi@sdf.org</email>
</author>
<published>2021-10-17T13:18:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=0ac2a105ae58e86a8d224020f0a3c43358312e66'/>
<id>0ac2a105ae58e86a8d224020f0a3c43358312e66</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>auxstats: do not postnote 0</title>
<updated>2021-01-14T14:58:44+00:00</updated>
<author>
<name>Russ Cox</name>
<email>rsc@swtch.com</email>
</author>
<published>2021-01-14T14:58:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=fdcf3d70c24886dddb5fd7052dfada67d33d5c75'/>
<id>fdcf3d70c24886dddb5fd7052dfada67d33d5c75</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>all: fix #includes for AIX, add a few AIX "implementation" files</title>
<updated>2020-05-08T00:36:03+00:00</updated>
<author>
<name>Ben Huntsman</name>
<email>BHuntsman@mail2.cu-portland.edu</email>
</author>
<published>2020-05-05T02:53:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=5802b09e9d8ceadd2cefdccfd0391c04e492369b'/>
<id>5802b09e9d8ceadd2cefdccfd0391c04e492369b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Trivial changes: whitespace and modes.</title>
<updated>2020-01-10T14:54:30+00:00</updated>
<author>
<name>Dan Cross</name>
<email>cross@gajendra.net</email>
</author>
<published>2020-01-10T14:44:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=fa325e9b42b0bdfb48857d1958d9fb7ceac55151'/>
<id>fa325e9b42b0bdfb48857d1958d9fb7ceac55151</id>
<content type='text'>
Remote whitespace at the ends of lines.
Remove blank lines from the ends of files.
Change modes on source files so that they
are not executable.

Signed-off-by: Dan Cross &lt;cross@gajendra.net&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remote whitespace at the ends of lines.
Remove blank lines from the ends of files.
Change modes on source files so that they
are not executable.

Signed-off-by: Dan Cross &lt;cross@gajendra.net&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>auxstats: replace /proc ACPI calls with /sys ones (#245)</title>
<updated>2019-09-19T17:08:36+00:00</updated>
<author>
<name>Zach Scott</name>
<email>ethhics@gmail.com</email>
</author>
<published>2019-09-19T17:08:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=7d827b5cca185b411be3ac9b71834958f4737bdf'/>
<id>7d827b5cca185b411be3ac9b71834958f4737bdf</id>
<content type='text'>
According to &lt;https://askubuntu.com/a/309146&gt;, use of `/proc/acpi` to
get battery usage is deprecated. This commit replaces the two files from
this API with the single file `/sys/class/power_supply/BAT0/capacity`,
simultaneously removing the need to calculate battery percentage.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
According to &lt;https://askubuntu.com/a/309146&gt;, use of `/proc/acpi` to
get battery usage is deprecated. This commit replaces the two files from
this API with the single file `/sys/class/power_supply/BAT0/capacity`,
simultaneously removing the need to calculate battery percentage.</pre>
</div>
</content>
</entry>
<entry>
<title>auxstats: get network stats in a portable manner on FreeBSD</title>
<updated>2018-01-23T08:00:53+00:00</updated>
<author>
<name>Bakul Shah</name>
<email>bakul@bitblocks.com</email>
</author>
<published>2018-01-20T04:03:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=da8a485fc143aa323845fafcf0f0f836c76a116b'/>
<id>da8a485fc143aa323845fafcf0f0f836c76a116b</id>
<content type='text'>
as the old grody way doesn't work any more on FreeBSD-10 and later.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
as the old grody way doesn't work any more on FreeBSD-10 and later.
</pre>
</div>
</content>
</entry>
<entry>
<title>auxstats: fix OpenBSD by using getifaddrs(3) instead of kvm(3)</title>
<updated>2015-12-08T16:41:13+00:00</updated>
<author>
<name>Gleydson Soares</name>
<email>gsoares@gmail.com</email>
</author>
<published>2015-12-07T11:32:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=009b0cb5eb340b8bc3268bfaeb86abfeffdc1b1c'/>
<id>009b0cb5eb340b8bc3268bfaeb86abfeffdc1b1c</id>
<content type='text'>
Change-Id: I6a096ba24809a402911c30406d384d16c03fc96c
Reviewed-on: https://plan9port-review.googlesource.com/1410
Reviewed-by: Russ Cox &lt;rsc@swtch.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I6a096ba24809a402911c30406d384d16c03fc96c
Reviewed-on: https://plan9port-review.googlesource.com/1410
Reviewed-by: Russ Cox &lt;rsc@swtch.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>all: fix openbsd build</title>
<updated>2015-06-03T15:31:44+00:00</updated>
<author>
<name>Aram Hăvărneanu</name>
<email>aram@mgk.ro</email>
</author>
<published>2015-03-22T12:14:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.rctt.net/plan9port/commit/?id=0c2926638b9c5f5a9f2f22a300f031ed2dc71979'/>
<id>0c2926638b9c5f5a9f2f22a300f031ed2dc71979</id>
<content type='text'>
Change-Id: I6eaeebc9b6a4d78ce07efe7680ba8f2eff16462f
Reviewed-on: https://plan9port-review.googlesource.com/1230
Reviewed-by: Minux Ma &lt;minux@golang.org&gt;
Reviewed-by: Russ Cox &lt;rsc@google.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change-Id: I6eaeebc9b6a4d78ce07efe7680ba8f2eff16462f
Reviewed-on: https://plan9port-review.googlesource.com/1230
Reviewed-by: Minux Ma &lt;minux@golang.org&gt;
Reviewed-by: Russ Cox &lt;rsc@google.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
