Subject: | Batchmode fails with an undefined subroutine |
When trying to run pgtop in batch mode the following error is reported:
Undefined subroutine &main::ReadMode called at /usr/bin/pgtop line 1286.
This occurs whether the batchmode flag is set from the command line or
configured in ~/.mytop.
I'm running CentOS 5.2 with the following:
# uname -a
Linux db-tor-01 2.6.18-92.1.6.el5xen #1 SMP Wed Jun 25 14:13:10 EDT 2008
x86_64 x86_64 x86_64 GNU/Linux
# perl --version
This is perl, v5.8.8 built for x86_64-linux-thread-multi