The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
echo doesnot show output samy123 Shell Programming and Scripting 4 01-21-2008 07:15 AM
inconsistent ls command display at the command prompt & running as a cron job rajranibl Linux 5 07-30-2007 05:26 AM
what does echo $$ command display suri Shell Programming and Scripting 2 03-06-2007 12:01 AM
cal command display issues ruddydaggerwing UNIX for Dummies Questions & Answers 0 01-10-2007 06:04 PM
Display command shock1 UNIX for Dummies Questions & Answers 3 10-06-2004 08:14 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 09-10-2005
Registered User
 

Join Date: Sep 2005
Posts: 4
PS command doesnot display shellscript runningi

PS command doesnot display shellscript runningi have written a small shel script to check for
idsk space and log it to a file evry 300s.this so this
run is a loop.
But i want to start stop this script from another script
using ps -ef grep
but ps -ef is not displaying the script in output, if i type 'ps -ef <scriptname>'
it intead says .sh which i cant used to kill the process
Reply With Quote
Forum Sponsor
  #2  
Old 09-14-2005
RTM's Avatar
RTM RTM is offline
Hog Hunter
 
Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
If you are starting / stopping a script from another, then you should be able to use parent and child pid's to check. Take a look at this post
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 07:16 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0