- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: at -f (script) now how to kill?
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-18-2010 10:31 PM
тАО04-18-2010 10:31 PM
at -f (script) now how to kill?
at -f /usr/script.sh now
script.sh contains lot of jobs and takes 30-40 hours to complete. In between I need to kill the job started by at for some emergency reason.
As "at" with now option doesnot create any job id in /var/spool/atjobs, how i can kill this job?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-18-2010 11:53 PM
тАО04-18-2010 11:53 PM
Re: at -f (script) now how to kill?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2010 12:19 AM
тАО04-19-2010 12:19 AM
Re: at -f (script) now how to kill?
run ps -ef|grep command
Check, confirm and kill -9
do not worry about any at thing, it has done its work and went to sleep.
BR,
Kapil+
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2010 12:19 AM
тАО04-19-2010 12:19 AM
Re: at -f (script) now how to kill?
I cannot able to find the process id.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2010 12:25 AM
тАО04-19-2010 12:25 AM
Re: at -f (script) now how to kill?
anything output?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2010 12:25 AM
тАО04-19-2010 12:25 AM
Re: at -f (script) now how to kill?
There must be a proces which runs for 30-40 hours!! grep for that. If its not there, it may have already gone past.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2010 12:28 AM
тАО04-19-2010 12:28 AM
Re: at -f (script) now how to kill?
I can grep for ps -ef|grep (command in the script), if I kill that next process start.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2010 12:30 AM
тАО04-19-2010 12:30 AM
Re: at -f (script) now how to kill?
I can grep for ps -ef|grep (command in the script), if I kill that next process start. the script has 220 commands. i killed the cron, but the script still running.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2010 12:36 AM
тАО04-19-2010 12:36 AM
Re: at -f (script) now how to kill?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО04-19-2010 12:38 AM
тАО04-19-2010 12:38 AM
Re: at -f (script) now how to kill?
> for i in `cat script.sh |awk '{print$1}'`
> kill -9 $i
> sleep 3
> done
Regards,