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
Windows services for unix - How do I run in batch rbdenham Windows & DOS: Issues & Discussions 3 06-05-2008 12:42 PM
Unix Batch FTP - SAS shenniko UNIX for Dummies Questions & Answers 0 09-25-2007 04:14 AM
batch file equivalent for Unix megastar UNIX for Advanced & Expert Users 1 10-12-2005 03:20 PM
Batch files and FTP under Unix ober5861 UNIX for Dummies Questions & Answers 4 07-16-2001 06:12 PM
unix batch eeldivady UNIX for Dummies Questions & Answers 3 06-30-2001 07:16 AM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1  
Old 03-28-2007
ganapati's Avatar
Registered User
 

Join Date: Jul 2006
Posts: 114
Post Batch id in UNIX

Hi can any one help me?
How to find the "batchid" in UNIX?

Regards,
Ganapati.
Reply With Quote
Forum Sponsor
  #2  
Old 03-28-2007
Registered User
 

Join Date: Feb 2007
Location: Bangalore
Posts: 105
Quote:
Originally Posted by ganapati
Hi can any one help me?
How to find the "batchid" in UNIX?

Regards,
Ganapati.
Are you talking abt the JobID generated when a batch is executed...

If you want to cancel that job,then you can run

at -r <job_num>

if you dont know your job_num then run

at -l ===> this will show the jobs that are schuduled within a batch

If your job is already running, you will need to find the process ID and kill it.

On System V implementations list all running processes by entering:
ps -fu username

Replace username with your username. The equivalent BSD command is:
ps x

Once you have the process ID, enter:
kill <process ID> Replace <process ID> with the process ID.

If it still will not terminate, try entering:
kill -9 <process ID>
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 01:11 PM.


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