Linux HOWTOs

About | Home | Search


HOWTO: procinfo
Description: Display system status gathered from /proc
Click here for ChangeLog
NOTE: I use GNU tar >= 1.13.25 so it's -j for .tar.bz2 files,
it's safe to assume that make, gcc, binutils, fileutils/coreutils, gawk, sed, and grep are prerequisites for almost everything


# procinfo 18
# ===========
# Slack bundles procps, psmisc, and procinfo together in the procps
# package.  If you're replacing it with the source versions of each one,
# run through each howto in that order.

# Slackware 12.1, 12.2, 13.0, 13.1: procps 3.2.7 (includes procinfo 18)
# Slackware 13.37: procps 3.2.8 (includes procinfo 18)

# Prerequisites:
# termcap

cd
test -f installed/procinfo-18.tar.gz && mv installed/procinfo-18.tar.gz .
test ! -f procinfo-18.tar.gz &&
 wget http://ibiblio.org/pub/Linux/system/status/ps/procinfo-18.tar.gz
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "procinfo-*" -exec rm -r {} \;
tar xzvf ~/procinfo-18.tar.gz
cd procinfo-18
test $UID = 0 && chown -R root:root .
make
su -c "make install"
cd
mkdir -p -m 0700 installed
rm -f installed/procinfo-*.tar.*
mv procinfo-18.tar.gz installed/


# If you ever want to uninstall procinfo:
su -c "rm -f /usr/bin/procinfo /usr/bin/lsdev /usr/bin/socklist \
 /usr/man/man8/procinfo.8 /usr/man/man8/lsdev.8 /usr/man/man8/socklist.8"
find ~/src -maxdepth 1 -type d -name "procinfo-*" -exec rm -r {} \;
rm -f ~/installed/procinfo-*.tar.*

Back to the list


Last updated: Tue, 07 Aug 2018 12:06:17 -0400
Jason Englander <jason at englanders dot us>