<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://dikapediav2.com/wiki/index.php?action=history&amp;feed=atom&amp;title=W</id>
	<title>W - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://dikapediav2.com/wiki/index.php?action=history&amp;feed=atom&amp;title=W"/>
	<link rel="alternate" type="text/html" href="https://dikapediav2.com/wiki/index.php?title=W&amp;action=history"/>
	<updated>2026-05-15T09:16:26Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.0</generator>
	<entry>
		<id>https://dikapediav2.com/wiki/index.php?title=W&amp;diff=205&amp;oldid=prev</id>
		<title>Ardika Sulistija: Created page with &quot;&lt;b&gt;w&lt;/b&gt; - Show who is logged on and what they are doing.  https://www.thegeekstuff.com/2009/03/4-ways-to-identify-who-is-logged-in-on-your-linux-system/   w command is used to show logged-in user names and what they are doing. The information will be read from /var/run/utmp file. The output of the w command contains the following columns:  Name of the user User’s machine number or tty number Remote machine address User’s Login time Idle time (not usable time) Time u...&quot;</title>
		<link rel="alternate" type="text/html" href="https://dikapediav2.com/wiki/index.php?title=W&amp;diff=205&amp;oldid=prev"/>
		<updated>2024-09-11T14:36:52Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;b&amp;gt;w&amp;lt;/b&amp;gt; - Show who is logged on and what they are doing.  https://www.thegeekstuff.com/2009/03/4-ways-to-identify-who-is-logged-in-on-your-linux-system/   w command is used to show logged-in user names and what they are doing. The information will be read from /var/run/utmp file. The output of the w command contains the following columns:  Name of the user User’s machine number or tty number Remote machine address User’s Login time Idle time (not usable time) Time u...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;b&amp;gt;w&amp;lt;/b&amp;gt; - Show who is logged on and what they are doing.&lt;br /&gt;
&lt;br /&gt;
https://www.thegeekstuff.com/2009/03/4-ways-to-identify-who-is-logged-in-on-your-linux-system/&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
w command is used to show logged-in user names and what they are doing. The information will be read from /var/run/utmp file. The output of the w command contains the following columns:&lt;br /&gt;
&lt;br /&gt;
Name of the user&lt;br /&gt;
User’s machine number or tty number&lt;br /&gt;
Remote machine address&lt;br /&gt;
User’s Login time&lt;br /&gt;
Idle time (not usable time)&lt;br /&gt;
Time used by all processes attached to the tty (JCPU time)&lt;br /&gt;
Time used by the current process (PCPU time)&lt;br /&gt;
Command currently getting executed by the users&lt;br /&gt;
 &lt;br /&gt;
Following options can be used for the w command:&lt;br /&gt;
&lt;br /&gt;
-h Ignore the header information&lt;br /&gt;
-u Display the load average (uptime output)&lt;br /&gt;
-s Remove the JCPU, PCPU, and login time.&lt;br /&gt;
 &lt;br /&gt;
 $ w&lt;br /&gt;
  23:04:27 up 29 days,  7:51,  3 users,  load average: 0.04, 0.06, 0.02&lt;br /&gt;
 USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU WHAT&lt;br /&gt;
 ramesh   pts/0    dev-db-server        22:57    8.00s  0.05s  0.01s sshd: ramesh [priv]&lt;br /&gt;
 jason    pts/1    dev-db-server        23:01    2:53   0.01s  0.01s -bash&lt;br /&gt;
 john     pts/2    dev-db-server        23:04    0.00s  0.00s  0.00s w&lt;br /&gt;
 &lt;br /&gt;
 $ w -h&lt;br /&gt;
 ramesh   pts/0    dev-db-server        22:57   17:43   2.52s  0.01s sshd: ramesh [priv]&lt;br /&gt;
 jason    pts/1    dev-db-server        23:01   20:28   0.01s  0.01s -bash&lt;br /&gt;
 john     pts/2    dev-db-server        23:04    0.00s  0.03s  0.00s w -h &lt;br /&gt;
 &lt;br /&gt;
 $ w -u&lt;br /&gt;
  23:22:06 up 29 days,  8:08,  3 users,  load average: 0.00, 0.00, 0.00&lt;br /&gt;
 USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU WHAT&lt;br /&gt;
 ramesh   pts/0    dev-db-server        22:57   17:47   2.52s  2.49s top&lt;br /&gt;
 jason    pts/1    dev-db-server        23:01   20:32   0.01s  0.01s -bash&lt;br /&gt;
 john     pts/2    dev-db-server        23:04    0.00s  0.03s  0.00s w -u  &lt;br /&gt;
 &lt;br /&gt;
 $ w -s&lt;br /&gt;
  23:22:10 up 29 days,  8:08,  3 users,  load average: 0.00, 0.00, 0.00&lt;br /&gt;
 USER     TTY      FROM               IDLE WHAT&lt;br /&gt;
 ramesh   pts/0    dev-db-server        17:51  sshd: ramesh [priv]&lt;br /&gt;
 jason    pts/1    dev-db-server        20:36  -bash&lt;br /&gt;
 john     pts/2    dev-db-server         1.00s w -s&lt;/div&gt;</summary>
		<author><name>Ardika Sulistija</name></author>
	</entry>
</feed>