<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; Посмотреть процессы без ps и top]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=18401&amp;type=atom" />
	<updated>2011-12-04T10:50:45Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=18401</id>
		<entry>
			<title type="html"><![CDATA[Re: Посмотреть процессы без ps и top]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=231031#p231031" />
			<content type="html"><![CDATA[<p>&gt;заметил отличие только в наличии &quot;/bin/&quot; </p><p>/bin/ls нужно только если алиасы работают. В скриптах они по умолчанию отключены.</p><p>Я просто поставил ^ в начале и $ в конце RE.</p>]]></content>
			<author>
				<name><![CDATA[drBatty]]></name>
				<uri>https://linuxforum.ru/profile.php?id=86</uri>
			</author>
			<updated>2011-12-04T10:50:45Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=231031#p231031</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Посмотреть процессы без ps и top]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=231018#p231018" />
			<content type="html"><![CDATA[<p>утро раннее... заметил отличие только в наличии &quot;/bin/&quot;&nbsp; smile</p>]]></content>
			<author>
				<name><![CDATA[Fat-Zer]]></name>
				<uri>https://linuxforum.ru/profile.php?id=11911</uri>
			</author>
			<updated>2011-12-04T10:39:39Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=231018#p231018</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Посмотреть процессы без ps и top]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=230835#p230835" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Fat-Zer пишет:</cite><blockquote><p>обоснование?</p></blockquote></div><p>что за процесс с PID&#039;ом i2o?&nbsp; :O </p><p>надо фильтровать <strong>только цифры</strong>, а не <strong>цифры</strong></p>]]></content>
			<author>
				<name><![CDATA[drBatty]]></name>
				<uri>https://linuxforum.ru/profile.php?id=86</uri>
			</author>
			<updated>2011-12-04T04:08:45Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=230835#p230835</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Посмотреть процессы без ps и top]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=230826#p230826" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>drBatty пишет:</cite><blockquote><p>Правильнее /bin/ls /proc/ | grep &#039;^[0-9]\+$&#039;</p></blockquote></div><p>обоснование?</p>]]></content>
			<author>
				<name><![CDATA[Fat-Zer]]></name>
				<uri>https://linuxforum.ru/profile.php?id=11911</uri>
			</author>
			<updated>2011-12-04T03:24:46Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=230826#p230826</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Посмотреть процессы без ps и top]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=230813#p230813" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>micro пишет:</cite><blockquote><p>Я примерно такой код накидал(выводить только PID всех процессов из папки /proc/)</p><p>#!/bin/bash<br />for i in $(ls /proc/ | grep &#039;[0-9]\+&#039;)<br />do<br />echo &quot;$i&quot;<br />done</p></blockquote></div><p>а зачем здесь цикл?<br />просто ls /proc/ | grep &#039;[0-9]\+&#039; чем вас не устраивает?<br />И да, у вас ошибка. Правильнее /bin/ls /proc/ | grep &#039;^[0-9]\+$&#039;</p>]]></content>
			<author>
				<name><![CDATA[drBatty]]></name>
				<uri>https://linuxforum.ru/profile.php?id=86</uri>
			</author>
			<updated>2011-12-04T01:52:36Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=230813#p230813</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Посмотреть процессы без ps и top]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=229507#p229507" />
			<content type="html"><![CDATA[<p>Разобрался, но задание немного усложнили надо вывести на экран PID процессов запущенных командами, расположенными в /sbin/ без использования ps и top</p><p>Я примерно такой код накидал(выводить только PID всех процессов из папки /proc/)</p><p>#!/bin/bash<br />for i in $(ls /proc/ | grep &#039;[0-9]\+&#039;)<br />do<br />echo &quot;$i&quot;<br />done</p>]]></content>
			<author>
				<name><![CDATA[micro]]></name>
				<uri>https://linuxforum.ru/profile.php?id=20723</uri>
			</author>
			<updated>2011-11-29T20:30:47Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=229507#p229507</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Посмотреть процессы без ps и top]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=228852#p228852" />
			<content type="html"><![CDATA[<p>а посмотреть в /var/run не вариант ?</p>]]></content>
			<author>
				<name><![CDATA[dada]]></name>
				<uri>https://linuxforum.ru/profile.php?id=11420</uri>
			</author>
			<updated>2011-11-27T20:16:23Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=228852#p228852</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Посмотреть процессы без ps и top]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=228712#p228712" />
			<content type="html"><![CDATA[<p>посмотрите директории в /proc/, имя которых состоит из цифр</p>]]></content>
			<author>
				<name><![CDATA[Hrafn]]></name>
			</author>
			<updated>2011-11-27T14:09:35Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=228712#p228712</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Посмотреть процессы без ps и top]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=228699#p228699" />
			<content type="html"><![CDATA[<p>Вот такое у меня задание, нужно каким-то образом вывести PID процессов, но без ps или top. Если есть способ поделитесь пожалуйста</p>]]></content>
			<author>
				<name><![CDATA[micro]]></name>
				<uri>https://linuxforum.ru/profile.php?id=20723</uri>
			</author>
			<updated>2011-11-27T14:03:00Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=228699#p228699</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Посмотреть процессы без ps и top]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=228693#p228693" />
			<content type="html"><![CDATA[<p>А чем <strong>ps</strong> не устраивает?<br /><div class="termtitle" style="font-family: sans-serif; position:relative; height:auto; width:auto; background:#3A4061; color:#FFFFFF; padding: 1px;"><b> Консоль:</b></div>
<div class="termcont" style="font-family: Terminus; position:relative; height:auto; width:auto; overflow-x:scroll; white-space: nowrap ; overflow-y:auto;background:#000000; color:#4EF44E; line-height:1.2; padding: 3px; font-size: 1rem; max-height: 60vh">ps -e -o pid,args --forest &gt; ps.txt</div></p>]]></content>
			<author>
				<name><![CDATA[durc]]></name>
				<uri>https://linuxforum.ru/profile.php?id=3704</uri>
			</author>
			<updated>2011-11-27T13:59:07Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=228693#p228693</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Посмотреть процессы без ps и top]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=228680#p228680" />
			<content type="html"><![CDATA[<p>Здравствуйте. Подскажите как вывести в файл(или просто вывести) PID всех процессов, которые были запущены командами БЕЗ ИСПОЛЬЗОВАНИЯ КОМАНД -ps и -top. <br />Пожалуйста помогите</p>]]></content>
			<author>
				<name><![CDATA[micro]]></name>
				<uri>https://linuxforum.ru/profile.php?id=20723</uri>
			</author>
			<updated>2011-11-27T13:37:39Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=228680#p228680</id>
		</entry>
</feed>
