Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 916
  • Last Modified:

nmon cron job

I have:
0 0 * * * /cerstat/proc/run_nmon.ksh > /cerstat/log/run_nmon.log 2 >&1

but,
# ps -ef |grep nmon
    root 219136  54466   0 13:07:14  pts/3  0:00 grep nmon

How do you figure out why it is not running?
0
ethanjohnsons
Asked:
ethanjohnsons
1 Solution
 
yuseungkimCommented:
Did you check /cerstat/log/run_nmon.log whether it has any information about problem ?

Why don't you try same command using rsh or ssh to simulate crontab ?

For example, rsh localhost "/cerstat/proc/run_nmon.ksh" or ssh localhost "/cerstat/proc/run_nmon.ksh"

Good Luck

Andy K
0
 
ethanjohnsonsAuthor Commented:
great!
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now