Changeset 2766 in /cluster/svnroot


Ignore:
Timestamp:
Oct 28, 2010 3:34:18 PM (10 years ago)
Author:
fitz
Message:

#532: refinements to usage data dialog

Location:
bccd-ng/branches/fitz-devel
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • bccd-ng/branches/fitz-devel/bin/build_livecd.pl

    r2754 r2766  
    118118$ENV{'DEBIAN_FRONTEND'} = "noninteractive";
    119119Readonly my $PACKAGES   => "screen openssh-client openssh-server less make gcc-4.2 g++-4.2 flex bison gdb alien lsb-rpm bzip2 sudo yum debootstrap rsync dhcp3-server tcpdump syslinux syslinux-common subversion nfs-common nfs-kernel-server ncurses-base ncurses-bin libncurses5 libncurses5-dev psmisc vim iproute pciutils host bc ntp ntpdate debconf-utils dhcpcd xbase-clients libxt-dev lesstif2 lesstif2-dev ipcalc dialog lvm2 grub parted tzdata xserver-xorg-video-fbdev xfonts-100dpi xfonts-75dpi xfonts-scalable xserver-xorg-video-all fontconfig xfonts-base gpm udev vtwm aterm rxvt xbase-clients menu bbkeys libwww-mechanize-perl postgresql-client-common postgresql-client-8.3 libdbi-perl libdbd-pg-perl strace tcsh libnet-dhcp-perl libnetaddr-ip-perl libnet-ip-perl libstdc++5 pdnsd csh libterm-readkey-perl libsvn-perl libui-dialog-perl libreadonly-perl sshfs autofs libnet-dhcp-perl dnsutils libfile-touch-perl libnet-cidr-perl arping dosfstools gawk dc glutg3-dev libxi-dev wireless-tools snmp snmpd netpbm imagemagick libyaml-perl tcl8.4 libc6-i386 initramfs-tools linux-image-$KERNREV xvfb libmime-lite-perl exim4 genisoimage";
    120 Readonly my $EXTRA_PACKAGES => "fftw2 fftw-dev sfftw-dev sfftw2 automake1.7 console-tools libreadline5-dev hal libxmu-headers libxmu-dev gfortran ethtool libssl0.9.8 libblas-dev libblas-dev atlas3-base atlas3-base-dev atlas3-base refblas3 lapack3 atlas3-test libg2c0-dev libg2c0 apache2 iceweasel xpdf octave3.0 ruby sl robotfindskitten pvm xpvm emacs grac blender automake1.9 libtool libglu1-mesa-dev minicom lcd4linux insight joe grace libxpm-dev telnet lsof xresprobe fbset fluxbox xgalaga zenmap nedit eterm manpages-dev";
     120Readonly my $EXTRA_PACKAGES => "fftw2 fftw-dev sfftw-dev sfftw2 automake1.7 console-tools libreadline5-dev hal libxmu-headers libxmu-dev gfortran ethtool libssl0.9.8 libblas-dev libblas-dev atlas3-base atlas3-base-dev atlas3-base refblas3 lapack3 atlas3-test libg2c0-dev libg2c0 apache2 iceweasel xpdf octave3.0 ruby sl robotfindskitten pvm xpvm emacs grac blender automake1.9 libtool libglu1-mesa-dev minicom lcd4linux insight joe grace libxpm-dev telnet lsof xresprobe fbset fluxbox xgalaga zenmap nedit eterm manpages-dev uuid";
    121121Readonly my $AMD64_PACKAGES => "libc6-dev-i386 ia32-libs";
    122122Readonly my $BAD_PACKAGES   => ""; # Packages that throw some fatal error during install but still work
  • bccd-ng/branches/fitz-devel/trees/bin/bccd-usage

    r2734 r2766  
    44POSTFILE=`mktemp /tmp/post.XXXXXX`
    55
    6 echo -n "date=$(date +'%F %R:%S')" >> $STATSFILE
     6echo -n "uuid=$(uuid)" >> $STATSFILE
     7echo -n "&date=$(date +'%F %R:%S')" >> $STATSFILE
    78echo -n "&cpu=$(grep 'model name' /proc/cpuinfo | head -1 | sed -e 's/model name\s*: //;s/ * / /g')" >> $STATSFILE
    89echo -n "&cores=$(grep ^proc /proc/cpuinfo | wc -l)" >> $STATSFILE
     
    1415echo >> $STATSFILE
    1516
    16 dialog --no-collapse --cr-wrap --yesno \
    17 "We would like to collect some information on how the BCCD is used. This
    18 information will be used to determine the kind of hardware it most often gets
    19 used on, how many nodes people typically start, which versions are being used,
    20 and perhaps other pieces of information.
     17dialog --no-collapse --cr-wrap --no-label "No thanks" --yes-label "Share Info" --yesno \
     18"To help guide further development efforts, we would like to gather data on how folks use the BCCD.  Will you share your use-case with us?
    2119
    22 Among other things, this information is useful so that we may improve the
    23 usability of the BCCD and possibly procure additional funding for the project.
     20This script currently collects information about your hardware, how many nodes you typically use, and what version of the BCCD you are using.  We will use this information (aggregate over all our users) to improve the usability of the BCCD, and possibly procure additional funding for the project.
    2421
    25 In addition to your IP address (only so that we can identify unique users),
    26 this is the information we will be collecting:
     22Here is the information we would like:
    2723
    28 $(echo -ne '\t'; cat $STATSFILE | sed -e 's/&/\n\t/g;s/=/\t/g')
     24$(echo -ne '\t')IP:$(echo -ne '\t')TBD (solely for counting purposes)
     25$(echo -ne '\t'; cat $STATSFILE | sed -e 's/&/\n\t/g;s/=/:\t/g')
    2926
    30 You can view exactly how this information is collected by looking at the script,
    31 /bin/bccd-usage. Are you willing to share this information with us?
    32  " 28 85
     27(For the curious, exactly how we collected this information resides in the script /bin/bccd-usage.)
     28
     29Will you share this information with us?
     30" 30 85
    3331
    3432if [ $? == 0 ]; then
Note: See TracChangeset for help on using the changeset viewer.