I'm not sure if this makes the answer any easier, but it gives more points of view.

Show thread

I've been trying to work out what pgpgin and pgpgout values in /proc/vmstat are measured in. Is it in blocks or KiB?

Unfortunately, most references are either vague or point back to vmstat.8 which is not helpful.

Anyone got any idea of what they are and more importantly a decent reference?

version 3.3.17 was
released today. This version has some minor fixes and improvements and now
includes some translated manpages. Other enhancements include:
* New command pwait - waits for a given process to finish
* Top handles more CPUs more gracefully
* sysctl now follows the systemd version better, especially around
directory order

procps-ng v3.3.17 is at gitlab at
gitlab.com/procps-ng/procps/-/ or a tarball on
sourceforge at
sourceforge.net/projects/procp

What does the %CPU field mean in the output of ps and why the sum of %CPU for all process can go above 100%?

dropbear.xyz/2021/01/18/percen

Strange how some parts of a program you never use even if you have the used the program for ages.

Did you know Linux PS has test fields? I didn't and I look after it!

The field names are like _left, _left2 or _unlimited and they are statically defined. I found out about them by crashing the new library.

The watch program from the package has a new trick. Someone asked if there was a way to truncate the output instead of line-wrapping.

Watch already detects the width of the screen because it uses ncurses to output the lines so it needs to know where on the screen the next character will go. It was just a matter of hooking into the "run out of width" part of the code and eat the input until we hit an end of line.

So soon if you want to chomp those lines, you can!

Recently pushed a change to fix the -C flag in ps. The command name length was increased to 63 characters from 15 but most non kernel threads can only do 15 characters.

So how can ps match both 15 and 63 characters?

If the process' comm is 15 and the match is 15 or more then match the first 15 characters.

Also keep matching the entire string up to 63 characters.

Apparently had an old website I built, like, ten or more years ago. Today it, and the terrible logo I made, has rightly gone away.

Are you one of those people with some mad system with lots of CPUs? Having a hard time trying to see them all? Well top is coming out with two new features.

The first is two CPUs per row for wide (about over 160 columns) screens.

The second is to be able to group cpus into, um groups, so you can see pairs of cpu stats aggregated or 4 aggregated etc.

The command pgrep will soon have an older command which matches processes that are older than the specified number of seconds.

I've added some autopkgtest test script to check for the version output of in The current versions just report unknown due to a upstream script breakage (which is my fault too).

is very useful facility to check for Debian packages as-installed. It probably has the second-worst documentation in history (the first being sendmail).

If I actually understood it, I'd fix the documentation, but I don't.

Is there anything more confusing than shared library numbering?

There are three numbers: current, revision and age. Depending on what you are doing to the API one or more of those numbers will change. Seems the last relase I did months ago I got it wrong and bumped the age when that can't happen by itself, I think.

Oh and the soname of the library is definitely connected to, but not exactly, those three numbers (I think its C.R.R-A or something like that).

which finds processes based on your selection criteria and part of now lets you select processes based on state.

Now if you want to go zombie hunting on your server, you can!

gitlab.com/procps-ng/procps/is

Why is Procps called procps-ng?

A brief history of Procps too.
TLDR, we needed to call it something different.

gitlab.com/procps-ng/procps/is

I just realised my intro went when my instance crashed all those months ago.

Anyhow, hello (again) I am developer and a programmer including and I write stuff in and

Besides my interests include bike riding, or and reading, mostly There is also a starting interest in

My day job is a senior working on some very large and strange computer networks.

version 3.3.14 is released.

This fixes some pgrep issues where it crashed if it found no matches and you didn't specify a process name.
The pgrep change that matched only on your namespace has also reverted.

Https://gitlab.com/procps-ng/p

Looks like I broke "ps -u" in
Damn.
On the bright side, I have another test case to add to the testsuite

Procps-ng version 3.3.13 just got released. I have tagged and signed
the last commit and pushed it to gitlab. I will soon start on the
Debian packages and other distributions are free to update as well.

Thankyou to all the contributors!

You can get procps-ng 3.3.13 from the following places:
* gitlab.com/procps-ng/procps/ta
* sourceforge.net/projects/procp

Show older
Mastodon on Dropbear

The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!