Hmc uptime

HELLO ALL

HOW CAN I CHECK HMC UPTIME :confused: :confused: VERSION 6 :smiley:

HELLO,

using the search function of the forum with the 2 strings "hmc" and "uptime" I found this:

I have found that tread, but I use only Web-based System Manager Remote Client not IE(browser).

On Web-based System Manager Remote Client or Command Line? How can I do it?

Sorry - after intensive checking I could not find an alternative.
Do you have a host checking tool that might ping or check ports of applications? Maybe this one can tell you when the HMC was booted last time.

I will check.

But HMC is a stupid unix system, in the HMC 4-5 version I can get root command promt but in the 6 is not working. :slight_smile:

Have you an idea? :slight_smile:

HMC is kind of a black box. We have no root access at all, maximum we can get is hscroot. Our support has some special CD which they can use to become root on our HMCs. Yes, sometimes it is tideous to do things on HMC.
If you know how to do that you could leave a post here. If I get a clue I will let you know.

check the messages and hmclogger files in /var/adm/...
you should be able to cat them as hscroot by specifying the full path to the file.

it works on 4.x and 5.x, but seems to not work on 6.x and 7.x versions, maybe someone can play around:

$ man -P /bin/more chhwres // get 'more' as module instead of restricted 'less'
!/bin/bash // run root shell from man (HMC v4)
!ksh // run root shell from man (HMC v5)
$ export PATH=$PATH:/bin:/usr/bin
$ su -

One of my colls it works in v4 or v5.

HMC Unrestricted Root Access Tutorials pSeries Tech Talk Forums