mapping the memory within a java process

At the system level, you can look at not just how much memory a process is using, but where it is using the memory, in detail. Use pmap… First find the process id: [root@jbtest ~]# ps -ef | grep java bbod 11987 11929 0 Feb29 ? 00:04:03 /opt/jdk/bin/java -Dprogram.name=run.sh -server -Xms2048m -Xmx2048m -XX:MaxPermSize=256m -Dcom.test.cookiedomain=test.com -Dtangosol.mode=prod…

Continue Reading

Mapping applications to VMs

I use XEN in RedHat linux (CentOS) for our QA environment. Within each XEN server I might have 20 – 30 servers. There are three XEN servers per QA environment, three QA environments. A constant problem is tracking where applications are installed within the VMs. I use puppet throughout the environments, including deployments of applications…

Continue Reading

combining pdf files into one

I scanned a book I wanted to read on the go (and that was not available as an electronic version). I used vuescan and an Epson V750 Pro scanner. It was tedious. Especially tedious because about halfway through the (windows) system crapped out and vuescan crashed and I lost the pdf creation, thus having to…

Continue Reading

finding the largest files within a directory

I was shown this maybe my second day on my first job with the title “System Admin”. It worked on Solaris 2.4, and has continued to be useful through AIX, HPUNIX, Red Hat, Ubuntu, Debian, Gentoo, Crunchbang, other variants of Solaris, BSD, etc. One of the best parts of being a UNIX sysadmin instead of…

Continue Reading

Change the time cron.daily runs

I’ve had many environments where we get alerts or strange behavior at or about 4 AM – the time that linux’s cron.daily runs by default. You can change that 4 AM time – perhaps stagger it among groups of servers. You can change it through puppet if you bring /etc/crontab under puppet control, then a…

Continue Reading
  • 1
  • 2