Solved

nmon cron job

Posted on 2006-06-29
2
857 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
Comment Utility
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
Comment Utility
great!
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

Hello fellow BSD lovers, I've created a patch process for patching openjdk6 for BSD (FreeBSD specifically), although I tried to keep all BSD versions in mind when creating my patch. Welcome to OpenJDK6 on BSD First let me start with a little …
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

771 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

12 Experts available now in Live!

Get 1:1 Help Now