<?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: Identify processes launched from a directory in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/identify-processes-launched-from-a-directory/m-p/4426787#M355137</link>
    <description>Thanks Mobidyc,&lt;BR /&gt;&lt;BR /&gt;Yes, a bit ugly but it should work.&lt;BR /&gt;I'll do that.&lt;BR /&gt;&lt;BR /&gt;Many thanks&lt;BR /&gt;Jose</description>
    <pubDate>Tue, 26 May 2009 13:22:52 GMT</pubDate>
    <dc:creator>viacava_1</dc:creator>
    <dc:date>2009-05-26T13:22:52Z</dc:date>
    <item>
      <title>Identify processes launched from a directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/identify-processes-launched-from-a-directory/m-p/4426781#M355131</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I am writing a script that kills processes that were launched from a directory or a sub-directory of it.&lt;BR /&gt;I need to identify the processes to be killed.&lt;BR /&gt;I am doing that on machines with HP-UX 11.x. I know that lsof could help me but I am not sure it is installed on every machine.&lt;BR /&gt;Is there another way to do that ?&lt;BR /&gt;&lt;BR /&gt;Thanks to any help&lt;BR /&gt;Jose</description>
      <pubDate>Tue, 26 May 2009 12:17:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/identify-processes-launched-from-a-directory/m-p/4426781#M355131</guid>
      <dc:creator>viacava_1</dc:creator>
      <dc:date>2009-05-26T12:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: Identify processes launched from a directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/identify-processes-launched-from-a-directory/m-p/4426782#M355132</link>
      <description>Hello&lt;BR /&gt;&lt;BR /&gt;Maybe with fuser ?&lt;BR /&gt;but lsof would be a better choice.&lt;BR /&gt;&lt;BR /&gt;regards,&lt;BR /&gt;Cedrick Gaillard</description>
      <pubDate>Tue, 26 May 2009 12:23:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/identify-processes-launched-from-a-directory/m-p/4426782#M355132</guid>
      <dc:creator>mobidyc</dc:creator>
      <dc:date>2009-05-26T12:23:30Z</dc:date>
    </item>
    <item>
      <title>Re: Identify processes launched from a directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/identify-processes-launched-from-a-directory/m-p/4426783#M355133</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;ps -efx shows full command names. you can grep from the output.</description>
      <pubDate>Tue, 26 May 2009 12:42:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/identify-processes-launched-from-a-directory/m-p/4426783#M355133</guid>
      <dc:creator>Kenan Erdey</dc:creator>
      <dc:date>2009-05-26T12:42:26Z</dc:date>
    </item>
    <item>
      <title>Re: Identify processes launched from a directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/identify-processes-launched-from-a-directory/m-p/4426784#M355134</link>
      <description>Thanks Mobidyc.&lt;BR /&gt;I know fuser but I can't see how to use it for my problem. Fuser list processes using a file but not processes launched from a known directory.&lt;BR /&gt;&lt;BR /&gt;Jose</description>
      <pubDate>Tue, 26 May 2009 12:48:59 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/identify-processes-launched-from-a-directory/m-p/4426784#M355134</guid>
      <dc:creator>viacava_1</dc:creator>
      <dc:date>2009-05-26T12:48:59Z</dc:date>
    </item>
    <item>
      <title>Re: Identify processes launched from a directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/identify-processes-launched-from-a-directory/m-p/4426785#M355135</link>
      <description>Thanks Kenan.&lt;BR /&gt;Ps -efx is ok if processes are launched with full pathnames.&lt;BR /&gt;But how to deal with people doing that :&lt;BR /&gt;cd toto; ./truc&lt;BR /&gt;&lt;BR /&gt;Jose</description>
      <pubDate>Tue, 26 May 2009 12:51:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/identify-processes-launched-from-a-directory/m-p/4426785#M355135</guid>
      <dc:creator>viacava_1</dc:creator>
      <dc:date>2009-05-26T12:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: Identify processes launched from a directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/identify-processes-launched-from-a-directory/m-p/4426786#M355136</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;you could identify executable commands in the directory and fuser them:&lt;BR /&gt;fuser -u /usr/sbin/fuser&lt;BR /&gt;/usr/sbin/fuser:     6976t(root)&lt;BR /&gt;&lt;BR /&gt;a little bit ugly but it will work.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Cerick Gaillard</description>
      <pubDate>Tue, 26 May 2009 13:09:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/identify-processes-launched-from-a-directory/m-p/4426786#M355136</guid>
      <dc:creator>mobidyc</dc:creator>
      <dc:date>2009-05-26T13:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: Identify processes launched from a directory</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/identify-processes-launched-from-a-directory/m-p/4426787#M355137</link>
      <description>Thanks Mobidyc,&lt;BR /&gt;&lt;BR /&gt;Yes, a bit ugly but it should work.&lt;BR /&gt;I'll do that.&lt;BR /&gt;&lt;BR /&gt;Many thanks&lt;BR /&gt;Jose</description>
      <pubDate>Tue, 26 May 2009 13:22:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/identify-processes-launched-from-a-directory/m-p/4426787#M355137</guid>
      <dc:creator>viacava_1</dc:creator>
      <dc:date>2009-05-26T13:22:52Z</dc:date>
    </item>
  </channel>
</rss>

