- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- script for checking uptime
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
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
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
09-03-2013 08:40 AM
09-03-2013 08:40 AM
script for checking uptime
HI,
I need to know is it possible to check uptime for multiple server.
for example :from server A, I need to check the uptime of server B,C,D,E in a html format.
Can I have some idea ?
- Tags:
- uptime
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2013 09:33 AM
09-03-2013 09:33 AM
Re: script for checking uptime
Hi
Write a script
ssh x ,y,z and then check the uptime
Ajin.S
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2013 10:31 AM
09-03-2013 10:31 AM
Re: script for checking uptime
from server A:
remsh <server B> -n 'uptime'
or
ssh <server B> -n 'uptime'
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-03-2013 07:45 PM
09-03-2013 07:45 PM
Re: script for checking uptime
hi,
I want the output to display in a html format.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2013 01:18 AM
09-04-2013 01:18 AM
Re: script for checking uptime
>I want the output to display in a html format.
Then you may want to look at some perl scripting.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2013 09:39 AM
09-04-2013 09:39 AM
Re: script for checking uptime
hi
can you share me a sample script ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-04-2013 08:40 PM
09-04-2013 08:40 PM
Re: script for checking uptime
Try searching this board for perl and html:
http://h30499.www3.hp.com/t5/Languages-and-Scripting/perl-to-create-html/m-p/3651248
http://h30499.www3.hp.com/t5/Languages-and-Scripting/CSV-to-HTML/m-p/3741100
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-10-2013 10:37 AM
09-10-2013 10:37 AM
Re: script for checking uptime
For HTML, just insert <PRE> before the output from uptime and </PRE> after the output.
If you are looking for a complete web page that identifies the server name, date and time, etc, you need to read about how to create web pages.
Bill Hassell, sysadmin