RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Detect when ROMs are being copied?

    Scheduled Pinned Locked Moved Help and Support
    romscopy
    4 Posts 2 Posters 1.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • I
      InunoTaishou
      last edited by

      Any way to detect when ROMs are being copied?

      My thumb drive does not have an led indicator on it, letting you know when it's being written to/read, so I want to activate an led on the pi that lets you know that it's still copying files. Is there any way to detect when RetroPie is copying ROMs?

      1 Reply Last reply Reply Quote 0
      • chipsnblipC
        chipsnblip
        last edited by

        i wonder if you were to connect to the pi via ssh, would the top/htop command show the roms being copied? might be worth a try

        1 Reply Last reply Reply Quote 0
        • I
          InunoTaishou
          last edited by

          Did just that, these 3 processes topped the list
          rsync
          mount.exfat
          usb-storage

          Will do some more digging to figure out how to check one (probably rsync) and get my output

          Thanks

          1 Reply Last reply Reply Quote 0
          • I
            InunoTaishou
            last edited by

            Wrote this script and ran it a few times now. Monitors rsync to see if it's running (rsync I guess is what's used to copy ROMs from the USB to internal storage). Would be super if the devs gave us some way to know that it's still copying ;) ;) but this works, and was only using about 0.5% CPU usage.

            https://github.com/InunoTaishou/RetroPie-rsync-Monitor

            The whole file is commented, should help anyone looking to do the same.

            1 Reply Last reply Reply Quote 1
            • First post
              Last post

            Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

            Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.