mytop has started to break recently on our cPanel Redhat and CentOS machines.
When you run mytop:
#mytop
Error in option spec: "long|!"
Error in option spec: "long|!"
The fix for this is to edit the mytop script and comment out the line containing long|!
# nano /usr/bin/mytop
Run a search (control+w) for “long|!” and change:
"long|!" => \$config{long_nums},
to
"long|long_nums|l!" => \$config{long_nums},
Now run mytop again, and away you go!
actually, you can edit it to:
“long|long_nums|l!”
which may be more inline with what the author was trying to do.
seems Getopt::long before 2.3.8 ignored the problem, but 2.3.8 failes.
Hi Mike,
Thanks for that, I will give it a go and update the post.