- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- ping hostname
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
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
тАО08-20-2002 09:20 AM
тАО08-20-2002 09:20 AM
ping hostname
I'm not able to terminate the message in the terminal(64 bytes from ip icmp_seq172 time=.0 ms)after running the comman "ping hostname".
Normally the ping command will end up with round trip message(if we terminate-right?).Please suggest me what is wrong in it.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2002 09:22 AM
тАО08-20-2002 09:22 AM
Re: ping hostname
If that fails, log onto another session and use "kill" to terminate the ping.
-- Rod Hills
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2002 09:22 AM
тАО08-20-2002 09:22 AM
Re: ping hostname
Try :
# ping -o hostname
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2002 09:24 AM
тАО08-20-2002 09:24 AM
Re: ping hostname
You can stop it with a 'Ctrl+C'
HTH
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2002 09:24 AM
тАО08-20-2002 09:24 AM
Re: ping hostname
By default, the ping command will not terminate itself until you hit Control+C. To have it terminate itself, you need to use option -n
# ping host_name -n 1
will ping the host only once and terminate.
Hai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2002 09:30 AM
тАО08-20-2002 09:30 AM
Re: ping hostname
in some hosts i can terminate the messages of course by using ctrl c,in some i do not.Just i want to know the cause for this.Thanks again thanks for your responses.
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2002 09:33 AM
тАО08-20-2002 09:33 AM
Re: ping hostname
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2002 09:38 AM
тАО08-20-2002 09:38 AM
Re: ping hostname
It depends on your stty settings. On hosts where you're able to use CTRL+C to terminate ping, your stty intr is set to ^C. You can run this command to verify:
# stty -a | grep intr
To set intr to ^C, do this:
# stty intr ^C
You may want to set it in system profiles .login, .profile.
Hai
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2002 09:41 AM
тАО08-20-2002 09:41 AM
Re: ping hostname
You can specify the number of pings. Thus to execute 3-pings and terminate with the routes taken, do:
# ping -o hostname -n 3
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2002 09:55 AM
тАО08-20-2002 09:55 AM