Solved

nmon cron job

Posted on 2006-06-29
2
874 Views
Last Modified: 2013-11-17
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
Comment
Question by:ethanjohnsons
2 Comments
 
LVL 3

Accepted Solution

by:
yuseungkim earned 500 total points
ID: 17012614
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
 

Author Comment

by:ethanjohnsons
ID: 17043258
great!
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Installing FreeBSD… FreeBSD is a darling of an operating system. The stability and usability make it a clear choice for servers and desktops (for the cunning). Savvy?  The Ports collection makes available every popular FOSS application and packag…
I have been running these systems for a few years now and I am just very happy with them.   I just wanted to share the manual that I have created for upgrades and other things.  Oooh yes! FreeBSD makes me happy (as a server), no maintenance and I al…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question