Operating System - HP-UX
1833726 Members
2576 Online
110063 Solutions
New Discussion

file missing for diagmond

 
SOLVED
Go to solution
Dirk Fieremans
Advisor

file missing for diagmond

when doing a tusc on diagmond I get the following error:
( Attached to process 868 ("/usr/sbin/stm/uut/bin/sys/diagmond") [32-bit] )
[868] select(6, 0x7f7e1434, NULL, NULL, 0x7f7e1534) ...................................................................................... [sleeping]
[868] select(6, 0x7f7e1434, NULL, NULL, 0x7f7e1534) ...................................................................................... = 0
[868] stat("/var/stm/data/tools/monitor/MON_RESTART", 0x7f7e0430) ........................................................................ ERR#2 ENOENT
[868] stat("/var/stm/data/os_decode_xref", 0x7f7e10f8) ................................................................................... = 0
[868] access("/var/stm/data/monitor_paths", F_OK) ........................................................................................ = 0
[868] select(0, NULL, NULL, NULL, 0x7f7e110c) ............................................................................................ = 0
[868] getsockname(5, 0x7f7e1484, 0x7f7e1494) ............................................................................................. = 0

It's probably nothing, but I'm annoyed that the function of this file is documented nowhere...

Dirk
2 REPLIES 2
Vincent Stedema
Esteemed Contributor
Solution

Re: file missing for diagmond

Hi,

Could the MON_RESTART file be a flag, which indicates to the diagmond process that it should restart and re-read it's configuration? In that case, the fact that the file's not there should not be a problem.

Anyway, are you actually experiencing problems with diagmond?

Regards,

Vincent
Dirk Fieremans
Advisor

Re: file missing for diagmond

No, diagmond runs fine. I was just wondering what the file does.
I touched the file while running tusc and it indeed causes diagmond to restart (but keeping the same PID).
Maybe it's an easier way to restart EMS than using monconfig...

Thanks for responding,
Dirk