Go Back   The UNIX and Linux Forums > Operating Systems > HP-UX
google site



HP-UX HP-UX (Hewlett Packard UniX) is Hewlett-Packard's proprietary implementation of the Unix operating system, based on System V.

Closed Thread
English Japanese Spanish French German Portuguese Italian Powered by Powered by Google
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-22-2009
Registered User
 

Join Date: Oct 2005
Posts: 152
Thanks: 1
Thanked 0 Times in 0 Posts
looking for a unix command for hpux - watch

watch is a common linux command that executes a program periodically, showing output fullscreen.

I couldn't find anything for hpux, so I created the following shell which the user is testing:


Code:
cat /usr/bin/watch
#!/bin/sh

while [ 1 ] ; do
   clear
   echo "Command: $*"
   date
   echo ""
   ( $* )
   sleep 10
done

is anyone aware of where I could find "watch" or anything equivalent for hpux?

thanks and hh,
manny

Last edited by DukeNuke2; 12-22-2009 at 02:31 PM.. Reason: please use code tags!
Sponsored Links
  #2  
Old 12-24-2009
TonyFullerMalv's Avatar
Registered User
 

Join Date: Sep 2008
Location: Malvern, Worcs. U.K.
Posts: 1,021
Thanks: 0
Thanked 1 Time in 1 Post
The very useful ste:
Rosetta Stone for Unix
suggests that precompiled binaries for HP-UX can be obtained from:
HP/UX Software Archive
or
Porting And Archive Centre For HP-UX
  #3  
Old 02-03-2010
Registered User
 

Join Date: Oct 2005
Posts: 152
Thanks: 1
Thanked 0 Times in 0 Posts
users continue to be pleased w/script

TonyFullerMalv,
thanks for the links, Rosetta is a new one for me...

DukeNuke2,
sorry for the code tags....or lack of.
Sponsored Links
Closed Thread

Tags
script hpux shell

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
watch command foxtron UNIX for Dummies Questions & Answers 1 07-17-2009 04:55 PM
Command similar to watch mikejreading Shell Programming and Scripting 3 04-01-2009 08:32 AM
Any command to watch output repeatedly?? sdspawankumar Solaris 2 02-21-2008 12:11 PM
Enterprise Unix Roundup: The Ghost of Unix Future - Server Watch Linux Bot UNIX and Linux RSS News 0 12-19-2007 11:20 AM
Linux watch command on AIX? djschmitt UNIX for Dummies Questions & Answers 2 11-06-2007 05:00 PM



All times are GMT -4. The time now is 03:04 AM.