<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: EMS and toggle_switch in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/ems-and-toggle-switch/m-p/2779897#M76928</link>
    <description>Yes!&lt;BR /&gt;Running ./monconfig gives me the current status. Fine.&lt;BR /&gt;&lt;BR /&gt;But&lt;BR /&gt;Even in disabled EMS state &lt;BR /&gt;emsagent &lt;BR /&gt;p_client &lt;BR /&gt;are still running.&lt;BR /&gt;&lt;BR /&gt;Don't they get killed in disabled state ?&lt;BR /&gt;How do i know by the processes whether it is in enabled or disabled state.&lt;BR /&gt;</description>
    <pubDate>Tue, 06 Aug 2002 04:26:47 GMT</pubDate>
    <dc:creator>Aravind_3</dc:creator>
    <dc:date>2002-08-06T04:26:47Z</dc:date>
    <item>
      <title>EMS and toggle_switch</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ems-and-toggle-switch/m-p/2779891#M76922</link>
      <description>Here's one executable /etc/opt/resmon/lbin/toggle_switch&lt;BR /&gt;in connection with EMS (Event Monitoring Service )&lt;BR /&gt;&lt;BR /&gt;EMS can invoked by toggle_switch restart option&lt;BR /&gt;and can be stopped by&lt;BR /&gt;toggle_switch stop option&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I would like to know which is the process which gets killed when we use&lt;BR /&gt;&lt;BR /&gt;/etc/opt/resmon/lbin/toggle_switch stop&lt;BR /&gt;&lt;BR /&gt;Or&lt;BR /&gt;&lt;BR /&gt;Which are the processes it starts when we execute this&lt;BR /&gt;/etc/opt/resmon/lbin/toggle_switch restart&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks &lt;BR /&gt;Aravind</description>
      <pubDate>Mon, 05 Aug 2002 15:07:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ems-and-toggle-switch/m-p/2779891#M76922</guid>
      <dc:creator>Aravind_3</dc:creator>
      <dc:date>2002-08-05T15:07:37Z</dc:date>
    </item>
    <item>
      <title>Re: EMS and toggle_switch</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ems-and-toggle-switch/m-p/2779892#M76923</link>
      <description>Aravind,&lt;BR /&gt;/etc/opt/resmon/lbin/toggle_switch restart affects the following:&lt;BR /&gt;&lt;BR /&gt;/etc/opt/resmon/lbin/start mon_client&lt;BR /&gt;/etc/opt/resmon/lbin/registrar&lt;BR /&gt;/etc/opt/resmon/lbin/startmon_client&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Cheryl</description>
      <pubDate>Mon, 05 Aug 2002 15:20:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ems-and-toggle-switch/m-p/2779892#M76923</guid>
      <dc:creator>Cheryl Griffin</dc:creator>
      <dc:date>2002-08-05T15:20:36Z</dc:date>
    </item>
    <item>
      <title>Re: EMS and toggle_switch</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ems-and-toggle-switch/m-p/2779893#M76924</link>
      <description>I'm not sure if this will answer your question. If you do ..&lt;BR /&gt;# strings toggle_switch | more&lt;BR /&gt;and look closely the first 50 or so lines, you'll see that "toggle_switch" actually calls "cstm" and passing these parameters to it ( from file /var/stm/data/tools/monitor/stop_psm and start_psm )&lt;BR /&gt;The "stop_psm" file has this ..&lt;BR /&gt;DaemonShutdown daemon -all,"psmctd" OK&lt;BR /&gt;and "start_pasm" file has this ..&lt;BR /&gt;DaemonStartup daemon -all,"psmctd" OK&lt;BR /&gt;In cstm ...&lt;BR /&gt;cstm &amp;gt; daemonstartup&lt;BR /&gt;(To shutdown ...&lt;BR /&gt;1) cclogd&lt;BR /&gt;2) diaglogd&lt;BR /&gt;3) memlogd&lt;BR /&gt;..so that's tell me running "toggle_switch" actually restart all 1,2 and 3.&lt;BR /&gt;</description>
      <pubDate>Mon, 05 Aug 2002 15:37:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ems-and-toggle-switch/m-p/2779893#M76924</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2002-08-05T15:37:12Z</dc:date>
    </item>
    <item>
      <title>Re: EMS and toggle_switch</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ems-and-toggle-switch/m-p/2779894#M76925</link>
      <description>To make things more simpler:&lt;BR /&gt;&lt;BR /&gt;I would like to know&lt;BR /&gt;how do i know whether the EMS is in enabled state or &lt;BR /&gt;EMS is in disabled state ?&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Aug 2002 03:51:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ems-and-toggle-switch/m-p/2779894#M76925</guid>
      <dc:creator>Aravind_3</dc:creator>
      <dc:date>2002-08-06T03:51:41Z</dc:date>
    </item>
    <item>
      <title>Re: EMS and toggle_switch</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ems-and-toggle-switch/m-p/2779895#M76926</link>
      <description>You would ..&lt;BR /&gt;# cd /etc/opt/resmon/lbin&lt;BR /&gt;# ./monconfig&lt;BR /&gt;==&amp;gt; You would see "EVENT MONITORING IS CURRENTLY ENABLED" if EMS is enabled. This is followed by a list of options in the "Monitoring Request Manager Menu".&lt;BR /&gt;Also (to really confirm ..)&lt;BR /&gt;# ps -ef|grep resmon&lt;BR /&gt;==&amp;gt; You should see 2 processes running is EMS is enabled.. They are ..&lt;BR /&gt;a) emsagent&lt;BR /&gt;b) p_client</description>
      <pubDate>Tue, 06 Aug 2002 04:16:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ems-and-toggle-switch/m-p/2779895#M76926</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2002-08-06T04:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: EMS and toggle_switch</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ems-and-toggle-switch/m-p/2779896#M76927</link>
      <description>Hi,&lt;BR /&gt;To answer your last question, execute :&lt;BR /&gt;/etc/opt/resmon/lbin/monconfig&lt;BR /&gt;&lt;BR /&gt;Hope it helps,&lt;BR /&gt;Tom&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Aug 2002 04:18:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ems-and-toggle-switch/m-p/2779896#M76927</guid>
      <dc:creator>Tom Geudens</dc:creator>
      <dc:date>2002-08-06T04:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: EMS and toggle_switch</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ems-and-toggle-switch/m-p/2779897#M76928</link>
      <description>Yes!&lt;BR /&gt;Running ./monconfig gives me the current status. Fine.&lt;BR /&gt;&lt;BR /&gt;But&lt;BR /&gt;Even in disabled EMS state &lt;BR /&gt;emsagent &lt;BR /&gt;p_client &lt;BR /&gt;are still running.&lt;BR /&gt;&lt;BR /&gt;Don't they get killed in disabled state ?&lt;BR /&gt;How do i know by the processes whether it is in enabled or disabled state.&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Aug 2002 04:26:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ems-and-toggle-switch/m-p/2779897#M76928</guid>
      <dc:creator>Aravind_3</dc:creator>
      <dc:date>2002-08-06T04:26:47Z</dc:date>
    </item>
    <item>
      <title>Re: EMS and toggle_switch</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ems-and-toggle-switch/m-p/2779898#M76929</link>
      <description>Yes!&lt;BR /&gt;Running ./monconfig gives me the current status. Fine.&lt;BR /&gt;&lt;BR /&gt;But&lt;BR /&gt;Even in disabled EMS state &lt;BR /&gt;emsagent &lt;BR /&gt;p_client &lt;BR /&gt;are still running.&lt;BR /&gt;&lt;BR /&gt;Don't they get killed in disabled state ?&lt;BR /&gt;How do i know by the processes whether it is in enabled or disabled state.&lt;BR /&gt;</description>
      <pubDate>Tue, 06 Aug 2002 04:30:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ems-and-toggle-switch/m-p/2779898#M76929</guid>
      <dc:creator>Aravind_3</dc:creator>
      <dc:date>2002-08-06T04:30:17Z</dc:date>
    </item>
    <item>
      <title>Re: EMS and toggle_switch</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/ems-and-toggle-switch/m-p/2779899#M76930</link>
      <description>Good question .. it almost got me too ! The existence of these 2 processes (emsagent and p_client) confirms EMS is running. The reason why they are always in the process list is because I think /etc/inittab respawns them. Just take a look at /etc/inittab, you should see entries that has ems1-&amp;gt;ems4 in it. What you can do is before you run monconfig to disable EMS, edit /etc/inittab and comment these lines out with a "#" then run ..&lt;BR /&gt;# init q&lt;BR /&gt;to re-read /etc/inittab. Now run monconfig and disable (the "K" option). I bet emsagent and p_client will not be restarted.</description>
      <pubDate>Tue, 06 Aug 2002 05:29:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/ems-and-toggle-switch/m-p/2779899#M76930</guid>
      <dc:creator>S.K. Chan</dc:creator>
      <dc:date>2002-08-06T05:29:30Z</dc:date>
    </item>
  </channel>
</rss>

