1833777 Members
2266 Online
110063 Solutions
New Discussion

resmon file.

 
SOLVED
Go to solution
Joseph Chakkery
Valued Contributor

resmon file.

Hello all,

I have a file m.710574890 under /etc/opt/remon/persistence directory. It seems to me as ups monitor log file. It's size become 46Mb now and it is growing day by day.

IS anybody know about this file. My doubt is whether I can make this file size to zero or what?.

Thanks in advance.

Regards
Joe.
Knowledge is wealth
2 REPLIES 2
Carlos Fernandez Riera
Honored Contributor
Solution

Re: resmon file.

Recently i have update my server, and i deleted losts of p.* in that directory, but i can remember if i deleted m.* too.

The process , guided bu my FE, was not very easy to remember.

Searching by p_client i hace found some patch and responses on forum:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,1150,0xbe6ddfe5920fd5118fef0090279cd0f9,00.html


http://europe-support.external.hp.com/cki/bin/doc.pl/sid=aead038909190b50c4/screen=ckiDisplayDocument?docId=200000055132841
unsupported
Joseph Chakkery
Valued Contributor

Re: resmon file.

Thanks Carlos for the help.

Procedure for clear down is as under.

Stop monitoring

# /etc/opt/resmon/lbin/monconfig
Select (K)ill (disable) monitoring

Stop p_client

Comment out the p_client entry in /etc/inittab :

# vi /etc/inittab

Change the following line
ems4:3456:respawn:/etc/opt/resmon/lbin/p_client
to
#ems4:3456:respawn:/etc/opt/resmon/lbin/p_client

Reread /etc/inittab :

# init q

Check if p_client is still running, if yes kill the process.

Delete the persistence files

# cd /etc/opt/resmon/persistence
# rm p*
# rm m*

Have diagnostics remap the system hardware

# cstm
cstm>remap
cstm>quit

Allow enough time for remap to finish before restarting the monitors.

Clean up monitor flags in the diagnostics directory

# cd /var/stm/data/tools/monitor
# rm *.hwa

Restart p_client

# vi /etc/inittab
Change the following line
#ems4:3456:respawn:/etc/opt/resmon/lbin/p_client
back to
ems4:3456:respawn:/etc/opt/resmon/lbin/p_client

Reread /etc/inittab :

# init q

Restart the EMS monitors

# /etc/opt/resmon/lbin/monconfig
Select (E)nable Monitoring

Thanks and Regards
Joe.
Knowledge is wealth