Whowatch

Install Guide


[root@netggio src]# wget http://wizard.ae.krakow.pl/~mike/download/whowatch-1.4.tar.gz
–17:28:54–  http://wizard.ae.krakow.pl/~mike/download/whowatch-1.4.tar.gz
           => `whowatch-1.4.tar.gz’
Resolving wizard.ae.krakow.pl… 149.156.208.41
Connecting to wizard.ae.krakow.pl|149.156.208.41|:80… connected.
HTTP request sent, awaiting response… 200 OK
Length: 43,084 (42K) [application/x-gzip]


100%[================================>] 43,084        42.88K/s            


17:28:56 (42.85 KB/s) – `whowatch-1.4.tar.gz’ saved [43084/43084]


[root@netggio src]# tar xzvf whowatch-1.4.tar.gz
whowatch-1.4/
whowatch-1.4/AUTHORS
whowatch-1.4/COPYING
whowatch-1.4/ChangeLog
whowatch-1.4/INSTALL
whowatch-1.4/KEYS
whowatch-1.4/Makefile.in
whowatch-1.4/NEWS
whowatch-1.4/README
whowatch-1.4/TODO
whowatch-1.4/acconfig.h
whowatch-1.4/config.h.in
whowatch-1.4/configure
whowatch-1.4/configure.in
whowatch-1.4/install-sh
whowatch-1.4/owner.c
whowatch-1.4/process.c
whowatch-1.4/procinfo.c
whowatch-1.4/procinfo.h
whowatch-1.4/proctree.c
whowatch-1.4/proctree.h
whowatch-1.4/screen.c
whowatch-1.4/whowatch.1
whowatch-1.4/whowatch.c
whowatch-1.4/whowatch.h
[root@netggio src]# cd whowatch-1.4
[root@netggio whowatch-1.4]# ls
AUTHORS  ChangeLog  KEYS         NEWS    TODO        config.h.in  configure.in  owner.c    procinfo.c  proctree.c  screen.c    whowatch.c
COPYING  INSTALL    Makefile.in  README  acconfig.h  configure    install-sh    process.c  procinfo.h  proctree.h  whowatch.1  whowatch.h
[root@netggio whowatch-1.4]# ./configure         
creating cache ./config.cache
checking for gcc… gcc
checking whether the C compiler (gcc  ) works… yes
checking whether the C compiler (gcc  ) is a cross-compiler… no
checking whether we are using GNU C… yes
checking whether gcc accepts -g… yes
checking for a BSD compatible install… /usr/bin/install -c
checking for kvm_openfiles in -lkvm… no
checking for scrollok in -lncurses… yes
checking for dirent.h that defines DIR… yes
checking for opendir in -ldir… no
checking how to run the C preprocessor… gcc -E
checking for ANSI C header files… yes
checking for sys/wait.h that is POSIX.1 compatible… yes
checking for fcntl.h… yes
checking for sys/ioctl.h… yes
checking for sys/time.h… yes
checking for unistd.h… yes
checking for curses.h… yes
checking for working const… yes
checking for inline… inline
checking for pid_t… yes
checking for st_rdev in struct stat… yes
checking whether time.h and sys/time.h may both be included… yes
checking whether utmp has USER_PROCESS type… yes
checking whether utmp has DEAD_PROCESS type… yes
checking whether utmp struct has ut_pid member… yes
checking whether utmp struct has ut_name member… yes
checking whether gcc needs -traditional… no
checking return type of signal handlers… void
checking for select… yes
checking for getloadavg… yes
checking whether select() modifies the time value… yes
checking whether sysctl() can be used… no
updating cache ./config.cache
creating ./config.status
creating Makefile
creating config.h
[root@netggio whowatch-1.4]# make && make install
gcc -g -O2 -Wall -I.   -c -o process.o process.c
process.c: In function `synchronize’:
process.c:77: warning: use of cast expressions as lvalues is deprecated
gcc -g -O2 -Wall -I.   -c -o whowatch.o whowatch.c
gcc -g -O2 -Wall -I.   -c -o procinfo.o procinfo.c
procinfo.c: In function `count_idle’:
procinfo.c:351: warning: implicit declaration of function `time’
gcc -g -O2 -Wall -I.   -c -o proctree.o proctree.c
gcc -g -O2 -Wall -I.   -c -o owner.o owner.c
gcc -g -O2 -Wall -I.   -c -o screen.o screen.c
gcc  -g -O2 -Wall -I.  -o whowatch  process.o whowatch.o procinfo.o proctree.o owner.o screen.o  -lncurses
/usr/bin/install -c -m 755 whowatch /usr/local/bin/whowatch
/usr/bin/install -c -m 644 whowatch.1 /usr/local/man/man1/whowatch.1
[root@netggio whowatch-1.4]#

오래 된거긴 하지만 ㅋㅋ 쓸만함

- to blog -

blog built using the cayman-theme by Jason Long. LICENSE