Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

nmon cron job

Posted on 2006-06-29
2
Medium Priority
?
904 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 3

Accepted Solution

by:
yuseungkim earned 2000 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

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…
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 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.:
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.
Suggested Courses

715 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