Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Apr 2021 16:57:06 +0100
From:      tech-lists <tech-lists@zyxst.net>
To:        freebsd-current@freebsd.org
Subject:   Re: systat -swap to display large swap space users
Message-ID:  <YHW/UsYD9ZMsxMe4@ceres.zyxst.net>
In-Reply-To: <20210410083604.26b852e49ea29d05095a6beb@j.email.ne.jp>
References:  <20210402201214.bdd588a10d430c393585e1e3@j.email.ne.jp> <YGmTRxRxm5dm0gRM@ceres.zyxst.net> <20210410083604.26b852e49ea29d05095a6beb@j.email.ne.jp>

next in thread | previous in thread | raw e-mail | index | archive | help

--65D7Ka2wQI2gi0Lw
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hello Hiro,

On Sat, Apr 10, 2021 at 08:36:04AM -0400, Yoshihiro Ota wrote:
>Hi,
>
>How about these now?
>These include extra improvements to other parts of systat.
>
>These patches create new files.
>If you already applies previosly, please check and clean up new files.

Sorry to report that for the 13.0-RELENG patch, it didn't apply cleanly.
I've not tried the others yet.

I saved the attatchment, and then uploaded it to a pristine 13-RELENG
vm. This vm was made from
https://download.freebsd.org/ftp/releases/ISO-IMAGES/13.0/FreeBSD-13.0-RELE=
ASE-amd64-dvd1.iso.xz

Once installed to a 256GB vm, spun the vm up and did the following:

1. install git from packages
2. cd /usr && git clone ssh://anongit@git.freebsd.org/src.git
3. cd src && git checkout releng/13.0

Then copied systat-swap-releng13.0.diff to /usr/src, then ran the
following in /usr/src:

patch < systat-swap-releng13.0.diff

output follows:

[...]

Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/usr.bin/systat/Makefile b/usr.bin/systat/Makefile
|index ca3f7ed72ce..bfbe1336d29 100644
|--- a/usr.bin/systat/Makefile
|+++ b/usr.bin/systat/Makefile
--------------------------
Patching file usr.bin/systat/Makefile using Plan A...
Hunk #1 failed at 5.
Hunk #2 failed at 16.
2 out of 2 hunks failed--saving rejects to usr.bin/systat/Makefile.rej
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/usr.bin/systat/devs.c b/usr.bin/systat/devs.c
|index b293796c2c7..87d04f989ea 100644
|--- a/usr.bin/systat/devs.c
|+++ b/usr.bin/systat/devs.c
--------------------------
Patching file usr.bin/systat/devs.c using Plan A...
Hunk #1 failed at 426.
Hunk #2 failed at 433.
2 out of 2 hunks failed--saving rejects to usr.bin/systat/devs.c.rej
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/usr.bin/systat/devs.h b/usr.bin/systat/devs.h
|index cbedd844290..79a44a6c3f5 100644
|--- a/usr.bin/systat/devs.h
|+++ b/usr.bin/systat/devs.h
--------------------------
Patching file usr.bin/systat/devs.h using Plan A...
Hunk #1 failed at 2.
Hunk #2 failed at 34.
2 out of 2 hunks failed--saving rejects to usr.bin/systat/devs.h.rej
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/usr.bin/systat/extern.h b/usr.bin/systat/extern.h
|index 6e3117bece4..322065f7931 100644
|--- a/usr.bin/systat/extern.h
|+++ b/usr.bin/systat/extern.h
--------------------------
Patching file usr.bin/systat/extern.h using Plan A...
Hunk #1 failed at 168.
1 out of 1 hunks failed--saving rejects to usr.bin/systat/extern.h.rej
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/usr.bin/systat/main.c b/usr.bin/systat/main.c
|index b5a19d381ad..b84351379f4 100644
|--- a/usr.bin/systat/main.c
|+++ b/usr.bin/systat/main.c
--------------------------
Patching file usr.bin/systat/main.c using Plan A...
Hunk #1 failed at 135.
Hunk #2 failed at 206.
2 out of 2 hunks failed--saving rejects to usr.bin/systat/main.c.rej
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/usr.bin/systat/pigs.c b/usr.bin/systat/pigs.c
|index d9f3f8d4ad1..879f6548d86 100644
|--- a/usr.bin/systat/pigs.c
|+++ b/usr.bin/systat/pigs.c
--------------------------
Patching file usr.bin/systat/pigs.c using Plan A...
Hunk #1 failed at 56.
Hunk #2 failed at 90.
Hunk #3 failed at 146.
3 out of 3 hunks failed--saving rejects to usr.bin/systat/pigs.c.rej
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/usr.bin/systat/proc.c b/usr.bin/systat/proc.c
|new file mode 100644
|index 00000000000..0def660d2dc
|--- /dev/null
|+++ b/usr.bin/systat/proc.c
--------------------------
(Creating file usr.bin/systat/proc.c...)
Patching file usr.bin/systat/proc.c using Plan A...
Empty context always matches.
Hunk #1 succeeded at 1.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/usr.bin/systat/subs.h b/usr.bin/systat/subs.h
|new file mode 100644
|index 00000000000..e4184be8dae
|--- /dev/null
|+++ b/usr.bin/systat/subs.h
--------------------------
(Creating file usr.bin/systat/subs.h...)
Patching file usr.bin/systat/subs.h using Plan A...
Empty context always matches.
Hunk #1 succeeded at 1.
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/usr.bin/systat/swap.c b/usr.bin/systat/swap.c
|index fc44db7d7d4..44a321a5705 100644
|--- a/usr.bin/systat/swap.c
|+++ b/usr.bin/systat/swap.c
--------------------------
Patching file usr.bin/systat/swap.c using Plan A...
Hunk #1 failed at 3.
Hunk #2 failed at 57.
Hunk #3 failed at 90.
Hunk #4 failed at 98.
Hunk #5 failed at 113.
Hunk #6 failed at 127.
6 out of 6 hunks failed--saving rejects to usr.bin/systat/swap.c.rej
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/usr.bin/systat/sysput.c b/usr.bin/systat/sysput.c
|index 31c9127a83b..64a9699e45e 100644
|--- a/usr.bin/systat/sysput.c
|+++ b/usr.bin/systat/sysput.c
--------------------------
Patching file usr.bin/systat/sysput.c using Plan A...
Hunk #1 failed at 1.
Hunk #2 failed at 42.
Hunk #3 failed at 122.
Hunk #4 failed at 139.
4 out of 4 hunks failed--saving rejects to usr.bin/systat/sysput.c.rej
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/usr.bin/systat/systat.1 b/usr.bin/systat/systat.1
|index d2eeb285481..bc57d89cf06 100644
|--- a/usr.bin/systat/systat.1
|+++ b/usr.bin/systat/systat.1
--------------------------
Patching file usr.bin/systat/systat.1 using Plan A...
Hunk #1 failed at 297.
1 out of 1 hunks failed--saving rejects to usr.bin/systat/systat.1.rej
Hmm...  The next patch looks like a unified diff to me...
The text leading up to this was:
--------------------------
|diff --git a/usr.bin/systat/systat.h b/usr.bin/systat/systat.h
|index 92233e05817..661e3f2043b 100644
|--- a/usr.bin/systat/systat.h
|+++ b/usr.bin/systat/systat.h
--------------------------
Patching file usr.bin/systat/systat.h using Plan A...
Hunk #1 failed at 33.
Hunk #2 failed at 70.
2 out of 2 hunks failed--saving rejects to usr.bin/systat/systat.h.rej
done

