<?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: System process in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/system-process/m-p/4130871#M31378</link>
    <description>I'm not sure how usefull it is, but here's the line:&lt;BR /&gt;for i in `ll /proc|grep &lt;USER&gt;|awk '{print $NF}'`; do test -d /proc/${i}; if [ $? -eq "0" ]; then echo $i; fi; done&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;replace the string &lt;USER&gt; with the username.&lt;BR /&gt;&lt;/USER&gt;&lt;/USER&gt;</description>
    <pubDate>Thu, 17 Jan 2008 08:50:04 GMT</pubDate>
    <dc:creator>Alexander Chuzhoy</dc:creator>
    <dc:date>2008-01-17T08:50:04Z</dc:date>
    <item>
      <title>System process</title>
      <link>https://community.hpe.com/t5/operating-system-linux/system-process/m-p/4130867#M31374</link>
      <description>I know the path /proc have the user process in it , I use ll /proc and grep my login id , there are some process is display , but I found that some of these process is not real process , if I su other user then grep my_id again , it only display process id - 18257 , 18258 , these two process are really the process that I used in the system , can advise what make the difference ? how can I use my login id to grep my process without other unrelated process shown ?&lt;BR /&gt;Thx in advance.&lt;BR /&gt;&lt;BR /&gt;$ ll /proc |grep my_id&lt;BR /&gt;dr-xr-xr-x    3 my_id   edp                  0 Jan 17 15:49 14518&lt;BR /&gt;dr-xr-xr-x    3 my_id   edp                  0 Jan 17 15:49 16816&lt;BR /&gt;dr-xr-xr-x    3 my_id   edp                  0 Jan 17 15:49 18255&lt;BR /&gt;dr-xr-xr-x    3 my_id   edp                  0 Jan 17 15:49 18256&lt;BR /&gt;dr-xr-xr-x    3 my_id   edp                  0 Jan 17 15:49 18257&lt;BR /&gt;dr-xr-xr-x    3 my_id   edp                  0 Jan 17 15:49 18258&lt;BR /&gt;&lt;BR /&gt;su - ora_id &lt;BR /&gt;$ ll /proc |grep my_id&lt;BR /&gt;dr-xr-xr-x    3 my_id   edp                  0 Jan 17 15:49 18257&lt;BR /&gt;dr-xr-xr-x    3 my_id   edp                  0 Jan 17 15:49 18258</description>
      <pubDate>Thu, 17 Jan 2008 08:02:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/system-process/m-p/4130867#M31374</guid>
      <dc:creator>haeman</dc:creator>
      <dc:date>2008-01-17T08:02:30Z</dc:date>
    </item>
    <item>
      <title>Re: System process</title>
      <link>https://community.hpe.com/t5/operating-system-linux/system-process/m-p/4130868#M31375</link>
      <description>1. When you do ll as my_id - you actually start another process as my_id, which isn't happening when you do ll as ora.&lt;BR /&gt;&lt;BR /&gt;2. /proc has a directory for every process under it, but in general use `ps` with various options combinations like `ps aux` or `ps ef` to list running processes.</description>
      <pubDate>Thu, 17 Jan 2008 08:19:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/system-process/m-p/4130868#M31375</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2008-01-17T08:19:54Z</dc:date>
    </item>
    <item>
      <title>Re: System process</title>
      <link>https://community.hpe.com/t5/operating-system-linux/system-process/m-p/4130869#M31376</link>
      <description>thx reply ,&lt;BR /&gt;&lt;BR /&gt;except use ps , how can I make use the process in /proc to find the user process ?&lt;BR /&gt;&lt;BR /&gt;Please advise . thx</description>
      <pubDate>Thu, 17 Jan 2008 08:26:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/system-process/m-p/4130869#M31376</guid>
      <dc:creator>haeman</dc:creator>
      <dc:date>2008-01-17T08:26:41Z</dc:date>
    </item>
    <item>
      <title>Re: System process</title>
      <link>https://community.hpe.com/t5/operating-system-linux/system-process/m-p/4130870#M31377</link>
      <description>--&amp;gt; When you do ll as my_id - you actually start another process as my_id, which isn't happening when you do ll as ora.&lt;BR /&gt;&lt;BR /&gt;I know this is the reason , can advise how to solve it ? thx&lt;BR /&gt;</description>
      <pubDate>Thu, 17 Jan 2008 08:27:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/system-process/m-p/4130870#M31377</guid>
      <dc:creator>haeman</dc:creator>
      <dc:date>2008-01-17T08:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: System process</title>
      <link>https://community.hpe.com/t5/operating-system-linux/system-process/m-p/4130871#M31378</link>
      <description>I'm not sure how usefull it is, but here's the line:&lt;BR /&gt;for i in `ll /proc|grep &lt;USER&gt;|awk '{print $NF}'`; do test -d /proc/${i}; if [ $? -eq "0" ]; then echo $i; fi; done&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;replace the string &lt;USER&gt; with the username.&lt;BR /&gt;&lt;/USER&gt;&lt;/USER&gt;</description>
      <pubDate>Thu, 17 Jan 2008 08:50:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/system-process/m-p/4130871#M31378</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2008-01-17T08:50:04Z</dc:date>
    </item>
    <item>
      <title>Re: System process</title>
      <link>https://community.hpe.com/t5/operating-system-linux/system-process/m-p/4130872#M31379</link>
      <description>for i in `ll /proc|grep &lt;USER&gt;|awk '{print $NF}'`; do test -d /proc/${i}; if [ $? -eq "0" ]; then echo $i; fi; done&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;thx &lt;BR /&gt;&lt;BR /&gt;I try your script above , it will display less unrelated process , but still have ONE unrelated process , can advise how to erase it ? thx&lt;/USER&gt;</description>
      <pubDate>Thu, 17 Jan 2008 09:01:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/system-process/m-p/4130872#M31379</guid>
      <dc:creator>haeman</dc:creator>
      <dc:date>2008-01-17T09:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: System process</title>
      <link>https://community.hpe.com/t5/operating-system-linux/system-process/m-p/4130873#M31380</link>
      <description>Check what command starts this process.&lt;BR /&gt;cat /proc/&lt;PID&gt;/cmdline&lt;/PID&gt;</description>
      <pubDate>Thu, 17 Jan 2008 09:05:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/system-process/m-p/4130873#M31380</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2008-01-17T09:05:37Z</dc:date>
    </item>
    <item>
      <title>Re: System process</title>
      <link>https://community.hpe.com/t5/operating-system-linux/system-process/m-p/4130874#M31381</link>
      <description>--&amp;gt; cat /proc/&lt;PID&gt;/cmdline&lt;BR /&gt;&lt;BR /&gt;what is the use to check the command to start this process ? &lt;BR /&gt;&lt;BR /&gt;thx&lt;/PID&gt;</description>
      <pubDate>Thu, 17 Jan 2008 09:10:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/system-process/m-p/4130874#M31381</guid>
      <dc:creator>haeman</dc:creator>
      <dc:date>2008-01-17T09:10:44Z</dc:date>
    </item>
    <item>
      <title>Re: System process</title>
      <link>https://community.hpe.com/t5/operating-system-linux/system-process/m-p/4130875#M31382</link>
      <description>So that you'll know why this procees was started in the first place.&lt;BR /&gt;replace &lt;PID&gt; with the process number of the process that is bothering you.&lt;BR /&gt;&lt;BR /&gt;Please assign points.&lt;/PID&gt;</description>
      <pubDate>Thu, 17 Jan 2008 09:15:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/system-process/m-p/4130875#M31382</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2008-01-17T09:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: System process</title>
      <link>https://community.hpe.com/t5/operating-system-linux/system-process/m-p/4130876#M31383</link>
      <description>Why not just 'ps -u &lt;MY_ID&gt;' ?  It'll get your processes.&lt;BR /&gt;&lt;BR /&gt;If you just want the pid's, you can do that too with 'ps -u &lt;MY_ID&gt; -opid='.&lt;/MY_ID&gt;&lt;/MY_ID&gt;</description>
      <pubDate>Thu, 17 Jan 2008 10:06:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/system-process/m-p/4130876#M31383</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2008-01-17T10:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: System process</title>
      <link>https://community.hpe.com/t5/operating-system-linux/system-process/m-p/4130877#M31384</link>
      <description>yeah, walking and searching proc seems more trouble then it's worth. just get the list of pids with 'ps' and then you know which directories in /proc to use for whatever you want to do.</description>
      <pubDate>Fri, 18 Jan 2008 07:37:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/system-process/m-p/4130877#M31384</guid>
      <dc:creator>dirk dierickx</dc:creator>
      <dc:date>2008-01-18T07:37:27Z</dc:date>
    </item>
  </channel>
</rss>

