1754325 Members
2381 Online
108813 Solutions
New Discussion

runlevel4_flag

 
SOLVED
Go to solution
Macho_2
Frequent Advisor

runlevel4_flag

Hi;

I want to know what is the purpose and related the runlevel4_flag file to the system. This file keep generate every months but with 0 byte of the file size and the permission set to world writable. This file located under /etc/opt/resmon/persistence/.



1 REPLY 1
Ermin Borovac
Honored Contributor
Solution

Re: runlevel4_flag

File runlevel4_flag and other files under /etc/opt/resmon are used by EMS. It should not be removed as it may cause EMS processes to malfunction.

On a system with a recent version of EMS here are relevant lines from /etc/inittab.

$ grep ems /etc/inittab
ems1::bootwait:/sbin/rm -f /etc/opt/resmon/persistence/runlevel4_flag
ems2::bootwait:/sbin/cat /etc/opt/resmon/persistence/reboot_flag
ems3:0123456:wait:/sbin/sh -c "/usr/bin/touch /etc/opt/resmon/persistence/runlevel4_flag; /usr/bin/chmod 644 /etc/opt/resmon/persistence/runlevel4_flag"
ems4:0123456:respawn:/etc/opt/resmon/lbin/p_client