- Community Home
- >
- Servers and Operating Systems
- >
- HPE ProLiant
- >
- Server Management - Systems Insight Manager
- >
- Run UPTIME.EXE against selected server
Server Management - Systems Insight Manager
1819502
Members
2970
Online
109603
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
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
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
тАО12-26-2003 06:02 AM
тАО12-26-2003 06:02 AM
Run UPTIME.EXE against selected server
I would like to run the Windows uptime.exe utility against a selected server as a custom tool. Anybody have a good example how to accomplish this? The documentation I have found isn't very specific.
The hope would be that my operations staff could use this tool to check the system uptime after a network outage to detect if the system was actually down or just a network glich.
Could also use this same command with different parameters to run a scheduled task for system uptime reporting.
The hope would be that my operations staff could use this tool to check the system uptime after a network outage to detect if the system was actually down or just a network glich.
Could also use this same command with different parameters to run a scheduled task for system uptime reporting.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-31-2003 04:35 AM
тАО12-31-2003 04:35 AM
Re: Run UPTIME.EXE against selected server
Anybody have any idea's about this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-02-2004 07:22 PM
тАО01-02-2004 07:22 PM
Re: Run UPTIME.EXE against selected server
Using 'Custom Commands' you could create an entry to run 'uptime %devicename%' and it would do what you want.
You could also create a custom menu item to run uptime.exe (assuming you have SSH installed on all the managed servers) by extracting one of the existing tool definitions (I'd recommend netstat) via the CLI (mxtool in this case), editing it to run uptime instead, and then importing it back into HP SIM.
I believe the steps to be (forgive me I am trying to remember all the CLI switches from memory) as below.
Extract the entry:
mxtool -l -f -t netstat > netstat.xml
Copy it:
copy netstat.xml uptime.xml
Edit uptime.xml to run 'uptime' instead of netstat - note that you can also include other parameters if you want, such as /s. You'll also want to name the tool 'uptime' instead of 'netstat' and change the menu name to 'Uptime...'
Import it:
mxtool -a -f uptime.xml
You could also create a custom menu item to run uptime.exe (assuming you have SSH installed on all the managed servers) by extracting one of the existing tool definitions (I'd recommend netstat) via the CLI (mxtool in this case), editing it to run uptime instead, and then importing it back into HP SIM.
I believe the steps to be (forgive me I am trying to remember all the CLI switches from memory) as below.
Extract the entry:
mxtool -l -f -t netstat > netstat.xml
Copy it:
copy netstat.xml uptime.xml
Edit uptime.xml to run 'uptime' instead of netstat - note that you can also include other parameters if you want, such as /s. You'll also want to name the tool 'uptime' instead of 'netstat' and change the menu name to 'Uptime...'
Import it:
mxtool -a -f uptime.xml
Dude, we've been totally misled by our album covers!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО01-03-2004 03:33 AM
тАО01-03-2004 03:33 AM
Re: Run UPTIME.EXE against selected server
Go info thanks.
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.
Company
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP