Solved

nmon cron job

Posted on 2006-06-29
2
863 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Every server (virtual or physical) needs a console: and the console can be provided through hardware directly connected, software for remote connections, local connections, through a KVM, etc. This document explains the different types of consol…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
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.:

895 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now