When I try to emerge sysstat, I get errors about the pipe.(pipe broken) root # emerge sysstat Calculating dependencies ...done! >>> emerge (1 of 1) app-admin/sysstat-5.0.2 to / >>> md5 src_uri ;-) sysstat-5.0.2.tar.gz >>> Unpacking source... >>> Unpacking sysstat-5.0.2.tar.gz to /var/tmp/portage/sysstat-5.0.2/work >>> Source unpacked. rm -f sadc sa1 sa2 sysstat sar iostat mpstat *.o *.a core TAGS crontab rm -f sapath.h version.h find nls -name "*.mo" -exec rm -f {} \; You can enter a ? to display a help message at any time... Installation directory: [/usr/local] System activity directory: [/var/log/sa] INFO: Directory /var/log/sa will be created during installation stage. Clean system activity directory? [n] Enable National Language Support (NLS)? [y] Linux SMP race in serial driver workaround? [n] sa2 uses daily data file of previous day? [n] Number of daily data files to keep: [7] Group for manual pages: [man] Set crontab to start sar automatically? [n] man directory is /usr/local/share/man rc directory is /etc init directory is /etc/init.d Creating CONFIG file now... Done. Now enter "make" to build sysstat commands. The last step is to log in as root and enter "make install" to perform installation process. yes: standard output: Broken pipe <----------- right here.(I think) yes: write error nls sed s+VERSION_NUMBER+5.0.2+g version.in > version.h gcc -c -o common.o -Wall -Wstrict-prototypes -pipe -O2 -march=i686 -pipe -fno-strength-reduce -DUSE_NLS -DPACKAGE=\"sysstat\" -DLOCALEDIR=\"/usr/share/locale\" common.c common.c: In function `print_gal_header': etc................ although that pipe error, emerge ends peacefully. But when I type 'sar', system says, Cannot open /var/log/sa/sa10: No such file or directory I cannot know the reason. Any ideas about this? Reproducible: Always Steps to Reproduce: 1. emerge sysstat 2. sar 3. http://perso.wanadoo.fr/sebastien.godard/ (sysstat homepage)
If you do mkdir /var/log/sa ?
No change.(I see same errors)
Ok, the issue is that you can't just run 'sar' without any arguments. As the manpage states, it needs at least a interval and a count variable...