The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > HP-UX
Google UNIX.COM


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

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Running UNIX commands remotely in Windows box from Unix box – avoid entering password D.kalpana UNIX for Dummies Questions & Answers 1 04-20-2007 02:24 AM
How to use unix commands in awk jerome Sukumar Shell Programming and Scripting 7 12-26-2006 04:15 AM
SQL Commands in Unix sish78 Shell Programming and Scripting 6 05-25-2006 03:30 PM
Maingrame to UNIX sending UNIX commands skammer UNIX for Dummies Questions & Answers 2 06-27-2002 09:19 AM
Unix Commands smdakram UNIX for Dummies Questions & Answers 2 01-13-2002 04:12 PM

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-01-2004
Registered User
 

Join Date: Aug 2004
Location: Bangladesh
Posts: 1
Unhappy Unix Commands

HP 9000/800 Server running HP-UX UNIX Server, users are connected via LAN and dialup connection.

Need help to write SHELL SCRIPT or UNIX Commands which would perform the following:

-ping IP address of all login/connected users to our server
-send customized text message to all the login users
-While sending message if any user found to be logout then skip and continue with the next IP address

Please HELP!!!
__________________
Moinul Haque
CDBL, Bangladesh
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 08-02-2004
RTM's Avatar
RTM RTM is offline
Hog Hunter
 
Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
Use the ping command to ping an IP
Use the write command to send a message to a single user - and the wall command to send to all users. Note the mesg command - some users may not get the messages you send.

You may also have ovxecho or ovxbeep on your system (part of HP Openview). This would send a X style box to the user with the message.
Reply With Quote
Google The UNIX and Linux Forums
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 08: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 Global Fact Book

Content Relevant URLs by vBSEO 3.2.0