Page 1 of 2 12 LastLast
Results 1 to 10 of 18

Thread: Need to know this

  1. #1
    Join Date
    Mar 2011
    Location
    India
    Posts
    303

    Default Need to know this

    Hi,

    I am using 11.4 Gnome (64bit).

    I installed gkrellm to monitor system resources, temp, etc.

    One unusual thing I noticed is that it is showing 2 users (i.e. the no. of user logged in =2) whereas only I am logged in.

    To find out which users are logged in I used the "users" command in terminal. It prints my username 3 times.

    Code:
    >users 
    bob bob bob
    Is this normal?

  2. #2
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,140
    Blog Entries
    48

    Smile Re: Need to know this

    It appears to be normal. I also found a useful command "w" that shows what they are:

    Code:
    james@linux-l9oq:~> users
    james james james
    james@linux-l9oq:~> w
     13:02:18 up 16:48,  3 users,  load average: 0.37, 0.47, 0.32
    USER     TTY        LOGIN@   IDLE   JCPU   PCPU WHAT
    james    :0        Sun19   ?xdm?   5:59m  0.03s /bin/sh /usr/bin/startkde
    james    pts/0     Sun19   17:48m  0.00s  2.35s kdeinit4: kded4 [kdeinit]                      
    james    pts/3     11:13    0.00s  0.12s  0.00s w
    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  3. #3
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,136

    Default Re: Need to know this

    And for every terminal window (Konsole, xterm) you start, you get one more
    Henk van Velden

  4. #4
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: Need to know this

    On 03/14/2011 07:06 PM, jdmcdaniel3 wrote:
    >
    > I also found a useful command "w"


    way cool!!! and nice to know..

    --
    DenverD
    CAVEAT: http://is.gd/bpoMD
    [NNTP posted w/openSUSE 11.3, KDE4.5.5, Thunderbird3.1.8, nVidia
    173.14.28 3D, Athlon 64 3000+]
    "It is far easier to read, understand and follow the instructions than
    to undo the problems caused by not." DD 23 Jan 11

  5. #5
    Join Date
    Mar 2011
    Location
    India
    Posts
    303

    Default Re: Need to know this

    Quote Originally Posted by jdmcdaniel3 View Post
    It appears to be normal. I also found a useful command "w" that shows what they are:

    Code:
    james@linux-l9oq:~> users
    james james james
    james@linux-l9oq:~> w
     13:02:18 up 16:48,  3 users,  load average: 0.37, 0.47, 0.32
    USER     TTY        LOGIN@   IDLE   JCPU   PCPU WHAT
    james    :0        Sun19   ?xdm?   5:59m  0.03s /bin/sh /usr/bin/startkde
    james    pts/0     Sun19   17:48m  0.00s  2.35s kdeinit4: kded4 [kdeinit]                      
    james    pts/3     11:13    0.00s  0.12s  0.00s w
    Thank You,
    Thanks a lot to both.

  6. #6
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,140
    Blog Entries
    48

    Smile Re: Need to know this

    way cool!!! and nice to know..
    DenverD, since a single w is a terminal command, it makes wonder what the other 25 letters do?

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  7. #7
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,136

    Default Re: Need to know this

    Try:
    Code:
    man a
    until
    Code:
    man z
    Henk van Velden

  8. #8
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,140
    Blog Entries
    48

    Smile Re: Need to know this

    I found that the three letters l o w all do something but only w has a man command entry. l is a directory command while o is like the less command. You learn something new everyday I guess.

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  9. #9
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: Need to know this

    On 03/14/2011 09:06 PM, jdmcdaniel3 wrote:
    >
    >> way cool!!! and nice to know..DenverD, since a single w is a terminal command, it makes wonder what

    > the other 25 letters do?


    i can tell you what _some_ of them do, *here*

    alias a='atop'
    alias c='clear'
    alias e='kate'
    alias l='ls -alF'
    alias m='mc'
    alias n='ntop'
    alias o='less'
    alias s='su -'
    alias t='top'
    alias x='exit'

    --
    DenverD
    CAVEAT: http://is.gd/bpoMD
    [NNTP posted w/openSUSE 11.3, KDE4.5.5, Thunderbird3.1.8, nVidia
    173.14.28 3D, Athlon 64 3000+]
    "It is far easier to read, understand and follow the instructions than
    to undo the problems caused by not." DD 23 Jan 11

  10. #10
    Join Date
    Jun 2008
    Location
    Earth - Denmark
    Posts
    10,730

    Default Re: Need to know this

    On 03/14/2011 09:36 PM, jdmcdaniel3 wrote:
    >
    > I found that the three letters *l o w*


    l and o have an alias... w is an executable

    denverd@linux:~> which w
    /usr/bin/w

    type alias at a terminal to see all the aliases

    send me a Shiner and i'll tell you how you can have some more, also!!

    --
    DenverD
    CAVEAT: http://is.gd/bpoMD
    [NNTP posted w/openSUSE 11.3, KDE4.5.5, Thunderbird3.1.8, nVidia
    173.14.28 3D, Athlon 64 3000+]
    "It is far easier to read, understand and follow the instructions than
    to undo the problems caused by not." DD 23 Jan 11

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •