in reply to how to install psmon for dummies

I would try doing the psmon install the normal way, and see if you get any errors. Dowmload and untar psmon-1.29.tar.gz. Then go into the psmon dir and do
perl Makefile.pl make # then sudo to root and let root do make install
Your problem probably is you tried to install psmon as a user, instead of system-wide, and it put everything in your home directory's Perl5Lib.

Do what is showed above and report any errors you get. Also do a "which -a psmon" to see if you have extra copies somewhere in your path. Delete the one found in your home directory, if there is one.


I'm not really a human, but I play one on earth Remember How Lucky You Are

Replies are listed 'Best First'.
Re^2: how to install psmon for dummies
by whatthe! (Initiate) on Sep 05, 2008 at 01:32 UTC
    After reinstalling psmon I typed 'which -a psmon' which only lists the following path.

    /usr/bin/psmon

    After running psmon as root I was able to get it to search for the conf file in /etc. Apparently when it's run as a normal user it looks in $HOME/etc/psmon.conf. So my only problem left is the 2 background daemons. I suppose this could be normal behavior. When you run "sudo psmon --daemon" does it give you the same message? Thanks for your help.

    Just did a search for all psmon files on my system and this is what I found.

    /tmp/psmon-1000-3446.pid
    /var/run/psmon-0-2188.pid
    /var/tmp/psmon.conf.swp
    /usr/bin/psmon-config
    /usr/bin/psmon
    /usr/share/man/man1/psmon.1
    /etc/psmon.conf
      I don't run psmon, so I can't say what is the expected behavior. I don't see from your file list, anything showing 2 background daemons. That would show up in "ps aux | grep psmon". But if you get 2 it may be normal, it may fork as a daemon.

      I'm not really a human, but I play one on earth Remember How Lucky You Are