[...]
--=20
J.

--65D7Ka2wQI2gi0Lw
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEE8n3tWhxW11Ccvv9/s8o7QhFzNAUFAmB1v0kACgkQs8o7QhFz
NAVXpg/+OGx5eYYzSAe/8JMJ5Bo89zAj4sMaPc95KjK6WULXp7URjhRFndi46Pab
3iNF7fMIaOYEmhPutSfkcGvNjrvIGmc8hP+PfhRfsnNjeGk5wlaMY2Eb5dWPfph7
zmfw/b8lEBGxAvHa8wNcXEDRyyvF7oDVe9/stOERvcc+Ux4k5a342ISOMeN9pECO
jcF40IL6IDEaZF0ixGz853m9nv8mw/uiA+xROUWrU3jD9J5mo5N7XxSd00remDN3
ydIivV1WWk2c2uX8u/dV5pggoXvTqFGWc/MHPjmBsX4WGhKntn3a+CZiJ1xyHkne
xYAsvlX4iLL5IuTRoQdRR8gVgi9UenzkM1jhIhP6y6cSoHjk9quExwIX+2sd4r9a
gUihh6V+1DrIUt1A0c8wd2SI8KebdT7oP6+Ey9SPw9z0bPtAJDqJAxMapggUPVoj
fNsTI5r9ACpJCRG/jx6aY706Mu0gEwvM4EgncOA9gzyHrJHyd4jrzCw2XjRzLdrj
cn7hvWycM4LsjDLJ9Rvarxxk7rBItXwm9ZQdeAw7/sJr3KTDF8l6nyWomtotR9Pc
UzvMnCR9nGmMDqN0raKPDJWFJ92S2aGHPl9jbEpdUg3ltMvQVxWa9Y5BRToSv6dj
SDo5qwH1xPjBfX4n8lBPWsDgflR4h5hbbmRlUCvz0EY3LG96tp4=
=OC3L
-----END PGP SIGNATURE-----

--65D7Ka2wQI2gi0Lw--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?YHW/UsYD9ZMsxMe4>