Top > Linode > Cent OS 5.3 64bit > systatを入れる

* systatをいれる [#j5100787]
システムをモニタするためにsystatを入れる

http://pagesperso-orange.fr/sebastien.godard/

ダウンロード:
http://pagesperso-orange.fr/sebastien.godard/download.html

rpmパッケージがあるが、ソースからコンパイルしてみる
 # ./configure \
 --enable-smp-race \
 --enable-yesterday \
 --enable-clean-sa-dir \
 --enable-install-cron \
 --enable-install-isag

 .
 Check programs:
 .
 checking for gcc... gcc
 checking for C compiler default output file name... a.out
 checking whether the C compiler works... yes
 checking whether we are cross compiling... no
 checking for suffix of executables...
 checking for suffix of object files... o
 checking whether we are using the GNU C compiler... yes
 checking whether gcc accepts -g... yes
 checking for gcc option to accept ISO C89... none needed
 checking how to run the C preprocessor... gcc -E
 checking for grep that handles long lines and -e... /bin/grep
 checking for egrep... /bin/grep -E
 checking for ANSI C header files... yes
 checking for sys/types.h... yes
 checking for sys/stat.h... yes
 checking for stdlib.h... yes
 checking for string.h... yes
 checking for memory.h... yes
 checking for strings.h... yes
 checking for inttypes.h... yes
 checking for stdint.h... yes
 checking for unistd.h... yes
 checking minix/config.h usability... no
 checking minix/config.h presence... no
 checking for minix/config.h... no
 checking whether it is safe to define __EXTENSIONS__... yes
 checking whether ln -s works... yes
 checking for chmod... chmod
 checking for chown... chown
 checking for ar... ar
 checking for install... install
 checking for msgfmt... no
 checking for xgettext... no
 checking for msgmerge... no
 checking for bzip2... bzip2
 checking for cp... /bin/cp
 checking for chkconfig... /sbin/chkconfig
 .
 Check header files:
 .
 checking for ANSI C header files... (cached) yes
 checking for dirent.h that defines DIR... yes
 checking for library containing opendir... none required
 checking ctype.h usability... yes
 checking ctype.h presence... yes
 checking for ctype.h... yes
 checking errno.h usability... yes
 checking errno.h presence... yes
 checking for errno.h... yes
 checking libintl.h usability... yes
 checking libintl.h presence... yes
 checking for libintl.h... yes
 checking locale.h usability... yes
 checking locale.h presence... yes
 checking for locale.h... yes
 checking net/if.h usability... yes
 checking net/if.h presence... yes
 checking for net/if.h... yes
 checking signal.h usability... yes
 checking signal.h presence... yes
 checking for signal.h... yes
 checking stdio.h usability... yes
 checking stdio.h presence... yes
 checking for stdio.h... yes
 checking sys/file.h usability... yes
 checking sys/file.h presence... yes
 checking for sys/file.h... yes
 checking sys/ioctl.h usability... yes
 checking sys/ioctl.h presence... yes
 checking for sys/ioctl.h... yes
 checking for sys/stat.h... (cached) yes
 .
 Check typedefs, structures and compiler characteristics:
 .
 checking return type of signal handlers... void
 checking for size_t... yes
 checking for off_t... yes
 .
 Check library functions:
 .
 checking for strchr... yes
 checking for strcspn... yes
 checking for strspn... yes
 checking for strstr... yes
 .
 Check system services:
 .
 checking for special C compiler options needed for large files... no
 checking for _FILE_OFFSET_BITS value needed for large files... no
 .
 Check configuration:
 .
 checking run-commands directory... /etc/rc.d
 checking sadc directory... /usr/local/lib/sa
 INFO: Directory /usr/local/lib/sa will be created during installation stage.
 checking system activity directory... /var/log/sa
 INFO: Directory /var/log/sa will be created during installation stage.
 checking sysstat configuration directory... /etc/sysconfig
 checking National Language Support... yes
 WARNING: msgfmt command not found!
 WARNING: xgettext command not found!
 WARNING: msgmerge command not found!
 checking whether workaround for SMP race is needed... yes
 checking whether sa2 should process data file of the day before... yes
 checking number of daily data files to keep... 7
 checking number of days after which data files are compressed... 10
 checking group for manual pages... man
 checking whether man_group variable should be ignored... no
 checking whether manual pages should be compressed... no
 checking whether isag script should be installed... yes
 checking whether system activity directory should be cleaned... yes
 checking whether cron should start sar automatically... yes
 checking crontab owner... adm
 INFO: Crontab for adm will be saved in current directory if necessary
 checking crontab interval... 10
 checking whether documentation should be installed... yes
 .
 Now create files:
 .
 configure: creating ./config.status
 config.status: creating sa1
 config.status: creating sa2
 config.status: creating crontab
 config.status: creating sysstat.sysconfig
 config.status: creating version.h
 config.status: creating sysconfig.h
 config.status: creating sysstat.cron.daily
 config.status: creating sysstat.cron.hourly
 config.status: creating sysstat.crond
 config.status: creating sysstat.crond.sample.in
 config.status: creating sysstat
 config.status: creating man/sa1.8
 config.status: creating man/sa2.8
 config.status: creating man/sadc.8
 config.status: creating man/sadf.1
 config.status: creating man/sar.1
 config.status: creating contrib/isag/isag
 config.status: creating Makefile
 
    Sysstat version:             9.0.6
    Installation prefix:         /usr/local
    rc directory:                /etc/rc.d
    Init directory:              /etc/rc.d/init.d
    Configuration directory:     /etc/sysconfig
    Man pages directory:         /usr/local/man
    Compiler:                    gcc
    Compiler flags:              -g -O2

 # make
 # make install



リロード   差分   ホーム 一覧 検索 最終更新 バックアップ リンク元   ヘルプ   最終更新のRSS