How do I find the current connections?

I've noticed that the disk doesn't always spin down after using my media player (OSMC on a Raspberry Pi) to access my My Cloud, and I'd like to debug this. First, I need to see if there's a persistent connection by checking the connection status at the My Cloud command line.  Googling tells me that you use the "smbstatus" command for this -- and there's my first stumbling block. That command is not present because it's in the "samba" package, which I am surprised to find is not installed by default.  # apt-cache policy samba
samba:
Installed: (none)
Candidate: 2:4.1.17+dfsg-2
Version table:
2:4.1.17+dfsg-2 0
500 http://ftp.us.debian.org/debian/ jessie/main armhf Packages I could install the "samba" package with "apt-get install samba". Is that safe to do on the My Cloud? The My Cloud is all about providing samba shares and yet the "samba" package is not installed. I was wondering if it was not installed for a reason. Installing it won't trash the My Cloud's normal services? Or is there a better way to find the current connections -- one that doesn't need the "smbstatus" command?

Hi and welcome to the WD community.
I have not tried this, lets see if another user can share some tips and information on this matter.

Similar Messages

  • How do I find the current browser window width in pixels?

    I'm writing a PHP script that will use the current browser
    window width
    and height, but I don't know how to find that. Is there some
    way to
    capture the width and height of the current window in pixels?
    TIA

    Thanks Micha, you certainly may ask why.
    I posted a message some time ago in the appdev forum about
    the Recordset
    Paging server behavior being geared toward use with tables. I
    was
    frustrated because I wanted to do something with repeated
    div's in a
    liquid site. But the Recordset Paging s.b. locks the number
    of records
    per page to a fixed number. I'm trying to figure out how to
    make the
    records per page a variable that's determined by the window
    width. I've
    created a liquid site with a products page that contains both
    text and
    thumbnail product images. The text occupies 2/3 of the width
    of the
    window, and the div container that holds the floated div
    thumbnails I
    want to account for the other third. The thumbnail div's are
    produced by
    a WHILE statement and I want them to be paged based on the
    number of
    div's that will fit within a container that occupies a
    percent of the
    browser window width. Here's what I've got so:
    $window_size_wide = ; // Current browser window width in px
    $window_size_tall = ; // Current browser window height in px
    $thumb_cont_wide = $window_size_wide * .3; // 30% of window
    width incl.
    padding in px
    $thumb_cont_tall = $window_size_tall * .4; // 40% of window
    height incl.
    padding in px
    $thumb_size_wide = 100; // thumbnail div width incl. margins
    in px
    $thumb_size_tall = 100; // thumbnail div height incl. margins
    in px
    $no_thumbs_wide =
    ceil(($thumb_cont_wide/$thumb_size_wide)-1);
    $no_thumbs_tall =
    ceil(($thumb_cont_tall/$thumb_size_tall)-1);
    $records_per_page = ($no_thumbs_wide * $no_thumbs_tall);
    $offset = ($thispage - 1) * $records_per_page;
    $total_pages = ceil($total_records/$records_per_page);
    etc.
    What I don't know is how to find the current window width or
    height. I
    would also like to know if the $thumb_cont_wide and the
    $thumb_cont_tall
    can be determined in some way based on the div size generated
    through my
    CSS. In other words, I don't want to declare the percent of
    height and
    width in this script, I want to declare it only in my CSS and
    have it
    determined by the browser window width and height. The only
    element I
    want to hard code is the size of the thumbnails as they will
    always be
    the same. It seems to me that something like this could be
    done to make
    recordset paging scalable to match a scalable web page.
    So the question is, can I define a PHP variable based on a
    Javascript
    variable? If so, how? If not, how can I accomplish this? Is
    this just
    not possible?
    Thanks for your help.

  • How do I find the users connected via afptcp

    I want to find the list of users connected to an OES2 Linux server.

    Originally Posted by ataubman
    Start with the documentation Novell Documentation . If you have further issues, please start your own fresh thread with full problem and system details, as your problem has nothing to do with the OP's.
    I've already looked at the documentation and have another thread going, I'm just looking for any info from any source. That source may be watching this thread and not the other.

  • How can I find the currently logined domain name on Windows??

    Dear,
    I've a program that query some user account information from A.D.
    But I don't want to hard code anything.
    I've read some previous post about using LDAP, and using DNS queries to found all LDAP server of A.D.
    But how can I get the A.D. domain name in Java?
    for example
    ldcp://_ldap._tcp.xxxx.yyyy
    I want to get "xxxx.yyyy" from the logined user account. It is possible in Java.

    You coud use the NTSystem class to derive the NetBIOS domain name, however without doing some gymnastics it isn't easy to derive the fully qualified domain name. import java.io.*;
    import com.sun.security.auth.module.NTSystem;
    class NTDomain {
         public static void main(String[] args) {
              NTSystem system = new NTSystem();
              String domain = system.getDomain();
              System.out.println("Domain: " + domain);
    }The only other alternatives could be to check the domain suffix of the user principal that was authenticated via Kerberos ....
    lc = new LoginContext(searchkrb5.class.getName(),new SampleCallbackHandler());
         lc.login();
         catch (LoginException le) {
              System.out.println("Logon failed: " + le);
              System.exit(-1);
         System.out.println("Authenticated via GSS-API");
            System.out.println("User: " + lc.getSubject().getPrincipals().toString); however I think that you still have to specifify the Kerberos realm in the apps configuration file.
    Another alternative could be to make assumptions about the machines hostname, however one day an assumption will always be proven wrong, (eg. The machine's DNS domain name does not need to match the Active Directory domain).
    Unless there is a Java API to read the Windows registry or extract Kerberos ticket information from the WIndows Kerberos ticket cache, you may be kind of stuck.

  • How to find the current running jobs.

    Hi All,
    Can u please tell me how can i find the current running jobs in oracle.
    OS : windows
    DB VERSION: 10.2.0.1
    Thanks,
    srini...

    Don't think so..
    For the running jobs ( the ones in flight right now..)
    if you used the scheduler
    select owner , job_name , running_instance, session_id from all_scheduler_running_jobs
    order by owner , job_name
    If you used dbms_job ( you really should the scheduler ...)
    select job, instance, sid from dba_jobs_running
    order by instance, job
    /

  • How to verify the current connections on a firewall?

    I am a new computer support specialist in a small company. We would like to focus on network security. How can I verify the current connections on a PIX firewall? We would like catch malicious behavior while it's occurring. How do I inspect all the connections going through our firewall - both in and out. My focus is on anomalies and investigate them; this could include outbound FTP or inbound Telnet/SSH sessions. We have a Cisco perimeter router, which functions as the company firewall. A PIX firewall sits behind the router and its sole function is to build and terminate IPSEC tunnels. I would appreciate any advise.
    Thanks.
    Said

    Hi Said
    "sh crypto isa sa" will show all the IPSEC phase 1 connections to your pix.
    "sh crypto ipsec sa" will show all the IPSEC phase 2 connections to your pix.
    "sh conn" will show all the connections that have been allowed through your pix.
    HTH
    Jon

  • Finding the current iTunes version

    How do I find the current iTunes version so that I can request a track....and how do I find the operating system of my computer. I'm a complete technophobe. Can anyone help?

    You can find the iTunes version by clicking *Help... About iTunes*. Mine reads iTunes 9 and then the scrolling text reveals the version number is 9.1.1.11. If you're trying to fill out your version number in a form on the Apple website then these are usually out of date and have an option for the current build. Just use the most recent build listed.
    Your signature suggests you've already worked out that your OS is Windows XP.
    tt2

  • Hello! I have one iTunes library on my iPod and one iTunes library on my computer. When I connect my iPod touch to my PC, however, I cannot find any files in my iPod except for pictures. How can I find the music files so I can add them to my iTunes?

    Hello! I have one iTunes library on my iPod and one iTunes library on my computer. When I connect my iPod touch to my PC, however, I cannot find any files in my iPod except for pictures. How can I find the music files so I can add them to my iTunes?

    You can't do that.
    And before you decide to store any music that you own on a computer at work, talk to your IT department. Many organizations do not permit it for legal reasons. Standard policies are that anything stored on company owned computers is the property of the company. It could not be legally stored on their machines unless you transfer the licenses and all copies, physical and digital, to the company, meaning you no longer own the music. If they were to be audited and could not prove that they own the music, they would be subject to copyright violation penalties. Just use your iPod when you're at the office if you want to listen to music.

  • On the Canon MG3520 connected via Ethernet to USB on my PC with Windows 7, How do i find the IP ADD

    ON THE CANON mg3520 CONNECTED to my PC via cable to Computer with Windows 7, How do i find the IP ADDRESS for the MG3520?

    Hi biggergulp,
    To view the IP addres of your PIXMA MG3520, please follow these steps:
     1.  Click Start and select All programs, Canon Utilities, IJ Network Tool, and then IJ Network Tool.
     2.  Click on your PIXMA MG3520.
     3.  Select Configuration... from the Settings menu.
    The IP address of your PIXMA MG3520 will be displayed.
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

  • InfoPath 2013: How to find the current file name?

    Hello,
    Is there any way to find the file name in the rule formulas when an existing xml file in a sharepoint form library is being edited in InfoPath? I am looking for a function that returns the current file name that is being edited.
    Thank you,

    Hi,
    According to your post, my understanding is that you want to get the current file name in the InfoPath form.
    Here is a similar thread for you to take a look at:
    http://social.technet.microsoft.com/Forums/en-US/a24f01d5-744c-4b75-b30d-3295311ab054/how-do-i-find-the-file-name-of-the-currently-open-infopath-form?forum=sharepointcustomizationlegacy
    Best Regards
    Dennis Guo
    TechNet Community Support

  • How to Find the Current Instance Id in Oracle 10g

    Hi,
    how to find the current instance id in oracle 10g studio,
    I have the below code :
    if (InstanceScreenFlow.processInstance.id.id.indexOf(text : ins.id) < 0) {
    /// do something
    it is saying that "'processInstance' is not a function"
    Thanks,
    Brijesh Kumar Singh.

    Why not just pass in the "id" predefined variable into your screenflow? Once you do that you'll be able to refer to it as "id.id" anywhere inside your screenflow.
    Dan

  • How to find the current SQL

    Dear All,
    My testing engineers are checking the application from front end, i have to find the current SQL (What SQL queries are used in the application) statements in the back end.
    Please let me know how to find the current executing SQL stements.
    Thanks in advance
    Mahi

    You need to join this query with one more table - v$sqlstats. There are many statistics in particular cpu_time, elapsed_time etc stored in that table for each sql statement.
    You can join v$sqlstats by sql_id until you have multiple child cursors for single statement.
    Or you can just join to v$sql and get statistics from there and in this latter case you include child_number column to distinguish child cursors from each other.
    Best Regards,
    Alex

  • How can I find the center of the current view

    How can I find the center of the current view

    Oracle permitted renaming the snapshot in the earlier versions of 8i. However, it does not permit renaming the materialized view in 9i or 10g.
    SQL> rename mymatview to mymatview2;
    rename mymatview to mymatview2
    ERROR at line 1:
    ORA-32318: cannot rename a materialized view
    SQL> disconnect
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.1.0.2.0 - 64bit Production
    With the Partitioning, Oracle Label Security, OLAP and Data Mining options
    SQL> rename mymatview to mymatview2;
    rename mymatview to mymatview2
    ERROR at line 1:
    ORA-32318: cannot rename a materialized view
    SQL> disconnect
    Disconnected from Oracle9i Enterprise Edition Release 9.2.0.3.0 - 64bit Production
    With the Partitioning option
    JServer Release 9.2.0.3.0 - Production

  • How to check/find the size of current ROLLBACK segment in oracle 10g

    How to check/find the size of current ROLLBACK segment in oracle 10g ? Kindly help

    A rollback segment name like "_SYSSMU231$" is used when you have Automatic Undo Management enabled.
    The only relevant parameters are :
    1. UNDO_MANAGEMENT=AUTO
    2. UNDO_RETENTION=n minutes ==> this is what everyone should be interested in
    3. The sizes of the Undo Tablespace datafiles and whether AUTOEXTEND is ON or OFF
    No one should be interested in the size of a single undo segment when Automatic Undo Management is enabled.
    Possible causes of ORA-01555 errors in Automatic Undo Management
    a. UNDO_RETENTION is too low
    b. Undo tablespace is too small
    Hemant K Chitale

  • I'm trying to install software from Yamaha keyboards to connect my keyboard to my computer. I insert the CD and nothing happens. Yamaha told me to "find your CD drive" and open the software. How do I find the CD drive?

    I'm trying to install software from Yamaha keyboards to connect my keyboard to my computer. I insert the CD and nothing happens. Yamaha told me to "find your CD drive" and open the software. How do I find the CD drive?

    When you insert a CD/DVD in the optical drive, does an icon appear on the desktop?  If not open Finder Preferences and check the appropriate box(s).
    Ciao.

Maybe you are looking for