The UNIX and Linux Forums  
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
.
google unix.com



UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !!

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to feed the output from grep command to paste command ks_reddy Shell Programming and Scripting 2 04-04-2009 03:47 AM
Command display output on console and simultaneously save the command and its output satimis UNIX for Dummies Questions & Answers 7 01-25-2009 08:27 PM
problem with output of find command being input to basename command... new_learner UNIX for Dummies Questions & Answers 2 12-14-2008 02:56 AM
output of who command sanjaykhuntia Linux 1 10-31-2007 08:35 AM
How can I cut output of command?? darthur UNIX for Dummies Questions & Answers 2 04-11-2002 02:50 PM

Reply
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 2 Weeks Ago
proactiveaditya proactiveaditya is offline
Registered User
  
 

Join Date: Sep 2009
Location: Kolkata,India
Posts: 127
Output of w command

I get the following output when i execute the w command:
Code:
[root@machine ~]# w
 22:35:16 up 73 days,  8:43,  4 users,  load average: 1.27, 0.38, 0.18
USER     TTY      FROM              LOGIN@   IDLE   JCPU   PCPU WHAT
root     :0       -                23Aug09 ?xdm?   5:57m  0.11s /usr/bin/gnome-session
root     pts/1    122.160.37.239   22:31    0.00s  0.01s  0.00s w
root     pts/2    :1.0             28Oct09  7days  0.01s  0.01s -bash
root     pts/4    :2.0             28Oct09  7days  0.01s  0.01s -bash
What does the ":1.0" and ":2.0" mean under the FROM column for the last two bash entries?
  #2 (permalink)  
Old 2 Weeks Ago
jlliagre jlliagre is offline Forum Advisor  
ɹǝsn sıɹɐlosuǝdo
  
 

Join Date: Dec 2007
Location: Paris
Posts: 1,382
X11 display numbers.
  #3 (permalink)  
Old 2 Weeks Ago
proactiveaditya proactiveaditya is offline
Registered User
  
 

Join Date: Sep 2009
Location: Kolkata,India
Posts: 127
@jlliagre
That means x11 was forwarded via ssh? pts/# in the TTY column means remote login i guess.
  #4 (permalink)  
Old 2 Weeks Ago
jlliagre jlliagre is offline Forum Advisor  
ɹǝsn sıɹɐlosuǝdo
  
 

Join Date: Dec 2007
Location: Paris
Posts: 1,382
pts just means a pseudo-tty is used, it might be local or remote.
In any case, :1 and :2 should be local X servers.

Please note that this command output format is Gnu/Linux specific and the documentation, as often, is quite terse on details.
Reply

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 10:46 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0