For many years, I've known that when you write signal handlers you have to be careful about what functions are found there.
However, there is a list of known-good functions in the signal safety man page https://man7.org/linux/man-pages/man7/signal-safety.7.html
Of particular note, your usual stdio print functions are *not* on that list.
#procps 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
https://gitlab.com/procps-ng/procps/-/tags/v3.3.17 or a tarball on
sourceforge at
https://sourceforge.net/projects/procps-ng/files/Production/#select_all
#psmisc version 23.4 was released today, both as an upstream source package and #debian package 23.4-1
This release has some minor fixes and updates; if you liked the -Z flag in ps, then pstree has this for you.
Maybe fuser will be less confused about device IDs, but I'm pretty sure someone out there is crafting up an even stranger storage device setup.
Tarballs located at https://sourceforge.net/projects/psmisc/files/psmisc/ or get it from git at https://gitlab.com/psmisc/psmisc/-/tags/v23.4
Two new fixes for #psmisc tonight.
The first is fuser failed to match mount devices due to the new code checking for duplicate mounts. So it knows the difference between /mnt/a and /mnt/b but ignored /dev/sda1. Now it only checks the pathname if it is not a block device.
pstree had a problem with output alignment when using the colourise option.
The watch program from the #procps 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!
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.
Got a real puzzle around how #Linux handles NFS mounts. From the same server they have the same device ID. This means things like fuser don't work.
Files that are opened by a process are found in /proc/PID/fd and fuser stat()s them to find the device ID, then it scans the mounts to match so you can do things like "who has files open under /mydir"?
For NFS this just does not work because all mounts from the same server will state they have files open.
The #debian project is planning on holding a mini DebConf online.
This will be "4 days of Debianites working together to improve Debian" and will be totally online like all the cool kids are doing.
It will be 28-31st May 2020, more details at https://wiki.debian.org/DebianEvents/internet/2020/MiniDebConfOnline
The venerable kill and signal action is used to send signals across processes, but you can also send small amounts of data across in the signal.
I just found out someone still maintains one of the first free software programs I wrote so many years ago. Checked the changelog and it was 25 July 1995! A 24 -year old program still in use.
There has been a bit of a clean up and all my comment out debug code removed (good!) but its basically the same.
Fortunately the Linux kernel driver I wrote has long gone π±
psmisc is almost ready for release. I have sent a pre-release version over to the translation project for the updated translated files. Give them a few days and then it will be ready.
For many years a #Linux process command name has been 15 characters. There has been a recent change to make it now 32 characters so programs like #killall needed to be updated.
The issue is, people are used to programs truncating to 15 characters, so things stopped matching.
I just uploaded a fix so if the process name is exactly 15 characters long and the given option is longer, it will match at 15 characters too
https://gitlab.com/psmisc/psmisc/commit/1188315cd037d73bf946a0003b70c6423cc330d2
I just pushed the pre-release package of #psmisc to the translators. In a week or so there will be a new version of psmisc.
The changes are mainly things reflected in procps, like the longer command names and look at all namespaces.
#procps 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.
#procps has now gone to v3.3.13rc1
This will be the version used by the translators to update the language files. No more code updates are expected unless there is a problem found.
#procps is getting close to a 3.3.13 release. Just doing the last call for code changes before it goes off to the translation project for the po file updates.
Free Software programmer, network engineer and Debian developer.
100% tomato verified. π
β
He/him
#freesw #debian #linux #foss
Avatar by @pollomostro
Header by https://digitalblasphemy.com/