Find the answer to your Linux question:
Results 1 to 4 of 4
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    Is samba client active or inactive?


    I would like to help in this problem:
    There is a "who -u" command in Linux. This command can to show the current users (ssh, telnet, etc...), and these users since when are inactive.
    Is there command in Samba (3.0.22-13.16-SUSE-SLES10), which can to show the active and inactive users, and the inactive users since when are inactive?


  2. #2

    Samba and Webmin

    There must be a way because I can see my "connected users" with webmin. So there must be a command line command that will get you the same thing.

    Try to google samba connected users to see what you get.

  3. #3
    I know an Samba command: smbstatus
    This command shows the connected users.
    But I need these:
    1. which user is inactive (user is connecting, but isn't doing anything)
    2. since when user is inactive

    I didn't find anything whith Google.


  4. $spacer_open
  5. #4

    Samba and Webmin


    What about ps -ef | grep <userid> once you know who is connected? You should be able to script something that will get you what you need I would think.

Posting Permissions

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