summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCraig Small <csmall@dropbear.xyz>2023-02-07 21:09:48 +1100
committerCraig Small <csmall@dropbear.xyz>2023-02-07 21:09:48 +1100
commit8fcfb01a819f9b29418db34971d6813be4cb66bd (patch)
tree7f563278b3d423effaef6f3af4ec76df9c003e53
parent5ee3dc2626fead68ef9946ae0d24a341ad13a457 (diff)
downloadprocps-ng-8fcfb01a819f9b29418db34971d6813be4cb66bd.tar.gz
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 <csmall@dropbear.xyz>
-rw-r--r--library/devname.c5
-rw-r--r--library/diskstats.c10
-rw-r--r--library/escape.c6
-rw-r--r--library/include/diskstats.h10
-rw-r--r--library/include/escape.h6
-rw-r--r--library/include/meminfo.h4
-rw-r--r--library/include/misc.h18
-rw-r--r--library/include/numa.h3
-rw-r--r--library/include/pids.h8
-rw-r--r--library/include/pwcache.h26
-rw-r--r--library/include/readproc.h33
-rw-r--r--library/include/slabinfo.h8
-rw-r--r--library/include/stat.h4
-rw-r--r--library/include/vmstat.h13
-rw-r--r--library/include/wchan.h21
-rw-r--r--library/include/xtra-procps-debug.h4
-rw-r--r--library/meminfo.c6
-rw-r--r--library/namespace.c5
-rw-r--r--library/numa.c3
-rw-r--r--library/pids.c8
-rw-r--r--library/pwcache.c9
-rw-r--r--library/readproc.c12
-rw-r--r--library/slabinfo.c11
-rw-r--r--library/stat.c6
-rw-r--r--library/sysinfo.c8
-rw-r--r--library/uptime.c13
-rw-r--r--library/version.c12
-rw-r--r--library/vmstat.c13
-rw-r--r--library/wchan.c4
-rw-r--r--src/free.c17
-rw-r--r--src/kill.c4
-rw-r--r--src/pgrep.c10
-rw-r--r--src/pidof.c5
-rw-r--r--src/pmap.c6
-rw-r--r--src/pwdx.c6
-rw-r--r--src/skill.c6
-rw-r--r--src/slabtop.c10
-rw-r--r--src/sysctl.c11
-rw-r--r--src/tload.c8
-rw-r--r--src/uptime.c6
-rw-r--r--src/vmstat.c20
-rw-r--r--src/w.c13
-rw-r--r--src/watch.c13
43 files changed, 272 insertions, 152 deletions
diff --git a/library/devname.c b/library/devname.c
index 1cc6bc7..6a23653 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 <james.warner@comcast.net>
+ * Copyright © 2017-2023 Craig Small <csmall@dropbear.xyz>
+ * 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 5496903..b4e41f3 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 <csmall@dropbear.xyz>
- * Copyright (C) 2016-2022 Jim Warner <james.warner@comcast.net>
+ * Copyright © 2015-2023 Craig Small <csmall@dropbear.xyz>
+ * Copyright © 2015-2023 Jim Warner <james.warner@comcast.net>
+ * 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 cab6286..16a2619 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 <james.warner@comcast.net>
+ *
+ * Copyright © 2011-2023 Jim Warner <james.warner@comcast.net>
+ * Copyright © 2016-2023 Craig Small <csmall@dropbear.xyz>
+ * 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 94ac470..04785df 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 <csmall@dropbear.xyz>
- * Copyright (C) 2016-2022 Jim Warner <james.warner@comcast.net>
+ * Copyright © 2015-2023 Craig Small <csmall@dropbear.xyz>
+ * Copyright © 2015-2023 Jim Warner <james.warner@comcast.net>
+ * 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 70dd81c..1f0b0f9 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 <james.warner@comcast.net>
+ *
+ * Copyright © 2011-2023 Jim Warner <james.warner@comcast.net>
+ * Copyright © 2016-2023 Craig Small <csmall@dropbear.xyz>
+ * 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 1913abd..3402944 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 <csmall@dropbear.xyz>
- * Copyright (C) 2016-2022 Jim Warner <james.warner@comcast.net>
+ * Copyright © 2016-2023 Jim Warner <james.warner@comcast.net>
+ * Copyright © 2015-2023 Craig Small <csmall@dropbear.xyz>
*
* 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 078aba5..c913571 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 <johnsonm@redhat.com>
- * Copyright ???? Larry Greenfield <greenfie@gauss.rutgers.edu>
- * Copyright 1993 J. Cowley
- * Copyright 1995 Martin Schulze <joey@infodrom.north.de>
- * Copyright 1996 Charles Blake <cblake@bbn.com>
- * Copyright 1998-2003 Albert Cahalan
- * Copyright 2015 Craig Small <csmall@dropbear.xyz>
- * Copyright 2021-2022 Jim Warner <james.warner@comcast.net>
+ * Copyright © 2015-2023 Craig Small <csmall@dropbear.xyz>
+ * Copyright © 2021-2023 Jim Warner <james.warner@comcast.net>
+ * Copyright © 1998-2003 Albert Cahalan
+ * Copyright © 1992-1998 Michael K. Johnson <johnsonm@redhat.com>
+ * Copyright © 1996 Charles Blake <cblake@bbn.com>
+ * Copyright © 1993 J. Cowley
+ * Copyright © 1995 Martin Schulze <joey@infodrom.north.de>
+ * Copyright © ???? Larry Greenfield <greenfie@gauss.rutgers.edu>
*
* 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 08b9855..419eb27 100644
--- a/library/include/numa.h
+++ b/library/include/numa.h
@@ -1,6 +1,7 @@
/*
* NUMA node support for <PIDS> & <STAT> interfaces
- * Copyright 2017-2022 by James C. Warmer
+ *
+ * Copyright © 2017-2023 Jim Warner <james.warner@comcast.net>
*
* 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 60df413..01dc1ac 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 <csmall@dropbear.xyz>
- * Copyright (C) 2015-2022 Jim Warner <james.warner@comcast.net>
+ * Copyright © 2015-2023 Jim Warner <james.warner@comcast.net>
+ * Copyright © 2015-2023 Craig Small <csmall@dropbear.xyz>
+ * 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 e1bf0e8..524a2af 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 <james.warner@comcast.net>
+ * Copyright © 2015-2023 Craig Small <csmall@dropbear.xyz>
+ * Copyright © 2002 Albert Cahalan
+ *
+ * Older version:
+ * Copyright © 1992-1998 Michael K. Johnson <johnsonm@redhat.com>
+ * 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 e5fe1e7..33c630e 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 <csmall@dropbear.xyz>
+ * Copyright © 2011-2023 Jim Warner <james.warner@comcast.net>
+ * 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 <sys/types.h>
#include <dirent.h>
#include <unistd.h>
diff --git a/library/include/slabinfo.h b/library/include/slabinfo.h
index 293e888..8bbf350 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 <csmall@dropbear.xyz>
- * Copyright (C) 2016-2022 Jim Warner <james.warner@comcast.net>
+ * Copyright © 2011-2023 Jim Warner <james.warner@comcast.net>
+ * Copyright © 2015-2023 Craig Small <csmall@dropbear.xyz>
+ * 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 8b0f9d7..8aa9e0e 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 <csmall@dropbear.xyz>
- * Copyright (C) 2015-2022 Jim Warner <james.warner@comcast.net>
+ * Copyright © 2015-2023 Jim Warner <james.warner@comcast.net>
+ * Copyright © 2015-2023 Craig Small <csmall@dropbear.xyz>
*
* 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 b11f9f9..43b82c5 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 <joey@infodrom.north.de>
- * Copyright (C) 1996 Charles Blake <cblake@bbn.com>
- * Copyright (C) 2003 Albert Cahalan
- * Copyright (C) 2015 Craig Small <csmall@dropbear.xyz>
- * Copyright (C) 2016-2022 Jim Warner <james.warner@comcast.net>
+ * Copyright © 2015-2023 Craig Small <csmall@dropbear.xyz>
+ * Copyright © 2016-2023 Jim Warner <james.warner@comcast.net>
+ * Copyright © 2011-2012 Sami Kerola <kerolasa@iki.fi>
+ * Copyright © 2003 Albert Cahalan
+ * Copyright © 1996 Charles Blake <cblake@bbn.com>
+ * Copyright © 1995 Martin Schulze <joey@infodrom.north.de>
*
* 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 f2a184a..ef1d689 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 <james.warner@comcast.net>
+ * 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 070a484..ead8075 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 <james.warner@comcast.net>
+ * Copyright © 2016-2023 Jim Warner <james.warner@comcast.net>
*
* 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 fa3aeac..fb2f7dc 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 <csmall@dropbear.xyz>
- * Copyright (C) 2016-2022 Jim Warner <james.warner@comcast.net>
+ * Copyright © 2016-2023 Jim Warner <james.warner@comcast.net>
+ * Copyright © 2015-2023 Craig Small <csmall@dropbear.xyz>
*
* 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 af963db..04e4c45 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 <james.warner@comcast.net>
+ * Copyright © 2015-2023 Craig Small <csmall@dropbear.xyz>
*
* 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 80039e2..3fca413 100644
--- a/library/numa.c
+++ b/library/numa.c
@@ -1,6 +1,7 @@
/*
* NUMA node support for <PIDS> & <STAT> interfaces
- * Copyright 2017-2022 by James C. Warmer
+ *
+ * Copyright © 2017-2023 Jim Warner <james.warner@comcast.net>
*
* 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 1a2e892..48c0b5e 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 <csmall@dropbear.xyz>
- * Copyright (C) 2015-2022 Jim Warner <james.warner@comcast.net>
+ * Copyright © 2015-2023 Jim Warner <james.warner@comcast.net>
+ * Copyright © 2015-2023 Craig Small <csmall@dropbear.xyz>
+ * 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 7baab1b..f75e207 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 <james.warner@comcast.net>
+ * Copyright © 2015-2023 Craig Small <csmall@dropbear.xyz>
+ * Copyright © 2002 Albert Cahalan
*
- * Copyright 2002, Albert Cahalan
+ * Older version:
+ * Copyright © 1992-1998 Michael K. Johnson <johnsonm@redhat.com>
+ * 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 4bc9d96..94030e9 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 <csmall@dropbear.xyz>
+ * Copyright © 2011-2023 Jim Warner <james.warner@comcast.net>
+ * Copyright © 1998-2010 Albert Cahalan
+ * Copyright © 2010-2011 Jan Görig <jgorig@redhat.com>
+ * 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 c0357a3..dfd3993 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 <csmall@dropbear.xyz>
- * Copyright (C) 2016-2022 Jim Warner <james.warner@comcast.net>
+ * Copyright © 2011-2023 Jim Warner <james.warner@comcast.net>
+ * Copyright © 2015-2023 Craig Small <csmall@dropbear.xyz>
+ * 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 a8e0d46..0f88246 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 <csmall@dropbear.xyz>
- * Copyright (C) 2015-2022 Jim Warner <james.warner@comcast.net>
+ * Copyright © 2015-2023 Jim Warner <james.warner@comcast.net>
+ * Copyright © 2015-2023 Craig Small <csmall@dropbear.xyz>
*
* 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 5d23cc5..35a9922 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 <james.warner@comcast.net>
+ * Copyright © 2011-2023 Craig Small <csmall@dropbear.xyz>
+ * Copyright © 1998-2008 Albert Cahalan
+ * Copyright © 1992-1998 Michael K. Johnson <johnsonm@redhat.com>
*
* 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 88b368d..16f1b05 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 <johnsonm@redhat.com>
- * Copyright (C) ???? Larry Greenfield <greenfie@gauss.rutgers.edu>
- * Copyright (C) 1993 J. Cowley
- * Copyright (C) 1998-2003 Albert Cahalan
- * Copyright (C) 2015 Craig Small <csmall@dropbear.xyz>
+ * Copyright © 2015-2023 Craig Small <csmall@dropbear.xyz>
+ * Copyright © 2015-2023 Jim Warner <james.warner@comcast.net>
+ * Copyright © 1998-2003 Albert Cahalan
+ * Copyright © 1992-1998 Michael K. Johnson <johnsonm@redhat.com>
+ * Copyright © 1993 J. Cowley
+ * Copyright © ???? Larry Greenfield <greenfie@gauss.rutgers.edu>
*
* 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 e4df18b..eab3404 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 <joey@infodrom.north.de>
- * Copyright (C) 1996 Charles Blake <cblake@bbn.com>
- * Copyright (C) 2003 Albert Cahalan
- * Copyright (C) 2015 Craig Small <csmall@dropbear.xyz>
+ * Copyright © 2002-2023 Craig Small <csmall@dropbear.xyz>
+ * Copyright © 2013-2023 Jim Warner <james.warner@comcast.net>
+ * Copyright © 2011-2012 Sami Kerola <kerolasa@iki.fi>
+ * Copyright © 2002-2003 Albert Cahalan
+ * Copyright © 1996 Charles Blake <cblake@bbn.com>
+ * Copyright © 1995 Martin Schulze <joey@infodrom.north.de>
*
* 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 6bf7c27..3d67638 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 <joey@infodrom.north.de>
- * Copyright (C) 1996 Charles Blake <cblake@bbn.com>
- * Copyright (C) 2003 Albert Cahalan
- * Copyright (C) 2015 Craig Small <csmall@dropbear.xyz>
- * Copyright (C) 2016-2022 Jim Warner <james.warner@comcast.net>
+ * Copyright © 2015-2023 Craig Small <csmall@dropbear.xyz>
+ * Copyright © 2016-2023 Jim Warner <james.warner@comcast.net>
+ * Copyright © 2011-2012 Sami Kerola <kerolasa@iki.fi>
+ * Copyright © 2003 Albert Cahalan
+ * Copyright © 1996 Charles Blake <cblake@bbn.com>
+ * Copyright © 1995 Martin Schulze <joey@infodrom.north.de>
*
* 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 b67ab41..d342fef 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 <james.warner@comcast.net>
+ * 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 73405dd..58799bb 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 <kerolasa@iki.fi> 15 Apr 2011
- * All new, Robert Love <rml@tech9.net> 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 <james.warner@comcast.net>
+ * Copyright © 2012-2023 Craig Small <csmall@dropbear.xyz>
+ * Copyright © 2011-2012 Sami Kerola <kerolasa@iki.fi>
+ * Copyright © 2004 Albert Cahalan
+ * Copyright © 2002-2003 Robert Love <rml@tech9.net>
+ * 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 8c85970..612a9b5 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 <csmall@dropbear.xyz>
+ * 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 6679a8c..94607a3 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 <kjetilho@ifi.uio.no>
- * Changes by Albert Cahalan, 2002,2006.
- * Changes by Roberto Polli <rpolli@babel.it>, 2012.
+ * Copyright © 2009-2023 Craig Small <csmall@dropbear.xyz>
+ * Copyright © 2013-2023 Jim Warner <james.warner@comcast.net>
+ * Copyright © 2011-2012 Sami Kerola <kerolasa@iki.fi>
+ * Copyright © 2012 Roberto Polli <rpolli@babel.it>
+ * Copyright © 2002-2007 Albert Cahalan
+ * Copyright © 2000 Kjetil Torgrim Homme <kjetilho@ifi.uio.no>
+ *
*
* 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 cbb95e7..e6c2a7b 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 <jcapik@redhat.com>
+ * Copyright © 2013-2023 Craig Small <csmall@dropbear.xyz>
+ * Copyright © 2016-2023 Jim Warner <james.warner@comcast.net>
+ * Copyright © 2015-2020 Jan Rybar <jrybar@redhat.com>
+ * Copyright © 2013 Jaromir Capik <jcapik@redhat.com>
*
* 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 7ea9414..658b250 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 <csmall@dropbear.xyz>
+ * Copyright © 2011-2023 Jim Warner <james.warner@comcast.net>
+ * Copyright © 2011-2012 Sami Kerola <kerolasa@iki.fi>
+ * 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 03ca187..90ead80 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 <csmall@dropbear.xyz>
+ * Copyright © 2011-2012 Sami Kerola <kerolasa@iki.fi>
+ * 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 c2e5274..055f7ee 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 <csmall@dropbear.xyz>
+ * Copyright © 2011-2023 Jim Warner <james.warner@comcast.net>
+ * Copyright © 2011-2012 Sami Kerola <kerolasa@iki.fi>
+ * 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 5a89e07..7144348 100644
--- a/src/slabtop.c
+++ b/src/slabtop.c
@@ -1,10 +1,12 @@
/*
* slabtop.c - utility to display kernel slab information.
*
- * Chris Rivera <cmrivera@ufl.edu>
- * Robert Love <rml@tech9.net>
- *
- * Copyright (C) 2003 Chris Rivera
+ * Copyright © 2009-2023 Craig Small <csmall@dropbear.xyz>
+ * Copyright © 2011-2023 Jim Warner <james.warner@comcast.net>
+ * Copyright © 2011-2012 Sami Kerola <kerolasa@iki.fi>
+ * Copyright © 2002-2004 Albert Cahalan
+ * Copyright © 2003 Chris Rivera <cmrivera@ufl.edu>
+ * Copyright © 2003 Robert Love <rml@tech9.net>
*
* 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 c711692..d750091 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 <csmall@dropbear.xyz>
+ * Copyright © 2012-2023 Jim Warner <james.warner@comcast.net>
+ * Copyright © 2017-2018 Werner Fink <werner@suse.de>
+ * Copyright © 2014 Jaromir Capik <jcapik@redhat.com>
+ * Copyright © 2011-2012 Sami Kerola <kerolasa@iki.fi>
+ * 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 <dirent.h>
diff --git a/src/tload.c b/src/tload.c
index 5b38baf..9c19d9c 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 <csmall@dropbear.xyz>
+ * Copyright © 2011-2023 Jim Warner <james.warner@comcast.net>
+ * Copyright © 2011-2012 Sami Kerola <kerolasa@iki.fi>
+ * 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 19c4656..6d6e739 100644
--- a/src/uptime.c
+++ b/src/uptime.c
@@ -1,6 +1,10 @@
/*
* uptime.c - display system uptime
- * Copyright (C) 2012-2015 Craig Small <csmall@dropbear.xyz>
+ *
+ * Copyright © 2002-2023 Craig Small <csmall@dropbear.xyz>
+ * Copyright © 2020-2023 Jim Warner <james.warner@comcast.net>
+ * Copyright © 2011-2012 Sami Kerola <kerolasa@iki.fi>
+ *
*
* 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 eed130c..c0cef95 100644
--- a/src/vmstat.c
+++ b/src/vmstat.c
@@ -1,17 +1,13 @@
/*
- * old: "Copyright 1994 by Henry Ware <al172@yfn.ysu.edu>. 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 <x> -s & -s -S <x> 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 <csmall@dropbear.xyz>
+ * Copyright © 2012-2023 Jim Warner <james.warner@comcast.net>
+ * Copyright © 2011-2012 Sami Kerola <kerolasa@iki.fi>
+ * Copyright © 2010 Jan Görig <jgorig@redhat.com>
+ * Copyright © 2003 Fabian Frederick
+ * Copyright © 1998-2002 Albert Cahalan
+ * Copyright © 1994 Henry Ware <al172@yfn.ysu.edu>
*
* 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 2ce2a2e..5e878f0 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 <csmall@dropbear.xyz>
+ * Copyright © 2011-2023 Jim Warner <james.warner@comcast.net>
+ * Copyright © 2011-2012 Sami Kerola <kerolasa@iki.fi>
+ * 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 f9a152d..cb2e299 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 <james.warner@comcast.net>
+ * Copyright © 2015-2023 Craig Small <csmall@dropbear.xyz>
+ * Copyright © 2011-2012 Sami Kerola <kerolasa@iki.fi>
+ * Copyright © 2002-2007 Albert Cahalan
+ * Copyright © 1999 Mike Coleman <mkc@acm.org>.
*
* Based on the original 1991 'watch' by Tony Rems <rembo@unisoft.com>
* (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 <mkc@acm.org>.
- *
- * Changes by Albert Cahalan, 2002-2003.
* stderr handling, exec, and beep option added by Morty Abzug, 2008
* Unicode Support added by Jarrod Lowe <procps@rrod.net> in 2009.
*