<?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>/var/run/utmp &#8211; lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</title>
	<atom:link href="https://lifelinux.com/tag/varrunutmp/feed/" rel="self" type="application/rss+xml" />
	<link>https://lifelinux.com</link>
	<description>All About Linux !</description>
	<lastBuildDate>Tue, 03 Jan 2012 08:02:57 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.5.3</generator>
	<item>
		<title>How To View Linux Last Reboot / Shutdown Date And Time</title>
		<link>https://lifelinux.com/how-to-view-linux-last-reboot-shutdown-date-and-time/</link>
					<comments>https://lifelinux.com/how-to-view-linux-last-reboot-shutdown-date-and-time/#respond</comments>
		
		<dc:creator><![CDATA[lifeLinux]]></dc:creator>
		<pubDate>Tue, 03 Jan 2012 07:47:48 +0000</pubDate>
				<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[Sys Admin]]></category>
		<category><![CDATA[/var/log/wtmp]]></category>
		<category><![CDATA[/var/run/utmp]]></category>
		<category><![CDATA[aix last reboot]]></category>
		<category><![CDATA[command searches]]></category>
		<category><![CDATA[display server reboot time]]></category>
		<category><![CDATA[display server shutdown time]]></category>
		<category><![CDATA[last command]]></category>
		<category><![CDATA[linux last command]]></category>
		<category><![CDATA[linux last login]]></category>
		<category><![CDATA[linux sys admin]]></category>
		<category><![CDATA[reboot system]]></category>
		<category><![CDATA[server last reboot]]></category>
		<category><![CDATA[shutdown system]]></category>
		<category><![CDATA[time of last system boot]]></category>
		<category><![CDATA[unix last reboot]]></category>
		<category><![CDATA[wtmp]]></category>
		<guid isPermaLink="false">http://www.lifelinux.com/?p=1295</guid>

					<description><![CDATA[<p>Q. How do you find Linux system last reboot/shutdown date and time? A. You can use &#8220;last&#8221; command which will display all the previous reboot date and time for the system. This picks the information from the /var/log/wtmp file. Last command Use last command to display listing of system last reboot time and date: # [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://lifelinux.com/how-to-view-linux-last-reboot-shutdown-date-and-time/">How To View Linux Last Reboot / Shutdown Date And Time</a> appeared first on <a rel="nofollow" href="https://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p></p><p><span style="color: #ff0000;"><strong>Q</strong></span>. How do you find Linux system last reboot/shutdown date and time?<br />
<span style="color: #008000;"><strong>A</strong></span>. You can use &#8220;last&#8221; command which will display all the previous reboot date and time for the system. This picks the information from the /var/log/wtmp file.<br />
<span id="more-1295"></span></p>
<h2>Last command</h2>
<p>Use last command to display listing of system last reboot time and date:</p>
<pre># last reboot -1</pre>
<p>Output</p>
<pre>reboot   system boot  2.6.18-274.12.1. Wed Dec 14 06:01</pre>
<p>To display last shutdown date and time use following command:</p>
<pre># last -x | grep shutdown | head -1</pre>
<p>Output</p>
<pre>shutdown system down  2.6.18-274.12.1. Wed Dec 14 06:44</pre>
<h2>Who command</h2>
<p>Use the &#8220;who -b&#8221; command which displays the last system reboot date and time</p>
<pre># who -b</pre>
<p>Output</p>
<pre>system boot  2011-12-14 06:44</pre>
<g:plusone href="https://lifelinux.com/how-to-view-linux-last-reboot-shutdown-date-and-time/" size="standard"  annotation="none"   ></g:plusone><p>The post <a rel="nofollow" href="https://lifelinux.com/how-to-view-linux-last-reboot-shutdown-date-and-time/">How To View Linux Last Reboot / Shutdown Date And Time</a> appeared first on <a rel="nofollow" href="https://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://lifelinux.com/how-to-view-linux-last-reboot-shutdown-date-and-time/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Linux Shutdown Command</title>
		<link>https://lifelinux.com/linux-shutdown-command/</link>
					<comments>https://lifelinux.com/linux-shutdown-command/#respond</comments>
		
		<dc:creator><![CDATA[lifeLinux]]></dc:creator>
		<pubDate>Wed, 24 Aug 2011 01:03:58 +0000</pubDate>
				<category><![CDATA[Sys Admin]]></category>
		<category><![CDATA[/var/log/wtmp]]></category>
		<category><![CDATA[/var/run/utmp]]></category>
		<category><![CDATA[24hr clock]]></category>
		<category><![CDATA[broadcast message]]></category>
		<category><![CDATA[CentOS shutdown command]]></category>
		<category><![CDATA[command line options]]></category>
		<category><![CDATA[Debian shutdown command]]></category>
		<category><![CDATA[Fedora shutdown command]]></category>
		<category><![CDATA[Gentoo shutdown command]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[linux server]]></category>
		<category><![CDATA[linux shutdown]]></category>
		<category><![CDATA[Mandriva shutdown command]]></category>
		<category><![CDATA[OpenSUSE shutdown command]]></category>
		<category><![CDATA[option requests]]></category>
		<category><![CDATA[Redhat shutdown command]]></category>
		<category><![CDATA[remote server]]></category>
		<category><![CDATA[RHEL shutdown command]]></category>
		<category><![CDATA[root user]]></category>
		<category><![CDATA[safe way]]></category>
		<category><![CDATA[servers]]></category>
		<category><![CDATA[shutdown command]]></category>
		<category><![CDATA[Slackware shutdown command]]></category>
		<category><![CDATA[ssh command]]></category>
		<category><![CDATA[Suse shutdown command]]></category>
		<category><![CDATA[system shutdown]]></category>
		<category><![CDATA[Ubuntu shutdown command]]></category>
		<guid isPermaLink="false">http://www.lifelinux.com/?p=1017</guid>

					<description><![CDATA[<p>shutdown command brings the system down in a secure way. All logged-in users are notified that the system is going down, and login is blocked. It is possible to shut the system down immediately or after a specified delay. All processes are first notified that the system is going down by the signal SIGTERM. This [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://lifelinux.com/linux-shutdown-command/">Linux Shutdown Command</a> appeared first on <a rel="nofollow" href="https://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p></p><blockquote><p>shutdown command brings the system down in a secure way. All logged-in users are notified that the system is going down, and login is blocked. It is possible to shut the system down immediately or after a specified delay. All processes are first notified that the system is going down by the signal SIGTERM. This gives programs like vi the time to save the file being edited, mail and news processing programs a chance to exit cleanly, etc. shutdown does its job by signalling the init process, asking it to change the runlevel. Runlevel 0 is used to halt the system, runlevel 6 is used to reboot the system, and runlevel 1 is used to put to system into a state where administrative tasks can be performed; this is the default if neither the -h or -r flag is given to shutdown. To see which actions are taken on halt or reboot see the appropriate entries for these runlevels in the file /etc/inittab.(http://linux.about.com/od/commands/l/blcmdl8_shutdow.htm)</p></blockquote>
<p><span id="more-1017"></span></p>
<h2>Shutdown the machine immediately</h2>
<p>Type the following command as root</p>
<pre>
# shutdown -h now
</pre>
<h2>Shutdown the machine with user defined message</h2>
<pre>
# shutdown -h now 'Server is going down for replace old hardware'
</pre>
<h2>Scheduling the shutdown</h2>
<p>Example, schedule shutdown for 3 AM.</p>
<pre>
# shutdown -h 03:00
</pre>
<p>Schedule shutdown the system in 5 minutes</p>
<pre>
# shutdown -h +5
</pre>
<h2>Reboot the machine immediately</h2>
<pre>
# shutdowm -r now
</pre>
<h2>Cancel a running shutdown</h2>
<pre>
# shutdown -c
</pre>
<g:plusone href="https://lifelinux.com/linux-shutdown-command/" size="standard"  annotation="none"   ></g:plusone><p>The post <a rel="nofollow" href="https://lifelinux.com/linux-shutdown-command/">Linux Shutdown Command</a> appeared first on <a rel="nofollow" href="https://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://lifelinux.com/linux-shutdown-command/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Listing Of Last Reboot / Shutdown Date And Time</title>
		<link>https://lifelinux.com/listing-of-last-reboot-shutdown-date-and-time/</link>
					<comments>https://lifelinux.com/listing-of-last-reboot-shutdown-date-and-time/#respond</comments>
		
		<dc:creator><![CDATA[lifeLinux]]></dc:creator>
		<pubDate>Wed, 24 Aug 2011 00:48:51 +0000</pubDate>
				<category><![CDATA[Monitoring]]></category>
		<category><![CDATA[Sys Admin]]></category>
		<category><![CDATA[/var/log/wtmp]]></category>
		<category><![CDATA[/var/run/utmp]]></category>
		<category><![CDATA[aix last reboot]]></category>
		<category><![CDATA[command searches]]></category>
		<category><![CDATA[display server reboot time]]></category>
		<category><![CDATA[display server shutdown time]]></category>
		<category><![CDATA[last command]]></category>
		<category><![CDATA[last reboot]]></category>
		<category><![CDATA[linux last command]]></category>
		<category><![CDATA[linux last login]]></category>
		<category><![CDATA[linux sys admin]]></category>
		<category><![CDATA[reboot system]]></category>
		<category><![CDATA[server last reboot]]></category>
		<category><![CDATA[shutdown system]]></category>
		<category><![CDATA[time of last system boot]]></category>
		<category><![CDATA[unix last reboot]]></category>
		<category><![CDATA[wtmp]]></category>
		<guid isPermaLink="false">http://www.lifelinux.com/?p=1009</guid>

					<description><![CDATA[<p>Using last command to show listing of last reboot / shutdown date and time. Last command which searches back through the file /var/log/wtmp (or the file designated by the -f flag) and displays a list of all users logged in (and out) since that file was created. Names of users and tty&#8217;s can be given, [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://lifelinux.com/listing-of-last-reboot-shutdown-date-and-time/">Listing Of Last Reboot / Shutdown Date And Time</a> appeared first on <a rel="nofollow" href="https://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p></p><p>Using <strong>last command</strong> to show listing of last reboot / shutdown date and time. <strong>Last command</strong> which searches back through the file /var/log/wtmp (or the file designated by the -f flag) and displays a list of all users logged in (and out) since that file was created. Names of users and tty&#8217;s can be given, in which case last will show only those entries matching the arguments. Names of ttys can be abbreviated, thus last 0 is the same as last tty0.<br />
<span id="more-1009"></span><br />
To show listing of last reboot, type the following command</p>
<pre>
# last reboot
</pre>
<p>Sample output</p>
<pre>
reboot   system boot  2.6.18-194.32.1. Wed May 25 09:52         (90+21:57)
reboot   system boot  2.6.18-194.32.1. Sat Apr 23 09:20         (122+22:28)
reboot   system boot  2.6.18-194.32.1. Mon Apr 18 14:13         (4+02:33)

wtmp begins Tue Apr  5 15:15:41 2011
</pre>
<p>To show listing of last shutdown, type the following command</p>
<pre>
# last -x | grep down
</pre>
<p>Sample output</p>
<pre>
shutdown system down  2.6.18-194.32.1. Fri Apr 22 16:46 - 07:50 (123+15:03)
</pre>
<p><strong>Where</strong><br />
-x: Display the system shutdown entries and run level changes.</p>
<g:plusone href="https://lifelinux.com/listing-of-last-reboot-shutdown-date-and-time/" size="standard"  annotation="none"   ></g:plusone><p>The post <a rel="nofollow" href="https://lifelinux.com/listing-of-last-reboot-shutdown-date-and-time/">Listing Of Last Reboot / Shutdown Date And Time</a> appeared first on <a rel="nofollow" href="https://lifelinux.com">lifeLinux: Linux Tips, Hacks, Tutorials, Ebooks</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://lifelinux.com/listing-of-last-reboot-shutdown-date-and-time/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
