From 8fcfb01a819f9b29418db34971d6813be4cb66bd Mon Sep 17 00:00:00 2001 From: Craig Small Date: Tue, 7 Feb 2023 21:09:48 +1100 Subject: [PATCH] misc: Update the copyrights of files The copyrights of the source files were all out of date and were not the same format. This has been corrected. The source of the authors was examining the git log for each file. Signed-off-by: Craig Small --- library/devname.c | 5 ++++- library/diskstats.c | 10 ++++----- library/escape.c | 6 ++++-- library/include/diskstats.h | 10 ++++----- library/include/escape.h | 6 ++++-- library/include/meminfo.h | 4 ++-- library/include/misc.h | 18 ++++++++-------- library/include/numa.h | 3 ++- library/include/pids.h | 8 +++---- library/include/pwcache.h | 26 +++++++++++++++++++++++ library/include/readproc.h | 33 +++++++++++++++++++++-------- library/include/slabinfo.h | 8 +++---- library/include/stat.h | 4 ++-- library/include/vmstat.h | 13 ++++++------ library/include/wchan.h | 21 ++++++++++++++++++ library/include/xtra-procps-debug.h | 4 ++-- library/meminfo.c | 6 +++--- library/namespace.c | 5 ++++- library/numa.c | 3 ++- library/pids.c | 8 +++---- library/pwcache.c | 9 +++++--- library/readproc.c | 12 +++++++---- library/slabinfo.c | 11 +++++----- library/stat.c | 6 +++--- library/sysinfo.c | 8 ++++--- library/uptime.c | 13 ++++++------ library/version.c | 12 ++++++----- library/vmstat.c | 13 ++++++------ library/wchan.c | 4 +++- src/free.c | 17 ++++++--------- src/kill.c | 4 +++- src/pgrep.c | 10 ++++++--- src/pidof.c | 5 ++++- src/pmap.c | 6 +++++- src/pwdx.c | 6 +++++- src/skill.c | 6 +++++- src/slabtop.c | 10 +++++---- src/sysctl.c | 11 +++++++--- src/tload.c | 8 +++---- src/uptime.c | 6 +++++- src/vmstat.c | 20 +++++++---------- src/w.c | 13 +++++++----- src/watch.c | 13 ++++++------ 43 files changed, 272 insertions(+), 152 deletions(-) diff --git a/library/devname.c b/library/devname.c index 1cc6bc78..6a236530 100644 --- a/library/devname.c +++ b/library/devname.c @@ -1,6 +1,9 @@ /* * devname - device name functions - * Copyright 1998-2002 by Albert Cahalan + * + * Copyright © 2011-2023 Jim Warner + * Copyright © 2017-2023 Craig Small + * Copyright © 1998-2009 Albert Cahalan * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/library/diskstats.c b/library/diskstats.c index 5496903e..b4e41f39 100644 --- a/library/diskstats.c +++ b/library/diskstats.c @@ -1,10 +1,10 @@ /* - * diskstat.c - disk I/O related definitions for libprocps + * diskstats.c - disk I/O related definitions for libproc2 * - * Copyright (C) 2003 Fabian Frederick - * Copyright (C) 2003 Albert Cahalan - * Copyright (C) 2015 Craig Small - * Copyright (C) 2016-2022 Jim Warner + * Copyright © 2015-2023 Craig Small + * Copyright © 2015-2023 Jim Warner + * Copyright © 2003 Albert Cahalan + * Copyright © 2003 Fabian Frederick * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/library/escape.c b/library/escape.c index cab62861..16a2619b 100644 --- a/library/escape.c +++ b/library/escape.c @@ -1,7 +1,9 @@ /* * escape.c - printing handling - * Copyright 1998-2002 by Albert Cahalan - * Copyright 2020-2022 Jim Warner + * + * Copyright © 2011-2023 Jim Warner + * Copyright © 2016-2023 Craig Small + * Copyright © 1998-2005 Albert Cahalan * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/library/include/diskstats.h b/library/include/diskstats.h index 94ac4705..04785df1 100644 --- a/library/include/diskstats.h +++ b/library/include/diskstats.h @@ -1,10 +1,10 @@ /* - * diskstat.c - disk I/O related declarations for libprocps + * diskstats.c - disk I/O related declarations for libprocps * - * Copyright (c) 2003 Fabian Frederick - * Copyright (C) 2003 Albert Cahalan - * Copyright (C) 2015 Craig Small - * Copyright (C) 2016-2022 Jim Warner + * Copyright © 2015-2023 Craig Small + * Copyright © 2015-2023 Jim Warner + * Copyright © 2003 Albert Cahalan + * Copyright © 2003 Fabian Frederick * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/library/include/escape.h b/library/include/escape.h index 70dd81c7..1f0b0f97 100644 --- a/library/include/escape.h +++ b/library/include/escape.h @@ -1,7 +1,9 @@ /* * escape.h - printing handling - * Copyright 1998-2002 by Albert Cahalan - * Copyright 2020-2022 Jim Warner + * + * Copyright © 2011-2023 Jim Warner + * Copyright © 2016-2023 Craig Small + * Copyright © 1998-2005 Albert Cahalan * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/library/include/meminfo.h b/library/include/meminfo.h index 1913abd1..3402944b 100644 --- a/library/include/meminfo.h +++ b/library/include/meminfo.h @@ -1,8 +1,8 @@ /* * meminfo.h - memory related declarations for libprocps * - * Copyright (C) 2015 Craig Small - * Copyright (C) 2016-2022 Jim Warner + * Copyright © 2016-2023 Jim Warner + * Copyright © 2015-2023 Craig Small * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/library/include/misc.h b/library/include/misc.h index 078aba55..c913571a 100644 --- a/library/include/misc.h +++ b/library/include/misc.h @@ -1,14 +1,14 @@ /* - * libprocps - Library to read proc filesystem + * libproc2 - Library to read proc filesystem * - * Copyright 1992-1998 Michael K. Johnson - * Copyright ???? Larry Greenfield - * Copyright 1993 J. Cowley - * Copyright 1995 Martin Schulze - * Copyright 1996 Charles Blake - * Copyright 1998-2003 Albert Cahalan - * Copyright 2015 Craig Small - * Copyright 2021-2022 Jim Warner + * Copyright © 2015-2023 Craig Small + * Copyright © 2021-2023 Jim Warner + * Copyright © 1998-2003 Albert Cahalan + * Copyright © 1992-1998 Michael K. Johnson + * Copyright © 1996 Charles Blake + * Copyright © 1993 J. Cowley + * Copyright © 1995 Martin Schulze + * Copyright © ???? Larry Greenfield * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/library/include/numa.h b/library/include/numa.h index 08b98554..419eb273 100644 --- a/library/include/numa.h +++ b/library/include/numa.h @@ -1,6 +1,7 @@ /* * NUMA node support for & interfaces - * Copyright 2017-2022 by James C. Warmer + * + * Copyright © 2017-2023 Jim Warner * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/library/include/pids.h b/library/include/pids.h index 60df4133..01dc1acc 100644 --- a/library/include/pids.h +++ b/library/include/pids.h @@ -1,9 +1,9 @@ /* - * pids.h - process related declarations for libprocps + * pids.h - process related declarations for libproc2 * - * Copyright (C) 1998-2005 Albert Cahalan - * Copyright (C) 2015 Craig Small - * Copyright (C) 2015-2022 Jim Warner + * Copyright © 2015-2023 Jim Warner + * Copyright © 2015-2023 Craig Small + * Copyright © 1998-2005 Albert Cahalan * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/library/include/pwcache.h b/library/include/pwcache.h index e1bf0e8a..524a2af9 100644 --- a/library/include/pwcache.h +++ b/library/include/pwcache.h @@ -1,3 +1,29 @@ +/* + * pwcache.c - memory cache passwd file handling + * + * Copyright © 2011-2023 Jim Warner + * Copyright © 2015-2023 Craig Small + * Copyright © 2002 Albert Cahalan + * + * Older version: + * Copyright © 1992-1998 Michael K. Johnson + * Note: most likely none of his code remains + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ + #ifndef PROCPS_PROC_PWCACHE_H #define PROCPS_PROC_PWCACHE_H diff --git a/library/include/readproc.h b/library/include/readproc.h index e5fe1e77..33c630eb 100644 --- a/library/include/readproc.h +++ b/library/include/readproc.h @@ -1,15 +1,30 @@ +/* + * readproc - interface to process table + * + * Copyright © 2002-2023 Craig Small + * Copyright © 2011-2023 Jim Warner + * Copyright © 1998-2010 Albert Cahalan + * Copyright © 1998 Michael K. Johnson + * Copyright © 1996 Charles L. Blake. + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ + #ifndef PROCPS_PROC_READPROC_H #define PROCPS_PROC_READPROC_H -// New Interface to Process Table -- PROCTAB Stream (a la Directory streams) -// Copyright 1996 Charles L. Blake. -// Copyright 1998 Michael K. Johnson -// Copyright 1998-2003 Albert Cahalan -// May be distributed under the terms of the -// GNU Library General Public License, a copy of which is provided -// in the file COPYING - - #include #include #include diff --git a/library/include/slabinfo.h b/library/include/slabinfo.h index 293e8880..8bbf3505 100644 --- a/library/include/slabinfo.h +++ b/library/include/slabinfo.h @@ -1,9 +1,9 @@ /* - * slabinfo.h - slab pools related declarations for libprocps + * slabinfo.h - slab pools related declarations for libproc2 * - * Copyright (C) 1998-2005 Albert Cahalan - * Copyright (C) 2015 Craig Small - * Copyright (C) 2016-2022 Jim Warner + * Copyright © 2011-2023 Jim Warner + * Copyright © 2015-2023 Craig Small + * Copyright © 1998-2006 Albert Cahalan * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/library/include/stat.h b/library/include/stat.h index 8b0f9d72..8aa9e0e3 100644 --- a/library/include/stat.h +++ b/library/include/stat.h @@ -1,8 +1,8 @@ /* * stat.h - cpu/numa related declarations for libprocps * - * Copyright (C) 2015 Craig Small - * Copyright (C) 2015-2022 Jim Warner + * Copyright © 2015-2023 Jim Warner + * Copyright © 2015-2023 Craig Small * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/library/include/vmstat.h b/library/include/vmstat.h index b11f9f9f..43b82c52 100644 --- a/library/include/vmstat.h +++ b/library/include/vmstat.h @@ -1,11 +1,12 @@ /* - * vmstat,c - virtual memory related declarations for libprocps + * vmstat.c - virtual memory related declarations for libproc2 * - * Copyright (C) 1995 Martin Schulze - * Copyright (C) 1996 Charles Blake - * Copyright (C) 2003 Albert Cahalan - * Copyright (C) 2015 Craig Small - * Copyright (C) 2016-2022 Jim Warner + * Copyright © 2015-2023 Craig Small + * Copyright © 2016-2023 Jim Warner + * Copyright © 2011-2012 Sami Kerola + * Copyright © 2003 Albert Cahalan + * Copyright © 1996 Charles Blake + * Copyright © 1995 Martin Schulze * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/library/include/wchan.h b/library/include/wchan.h index f2a184ae..ef1d6891 100644 --- a/library/include/wchan.h +++ b/library/include/wchan.h @@ -1,3 +1,24 @@ +/* + * wchan.c - kernel symbol handling + * + * Copyright © 2015-2023 Jim Warner + * Copyright © 1998-2003 Albert Cahalan + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + */ + #ifndef PROCPS_PROC_WCHAN_H #define PROCPS_PROC_WCHAN_H diff --git a/library/include/xtra-procps-debug.h b/library/include/xtra-procps-debug.h index 070a484c..ead80754 100644 --- a/library/include/xtra-procps-debug.h +++ b/library/include/xtra-procps-debug.h @@ -1,7 +1,7 @@ /* - * libprocps - Library to read proc filesystem + * libproc2 - Library to read proc filesystem * - * Copyright (C) 2016-2022 Jim Warner + * Copyright © 2016-2023 Jim Warner * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/library/meminfo.c b/library/meminfo.c index fa3aeacc..fb2f7dca 100644 --- a/library/meminfo.c +++ b/library/meminfo.c @@ -1,8 +1,8 @@ /* - * meminfo.c - memory related definitions for libprocps + * meminfo.c - memory related definitions for libproc2 * - * Copyright (C) 2015 Craig Small - * Copyright (C) 2016-2022 Jim Warner + * Copyright © 2016-2023 Jim Warner + * Copyright © 2015-2023 Craig Small * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/library/namespace.c b/library/namespace.c index af963db1..04e4c454 100644 --- a/library/namespace.c +++ b/library/namespace.c @@ -1,5 +1,8 @@ /* - * libprocps - Library to read proc filesystem + * namespace.c - Library API for Linux namespaces + * + * Copyright © 2015-2023 Jim Warner + * Copyright © 2015-2023 Craig Small * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/library/numa.c b/library/numa.c index 80039e25..3fca4135 100644 --- a/library/numa.c +++ b/library/numa.c @@ -1,6 +1,7 @@ /* * NUMA node support for & interfaces - * Copyright 2017-2022 by James C. Warmer + * + * Copyright © 2017-2023 Jim Warner * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/library/pids.c b/library/pids.c index 1a2e8926..48c0b5eb 100644 --- a/library/pids.c +++ b/library/pids.c @@ -1,9 +1,9 @@ /* - * pids.c - process related definitions for libprocps + * pids.c - process related definitions for libproc2 * - * Copyright (C) 1998-2005 Albert Cahalan - * Copyright (C) 2015 Craig Small - * Copyright (C) 2015-2022 Jim Warner + * Copyright © 2015-2023 Jim Warner + * Copyright © 2015-2023 Craig Small + * Copyright © 1998-2005 Albert Cahalan * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/library/pwcache.c b/library/pwcache.c index 7baab1b2..f75e2073 100644 --- a/library/pwcache.c +++ b/library/pwcache.c @@ -1,10 +1,13 @@ /* * pwcache.c - memory cache passwd file handling * - * Copyright (C) 1992-1998 by Michael K. Johnson, johnsonm@redhat.com - * Note: most likely none of his code remains + * Copyright © 2011-2023 Jim Warner + * Copyright © 2015-2023 Craig Small + * Copyright © 2002 Albert Cahalan * - * Copyright 2002, Albert Cahalan + * Older version: + * Copyright © 1992-1998 Michael K. Johnson + * Note: most likely none of his code remains * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/library/readproc.c b/library/readproc.c index 4bc9d964..94030e94 100644 --- a/library/readproc.c +++ b/library/readproc.c @@ -1,8 +1,12 @@ /* - * New Interface to Process Table -- PROCTAB Stream (a la Directory streams) - * Copyright (C) 1996 Charles L. Blake. - * Copyright (C) 1998 Michael K. Johnson - * Copyright 1998-2003 Albert Cahalan + * readproc - interface to process table + * + * Copyright © 2002-2023 Craig Small + * Copyright © 2011-2023 Jim Warner + * Copyright © 1998-2010 Albert Cahalan + * Copyright © 2010-2011 Jan Görig + * Copyright © 1998 Michael K. Johnson + * Copyright © 1996 Charles L. Blake. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/library/slabinfo.c b/library/slabinfo.c index c0357a30..dfd3993a 100644 --- a/library/slabinfo.c +++ b/library/slabinfo.c @@ -1,10 +1,11 @@ /* - * slabinfo.c - slab pools related definitions for libprocps + * slabinfo.c - slab pools related definitions for libproc2 * - * Copyright (C) 2003 Chris Rivera - * Copyright (C) 2004 Albert Cahalan - * Copyright (C) 2015 Craig Small - * Copyright (C) 2016-2022 Jim Warner + * Copyright © 2011-2023 Jim Warner + * Copyright © 2015-2023 Craig Small + * Copyright © 2004-2006 Albert Cahalan + * Copyright © 2003 Chris Rivera + * Copyright © 2003 Fabian Frederick * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/library/stat.c b/library/stat.c index a8e0d465..0f882469 100644 --- a/library/stat.c +++ b/library/stat.c @@ -1,8 +1,8 @@ /* - * stat.c - cpu/numa related definitions for libprocps + * stat.c - cpu/numa related definitions for libproc2 * - * Copyright (C) 2015 Craig Small - * Copyright (C) 2015-2022 Jim Warner + * Copyright © 2015-2023 Jim Warner + * Copyright © 2015-2023 Craig Small * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/library/sysinfo.c b/library/sysinfo.c index 5d23cc5c..35a99220 100644 --- a/library/sysinfo.c +++ b/library/sysinfo.c @@ -1,8 +1,10 @@ /* * File for parsing top-level /proc entities. - * Copyright (C) 1992-1998 by Michael K. Johnson, johnsonm@redhat.com - * Copyright 1998-2003 Albert Cahalan - * June 2003, Fabian Frederick, slab info + * + * Copyright © 2011-2023 Jim Warner + * Copyright © 2011-2023 Craig Small + * Copyright © 1998-2008 Albert Cahalan + * Copyright © 1992-1998 Michael K. Johnson * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/library/uptime.c b/library/uptime.c index 88b368d1..16f1b05d 100644 --- a/library/uptime.c +++ b/library/uptime.c @@ -1,11 +1,12 @@ /* - * uptime - uptime related functions - part of procps + * uptime - uptime related functions - part of libproc2 * - * Copyright (C) 1992-1998 Michael K. Johnson - * Copyright (C) ???? Larry Greenfield - * Copyright (C) 1993 J. Cowley - * Copyright (C) 1998-2003 Albert Cahalan - * Copyright (C) 2015 Craig Small + * Copyright © 2015-2023 Craig Small + * Copyright © 2015-2023 Jim Warner + * Copyright © 1998-2003 Albert Cahalan + * Copyright © 1992-1998 Michael K. Johnson + * Copyright © 1993 J. Cowley + * Copyright © ???? Larry Greenfield * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/library/version.c b/library/version.c index e4df18bb..eab34043 100644 --- a/library/version.c +++ b/library/version.c @@ -1,10 +1,12 @@ /* - * libprocps - Library to read proc filesystem + * libproc2 - Library to read proc filesystem * - * Copyright (C) 1995 Martin Schulze - * Copyright (C) 1996 Charles Blake - * Copyright (C) 2003 Albert Cahalan - * Copyright (C) 2015 Craig Small + * Copyright © 2002-2023 Craig Small + * Copyright © 2013-2023 Jim Warner + * Copyright © 2011-2012 Sami Kerola + * Copyright © 2002-2003 Albert Cahalan + * Copyright © 1996 Charles Blake + * Copyright © 1995 Martin Schulze * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/library/vmstat.c b/library/vmstat.c index 6bf7c27f..3d676385 100644 --- a/library/vmstat.c +++ b/library/vmstat.c @@ -1,11 +1,12 @@ /* - * vmstat,c - virtual memory related definitions for libprocps + * vmstat.c - virtual memory related definitions for libproc2 * - * Copyright (C) 1995 Martin Schulze - * Copyright (C) 1996 Charles Blake - * Copyright (C) 2003 Albert Cahalan - * Copyright (C) 2015 Craig Small - * Copyright (C) 2016-2022 Jim Warner + * Copyright © 2015-2023 Craig Small + * Copyright © 2016-2023 Jim Warner + * Copyright © 2011-2012 Sami Kerola + * Copyright © 2003 Albert Cahalan + * Copyright © 1996 Charles Blake + * Copyright © 1995 Martin Schulze * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/library/wchan.c b/library/wchan.c index b67ab414..d342fef0 100644 --- a/library/wchan.c +++ b/library/wchan.c @@ -1,6 +1,8 @@ /* * wchan.c - kernel symbol handling - * Copyright 1998-2003 by Albert Cahalan + * + * Copyright © 2015-2023 Jim Warner + * Copyright © 1998-2003 Albert Cahalan * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/src/free.c b/src/free.c index 73405dd3..58799bbd 100644 --- a/src/free.c +++ b/src/free.c @@ -1,15 +1,12 @@ /* - * free.c - free(1) - * procps-ng utility to display free memory information + * free.c - display free memory information * - * Copyright (C) 1992-2012 - * - * Mostly new, Sami Kerola 15 Apr 2011 - * All new, Robert Love 18 Nov 2002 - * Original by Brian Edmonds and Rafal Maszkowski 14 Dec 1992 - * - * Copyright 2003 Robert Love - * Copyright 2004 Albert Cahalan + * Copyright © 2011-2023 Jim Warner + * Copyright © 2012-2023 Craig Small + * Copyright © 2011-2012 Sami Kerola + * Copyright © 2004 Albert Cahalan + * Copyright © 2002-2003 Robert Love + * Copyright © 1992 Brian Edmonds and Rafal Maszkowski * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License diff --git a/src/kill.c b/src/kill.c index 8c85970c..612a9b5d 100644 --- a/src/kill.c +++ b/src/kill.c @@ -1,6 +1,8 @@ /* * kill.c - send a signal to process - * Copyright 1998-2002 by Albert Cahalan + * + * Copyright © 1995-2023 Craig Small + * Copyright © 1998-2002 Albert Cahalan * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/src/pgrep.c b/src/pgrep.c index 6679a8c6..94607a3f 100644 --- a/src/pgrep.c +++ b/src/pgrep.c @@ -1,9 +1,13 @@ /* * pgrep/pkill -- utilities to filter the process table * - * Copyright 2000 Kjetil Torgrim Homme - * Changes by Albert Cahalan, 2002,2006. - * Changes by Roberto Polli , 2012. + * Copyright © 2009-2023 Craig Small + * Copyright © 2013-2023 Jim Warner + * Copyright © 2011-2012 Sami Kerola + * Copyright © 2012 Roberto Polli + * Copyright © 2002-2007 Albert Cahalan + * Copyright © 2000 Kjetil Torgrim Homme + * * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License diff --git a/src/pidof.c b/src/pidof.c index cbb95e71..e6c2a7b0 100644 --- a/src/pidof.c +++ b/src/pidof.c @@ -1,7 +1,10 @@ /* * pidof.c - Utility for listing pids of running processes * - * Copyright (C) 2013 Jaromir Capik + * Copyright © 2013-2023 Craig Small + * Copyright © 2016-2023 Jim Warner + * Copyright © 2015-2020 Jan Rybar + * Copyright © 2013 Jaromir Capik * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License diff --git a/src/pmap.c b/src/pmap.c index 7ea9414a..658b2501 100644 --- a/src/pmap.c +++ b/src/pmap.c @@ -1,6 +1,10 @@ /* * pmap.c - print process memory mapping - * Copyright 2002 Albert Cahalan + * + * Copyright © 2010-2023 Craig Small + * Copyright © 2011-2023 Jim Warner + * Copyright © 2011-2012 Sami Kerola + * Copyright © 2002-2009 Albert Cahalan * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/src/pwdx.c b/src/pwdx.c index 03ca1872..90ead802 100644 --- a/src/pwdx.c +++ b/src/pwdx.c @@ -1,6 +1,10 @@ /* * pwdx.c - print process working directory - * Copyright 2004 Nicholas Miell + * + * Copyright © 2015-2023 Craig Small + * Copyright © 2011-2012 Sami Kerola + * Copyright © 2004-2006 Albert Cahalan + * Copyright © 2004 Nicholas Miell * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/src/skill.c b/src/skill.c index c2e52744..055f7eea 100644 --- a/src/skill.c +++ b/src/skill.c @@ -1,6 +1,10 @@ /* * skill.c - send a signal to process - * Copyright 1998-2002 by Albert Cahalan + * + * Copyright © 2009-2023 Craig Small + * Copyright © 2011-2023 Jim Warner + * Copyright © 2011-2012 Sami Kerola + * Copyright © 1998-2002 Albert Cahalan * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/src/slabtop.c b/src/slabtop.c index 5a89e07d..71443481 100644 --- a/src/slabtop.c +++ b/src/slabtop.c @@ -1,10 +1,12 @@ /* * slabtop.c - utility to display kernel slab information. * - * Chris Rivera - * Robert Love - * - * Copyright (C) 2003 Chris Rivera + * Copyright © 2009-2023 Craig Small + * Copyright © 2011-2023 Jim Warner + * Copyright © 2011-2012 Sami Kerola + * Copyright © 2002-2004 Albert Cahalan + * Copyright © 2003 Chris Rivera + * Copyright © 2003 Robert Love * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/src/sysctl.c b/src/sysctl.c index c711692f..d7500912 100644 --- a/src/sysctl.c +++ b/src/sysctl.c @@ -1,7 +1,13 @@ /* - * Sysctl 1.01 - A utility to read and manipulate the sysctl parameters + * Sysctl - A utility to read and manipulate the sysctl parameters * - * "Copyright 1999 George Staikos + * Copyright © 2009-2023 Craig Small + * Copyright © 2012-2023 Jim Warner + * Copyright © 2017-2018 Werner Fink + * Copyright © 2014 Jaromir Capik + * Copyright © 2011-2012 Sami Kerola + * Copyright © 2002-2007 Albert Cahalan + * Copyright © 1999 George Staikos * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -24,7 +30,6 @@ * Horms: * - added -q to be quiet when modifying values * - * Changes by Albert Cahalan, 2002. */ #include diff --git a/src/tload.c b/src/tload.c index 5b38bafa..9c19d9c6 100644 --- a/src/tload.c +++ b/src/tload.c @@ -1,11 +1,11 @@ /* * tload.c - terminal version of xload * - * Options: - * -s initial scaling exponent (default = 6) - * -d delay + * Copyright © 2009-2023 Craig Small + * Copyright © 2011-2023 Jim Warner + * Copyright © 2011-2012 Sami Kerola + * Copyright © 1992 Branko Lankester * - * Copyright (c) 1992 Branko Lankester * /proc changes by David Engel (david@ods.com) * Made a little more efficient by Michael K. Johnson (johnsonm@sunsite.unc.edu) * diff --git a/src/uptime.c b/src/uptime.c index 19c46560..6d6e739d 100644 --- a/src/uptime.c +++ b/src/uptime.c @@ -1,6 +1,10 @@ /* * uptime.c - display system uptime - * Copyright (C) 2012-2015 Craig Small + * + * Copyright © 2002-2023 Craig Small + * Copyright © 2020-2023 Jim Warner + * Copyright © 2011-2012 Sami Kerola + * * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/src/vmstat.c b/src/vmstat.c index eed130c4..c0cef95e 100644 --- a/src/vmstat.c +++ b/src/vmstat.c @@ -1,17 +1,13 @@ /* - * old: "Copyright 1994 by Henry Ware . Copyleft same year." - * most code copyright 2002 Albert Cahalan + * vmstat - report memory statistics * - * 27/05/2003 (Fabian Frederick) : Add unit conversion + interface - * Export proc/stat access to libproc - * Adapt vmstat helpfile - * 31/05/2003 (Fabian) : Add diskstat support (/libproc) - * June 2003 (Fabian) : -S -s & -s -S patch - * June 2003 (Fabian) : Adding diskstat against 3.1.9, slabinfo - * patching 'header' in disk & slab - * July 2003 (Fabian) : Adding disk partition output - * Adding disk table - * Syncing help / usage + * Copyright © 2011-2023 Craig Small + * Copyright © 2012-2023 Jim Warner + * Copyright © 2011-2012 Sami Kerola + * Copyright © 2010 Jan Görig + * Copyright © 2003 Fabian Frederick + * Copyright © 1998-2002 Albert Cahalan + * Copyright © 1994 Henry Ware * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/src/w.c b/src/w.c index 2ce2a2e4..5e878f04 100644 --- a/src/w.c +++ b/src/w.c @@ -1,12 +1,15 @@ /* * w - show what logged in users are doing. * - * Almost entirely rewritten from scratch by Charles Blake circa - * June 1996. Some vestigal traces of the original may exist. - * That was done in 1993 by Larry Greenfield with some fixes by - * Michael K. Johnson. + * Copyright © 2009-2023 Craig Small + * Copyright © 2011-2023 Jim Warner + * Copyright © 2011-2012 Sami Kerola + * Copyright © 2002-2006 Albert Cahalan + * Copyright © 1996 Charles Blake * - * Changes by Albert Cahalan, 2002. + * Rewritten, older version: + * Copyright © 1993 Larry Greenfield + * with some fixes by Michael K. Johnson. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public diff --git a/src/watch.c b/src/watch.c index f9a152d8..cb2e299e 100644 --- a/src/watch.c +++ b/src/watch.c @@ -1,14 +1,15 @@ /* - * watch -- execute a program repeatedly, displaying output fullscreen + * watch - execute a program repeatedly, displaying output fullscreen + * + * Copyright © 2010-2023 Jim Warner + * Copyright © 2015-2023 Craig Small + * Copyright © 2011-2012 Sami Kerola + * Copyright © 2002-2007 Albert Cahalan + * Copyright © 1999 Mike Coleman . * * Based on the original 1991 'watch' by Tony Rems * (with mods and corrections by Francois Pinard). * - * Substantially reworked, new features (differences option, SIGWINCH - * handling, unlimited command length, long line handling) added Apr - * 1999 by Mike Coleman . - * - * Changes by Albert Cahalan, 2002-2003. * stderr handling, exec, and beep option added by Morty Abzug, 2008 * Unicode Support added by Jarrod Lowe in 2009. *