<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>cat command &#8211; lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</title>
	<atom:link href="http://lifelinux.com/tag/cat-command/feed/" rel="self" type="application/rss+xml" />
	<link>http://lifelinux.com</link>
	<description>All About Linux !</description>
	<lastBuildDate>Thu, 19 May 2011 15:24:34 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.5.15</generator>
	<item>
		<title>Linux Display CPU Information</title>
		<link>http://lifelinux.com/linux-display-cpu-information/</link>
					<comments>http://lifelinux.com/linux-display-cpu-information/#respond</comments>
		
		<dc:creator><![CDATA[lifeLinux]]></dc:creator>
		<pubDate>Thu, 19 May 2011 14:57:12 +0000</pubDate>
				<category><![CDATA[Sys Admin]]></category>
		<category><![CDATA[architecture]]></category>
		<category><![CDATA[cat command]]></category>
		<category><![CDATA[cpuinfo]]></category>
		<category><![CDATA[grep command]]></category>
		<category><![CDATA[intel]]></category>
		<category><![CDATA[lshw]]></category>
		<category><![CDATA[lshw command]]></category>
		<category><![CDATA[number of processors]]></category>
		<category><![CDATA[proc cpuinfo file]]></category>
		<category><![CDATA[xeon]]></category>
		<guid isPermaLink="false">http://www.lifelinux.com/?p=651</guid>

					<description><![CDATA[<p>Q. How do I display CPU information in Linux ? A.You can get information of /proc/cpuinfo file or use lshw command to display CPU information in Linux. Display CPU information from /proc/cpuinfo file /proc/cpuinfo is a short, read-only, plain text file that contains information about the CPUs (central processing units) on a computer. Type the following command [&#8230;]</p>
<p>The post <a rel="nofollow" href="http://lifelinux.com/linux-display-cpu-information/">Linux Display CPU Information</a> appeared first on <a rel="nofollow" href="http://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p></p><p><span style="color: #ff0000;">Q.</span> How do I display CPU information in Linux ?<br />
<span style="color: #008000;">A.</span>You can get information of <strong>/proc/cpuinfo</strong> file or use <strong>lshw</strong> command to display CPU information in Linux.<span id="more-651"></span></p>
<h3>Display CPU information from /proc/cpuinfo file</h3>
<p><strong>/proc/cpuinfo</strong> is a short, read-only, plain text file that contains information about the CPUs (central processing units) on a computer.<br />
Type the following command to display CPU information:</p>
<pre># cat /proc/cpuinfo</pre>
<p>Sample outputs</p>
<pre>processor	: 0
vendor_id	: GenuineIntel
cpu family	: 6
model		: 37
model name	: Intel(R) Core(TM) i3 CPU       M 350  @ 2.27GHz
stepping	: 5
cpu MHz		: 931.000
cache size	: 3072 KB
physical id	: 0
siblings	: 4
core id		: 0
cpu cores	: 2
apicid		: 0
initial apicid	: 0
fpu		: yes
fpu_exception	: yes
cpuid level	: 11
wp		: yes
flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm arat dts tpr_shadow vnmi flexpriority ept vpid
bogomips	: 4522.67
clflush size	: 64
cache_alignment	: 64
address sizes	: 36 bits physical, 48 bits virtual
power management:
...</pre>
<p>To display number of processors in the system, type the following command:</p>
<pre># cat /proc/cpuinfo | grep processor</pre>
<p>Sample output</p>
<pre>processor	: 0
processor	: 1
processor	: 2
processor	: 3</pre>
<h3>Using lshw command</h3>
<p>Type the following command</p>
<pre># lshw -class processor</pre>
<p>Sample output</p>
<pre>WARNING: you should run this program as super-user.
  *-cpu
       product: Intel(R) Core(TM) i3 CPU       M 350  @ 2.27GHz
       vendor: Intel Corp.
       physical id: 1
       bus info: cpu@0
       size: 931MHz
       capacity: 931MHz
       width: 64 bits
       capabilities: fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp x86-64 constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm sse4_1 sse4_2 popcnt lahf_lm arat tpr_shadow vnmi flexpriority ept vpid cpufreq</pre>
<g:plusone href="http://lifelinux.com/linux-display-cpu-information/" size="standard"  annotation="none"   ></g:plusone><p>The post <a rel="nofollow" href="http://lifelinux.com/linux-display-cpu-information/">Linux Display CPU Information</a> appeared first on <a rel="nofollow" href="http://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>http://lifelinux.com/linux-display-cpu-information/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How To Increase The Number Of PTY (Pseudo-Terminal Driver)</title>
		<link>http://lifelinux.com/how-to-increase-the-number-of-pty-pseudo-terminal-driver/</link>
					<comments>http://lifelinux.com/how-to-increase-the-number-of-pty-pseudo-terminal-driver/#respond</comments>
		
		<dc:creator><![CDATA[lifeLinux]]></dc:creator>
		<pubDate>Sat, 14 May 2011 10:27:31 +0000</pubDate>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[cat command]]></category>
		<category><![CDATA[character devices]]></category>
		<category><![CDATA[communication channel]]></category>
		<category><![CDATA[kernel configuration]]></category>
		<category><![CDATA[linux installation]]></category>
		<category><![CDATA[login sessions]]></category>
		<category><![CDATA[master slave]]></category>
		<category><![CDATA[maximum number]]></category>
		<category><![CDATA[pseudo terminal]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[sysctl command]]></category>
		<category><![CDATA[vi command]]></category>
		<guid isPermaLink="false">http://www.lifelinux.com/?p=488</guid>

					<description><![CDATA[<p>What is PTY? A pseudo-terminal (PTY) is a pair of virtual character devices that provide a bidirectional communication channel. One end of the channel is called the master; the other end is called the slave. The slave end of the pseudo-terminal provides an interface that behaves exactly like a classical terminal. A process that expects [&#8230;]</p>
<p>The post <a rel="nofollow" href="http://lifelinux.com/how-to-increase-the-number-of-pty-pseudo-terminal-driver/">How To Increase The Number Of PTY (Pseudo-Terminal Driver)</a> appeared first on <a rel="nofollow" href="http://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p></p><h3>What is PTY?</h3>
<p>A <strong>pseudo-terminal</strong> (PTY) is a pair of virtual character devices that provide a bidirectional communication channel. One end of the channel is called the master; the other end is called the slave. The slave end of the pseudo-terminal provides an interface that behaves exactly like a classical terminal. A process that expects to be connected to a terminal, can open the slave end of a pseudo-terminal and then be driven by a program that has opened the master end. Anything that is written on the master end is provided to the process on the slave end as though it was input typed on a terminal.<span id="more-488"></span></p>
<h3>Check maximum number of PTY</h3>
<p>Login as root and type the following command</p>
<pre>
[root@lifelinux ~]# cat /proc/sys/kernel/pty/max
</pre>
<p>Sample output</p>
<pre>
4096
</pre>
<h3>Increase the maximum number of PTY temporarily</h3>
<p>If you need to increase the PTYs to allow more sessions temporarily. Type the following command</p>
<pre>
[root@lifelinux ~]# echo 5000 > /proc/sys/kernel/pty/max
</pre>
<p>The setting is changed instantly but this setting will be erased after the reboot.</p>
<h3>Increase the maximum number of PTY permanently</h3>
<p>Edit kernel configuration file at /etc/sysctl.conf, enter</p>
<pre>
[root@lifelinux ~]# vi /etc/sysctl.conf
</pre>
<p>Add or edit following config directive</p>
<pre>
kernel.pty.max = 5000
</pre>
<p>To enable the changes made in sysctl.conf you will need to run the command</p>
<pre>
[root@lifelinux ~]# sysctl -p
</pre>
<g:plusone href="http://lifelinux.com/how-to-increase-the-number-of-pty-pseudo-terminal-driver/" size="standard"  annotation="none"   ></g:plusone><p>The post <a rel="nofollow" href="http://lifelinux.com/how-to-increase-the-number-of-pty-pseudo-terminal-driver/">How To Increase The Number Of PTY (Pseudo-Terminal Driver)</a> appeared first on <a rel="nofollow" href="http://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>http://lifelinux.com/how-to-increase-the-number-of-pty-pseudo-terminal-driver/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
