- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: simultaneously running 2 scripts (ticker)
Operating System - HP-UX
1753802
Members
7904
Online
108805
Solutions
Forums
Categories
Company
Local Language
юдл
back
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
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
тАО11-29-2007 09:18 PM
тАО11-29-2007 09:18 PM
hi,
I'm using a remote connection to a server with only one terminal.
I get disconnected after 15 mins of inactivity.
I want to run a binary that will not output in an hour.
How can I run the binary so that I get output to the screen.
I was thinking of forking the binary from a script while running a ticker or equivalent...
Bill
I'm using a remote connection to a server with only one terminal.
I get disconnected after 15 mins of inactivity.
I want to run a binary that will not output in an hour.
How can I run the binary so that I get output to the screen.
I was thinking of forking the binary from a script while running a ticker or equivalent...
Bill
It works for me (tm)
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-29-2007 09:22 PM
тАО11-29-2007 09:22 PM
Re: simultaneously running 2 scripts (ticker)
the binary is ignite.
make_tape_recovery -v -A -I -d "hostA" -t "hostA"
Can I run that in the background? and tail -f the ignite log or
while true
do
sleep 5
echo "."
done
make_tape_recovery -v -A -I -d "hostA" -t "hostA"
Can I run that in the background? and tail -f the ignite log or
while true
do
sleep 5
echo "."
done
It works for me (tm)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-29-2007 11:57 PM
тАО11-29-2007 11:57 PM
Solution
Hi Bill:
Yes, you could do as you suggest. By example, you could also craft something like the following:
#!/usr/bin/sh
function ticker
{
while true
do
print -u2 ".\c"
sleep 1
done
}
ticker &
PID=$!
date
sleep 10
date
kill ${PID}
exit 0
Regards!
...JRF...
Yes, you could do as you suggest. By example, you could also craft something like the following:
#!/usr/bin/sh
function ticker
{
while true
do
print -u2 ".\c"
sleep 1
done
}
ticker &
PID=$!
date
sleep 10
date
kill ${PID}
exit 0
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО11-30-2007 02:53 AM
тАО11-30-2007 02:53 AM
Re: simultaneously running 2 scripts (ticker)
used as above..
also for ignite, no problem found to background the task and fg it when prompt was requested..
also for ignite, no problem found to background the task and fg it when prompt was requested..
It works for me (tm)
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP