site_graphlogo
  -   Terms of Use and Privacy
GNU/Linux® Reference OS
rss
site_graphlogo
  -   Terms of Use and Privacy
GNU/Linux® Reference OS
rss

<<   <   >   >>

GNU/Linux® Reference OS | procinfo

SourceMD5
procinfo-18.2.2.tar.gz 699cc0ca854dc54f8761da31799474a0

Run these commands to compile and install:

cd /sources/
rm -rf procinfo-18.2.2
tar -xzf procinfo-18.2.2.tar.gz
cd procinfo-18.2.2
sed -i "s@(prefix)/man@(prefix)/share/man@g" Makefile
make LDLIBS=-lncurses
make install

You should see something like this as output:

gcc -Wall -Wstrict-prototypes    -c -o procinfo.o procinfo.c
procinfo.c:19:14: warning: 'rcsid' defined but not used [-Wunused-variable]
   19 | static char *rcsid = "$Id: procinfo.c,v 1.56 2001/02/25 11:29:13 svm Exp svm $";
      |              ^~~~~
gcc -Wall -Wstrict-prototypes    -c -o routines.o routines.c
routines.c: In function 'make_version':
routines.c:313:32: warning: '%s' directive writing up to 1023 bytes into a region of size between 953 and 1016 [-Wformat-overflow=]
  313 |     sprintf (wheee, "Linux %s (%s) (gcc %s) #%s %s %s [%s]",
      |                                ^~
  314 |       ver, host, gcc, compno, date, cpus, myname);
      |            ~~~~                 
routines.c:313:5: note: 'sprintf' output between 24 and 3298 bytes into a destination of size 1024
  313 |     sprintf (wheee, "Linux %s (%s) (gcc %s) #%s %s %s [%s]",
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  314 |       ver, host, gcc, compno, date, cpus, myname);
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
routines.c:323:29: warning: '%s' directive writing up to 1023 bytes into a region of size between 953 and 1016 [-Wformat-overflow=]
  323 |  sprintf (wheee, "Linux %s (%s) (gcc %s) #%s %s %s [%s]",
      |                             ^~
  324 |    ver, host, gcc, compno, date, cpus, myname);
      |         ~~~~                 
routines.c:323:2: note: 'sprintf' output between 24 and 3298 bytes into a destination of size 1024
  323 |  sprintf (wheee, "Linux %s (%s) (gcc %s) #%s %s %s [%s]",
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  324 |    ver, host, gcc, compno, date, cpus, myname);
      |    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
routines.c:334:29: warning: '%s' directive writing up to 1023 bytes into a region of size between 953 and 1016 [-Wformat-overflow=]
  334 |  sprintf (wheee, "Linux %s (%s) (gcc %s) #%s %s %s [%s]",
      |                             ^~
  335 |    ver, host, gcc, compno, date, cpus, myname);
      |         ~~~~                 
routines.c:334:2: note: 'sprintf' output between 24 and 3298 bytes into a destination of size 1024
  334 |  sprintf (wheee, "Linux %s (%s) (gcc %s) #%s %s %s [%s]",
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  335 |    ver, host, gcc, compno, date, cpus, myname);
      |    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
routines.c:346:29: warning: '%s' directive writing up to 1023 bytes into a region of size between 953 and 1016 [-Wformat-overflow=]
  346 |  sprintf (wheee, "Linux %s (%s) (gcc %s) #%s %s [%s]",
      |                             ^~
  347 |    ver, host, gcc, compno, cpus, myname);
.
.
.
  347 |    ver, host, gcc, compno, cpus, myname);
      |         ~~~~                 
routines.c:346:2: note: 'sprintf' output between 23 and 2274 bytes into a destination of size 1024
  346 |  sprintf (wheee, "Linux %s (%s) (gcc %s) #%s %s [%s]",
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  347 |    ver, host, gcc, compno, cpus, myname);
      |    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
routines.c:356:29: warning: '%s' directive writing up to 1023 bytes into a region of size between 953 and 1016 [-Wformat-overflow=]
  356 |  sprintf (wheee, "Linux %s (%s) (gcc %s) #%s %s [%s]",
      |                             ^~
  357 |    ver, host, gcc, compno, cpus, myname);
      |         ~~~~                 
routines.c:356:2: note: 'sprintf' output between 23 and 2274 bytes into a destination of size 1024
  356 |  sprintf (wheee, "Linux %s (%s) (gcc %s) #%s %s [%s]",
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  357 |    ver, host, gcc, compno, cpus, myname);
      |    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
routines.c:367:29: warning: '%s' directive writing up to 1023 bytes into a region of size between 953 and 1016 [-Wformat-overflow=]
  367 |  sprintf (wheee, "Linux %s (%s) (gcc %s) #%s %s [%s]",
      |                             ^~
  368 |    ver, host, gcc, compno, cpus, myname);
      |         ~~~~                 
routines.c:367:2: note: 'sprintf' output between 23 and 2274 bytes into a destination of size 1024
  367 |  sprintf (wheee, "Linux %s (%s) (gcc %s) #%s %s [%s]",
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  368 |    ver, host, gcc, compno, cpus, myname);
      |    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
At top level:
routines.c:19:14: warning: 'rcsid' defined but not used [-Wunused-variable]
   19 | static char *rcsid = "$Id: routines.c,v 1.24 2001/02/24 23:30:35 svm Exp svm $";
      |              ^~~~~
gcc -Wall -Wstrict-prototypes -s  procinfo.o routines.o  -lncurses -o procinfo
mkdir -p /usr/bin
install -m 755 procinfo /usr/bin/procinfo
install -m 755 lsdev.pl /usr/bin/lsdev
install -m 755 socklist.pl /usr/bin/socklist
mkdir -p /usr/share/man
install -m 644  procinfo.8 /usr/share/man/man8/procinfo.8
install -m 644  lsdev.8 /usr/share/man/man8/lsdev.8
install -m 644  socklist.8 /usr/share/man/man8/socklist.8

full raw output

procinfo

Articles tagged with procinfo on Luv Counter XYZ:

2020-10-01: The Procinfo Dude and Random Thoughts

Much of the knowledge of this site came from the Linux From Scratch project and the contributors. I salute you. You rock. Linux is an operating system kernel that is a registered trademark of Linus Torvalds. GNU is an operating system started by Richard Stallman with a goal of freedom for computer users. Jean-Michel Jarre and Moby have accompanied me on my head phones through much of L1G3R. I've been listening to Jarre since Equinoxe. Jarre's goal is to create "anti-pattern electronic music", music that, even when repetitive, "is still in constant evolution". Moby has also had quite a bit of play on my headphones during L1G3R. His goal is "simply trying to make music that I love". I agree with Moby. I've loved everything there was here. Thank you, mountain, for the click of life. My goal is to fix chinks in the web, but I'll never know if I do; it is simply an honor to be able to climb.