AIX notes

I needed a command line way that I could summarize the currently mounted disk space for a bunch of AIX boxes.  I suspect this (or something very similar would work for other Unix flavors):

df -g | awk '{print $2}' | grep -E "^[0-9\.]+$" | perl -e  '@BIGAR=; foreach (@BIGAR) { chomp;} print STDOUT join ("+",@BIGAR) . "\n"; ' | bc -l

Commercial AIX compiler with extra debugging:

make with:
       CFLAGS=\"-v -V -qsrcmsg -qreport"
    CC="xlc_r -qfullpath -g -qdbxextra"

debug core with:
    dbx -E LD_LIBRARY_PATH=/usr/opt/perl5/freetds/lib /usr/opt/perl5/netcool/bin/perl
    (dbx) where

Comments

Popular posts from this blog

Xubuntu Home Server on Dell XPS 13 9370

Cygwin + syslog-ng

Installing Fedora 21 on a (late 2014) Mac Mini