mesmer device

Manage the devices in your Mesmer tenant, and view the job queue.

mesmer device list

You can list all the devices in your Mesmer tenant with mesmer device list:

$ mesmer device list
UDID                                     Status      Type     Vendor  Device             OS      Version  Resolution User
xxxxxxxxxxxxxxxxxxxxxxxxxxxx             Ready       Real     Apple   iPhone 7 Plus      iOS     12.4.1   1242x2208
xxxxxxxxxxxxxxxxxxxxxxxx                 Ready       Real     Apple   iPhone 7 Plus      iOS     13.1.3   1242x2208
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Ready       Real     Apple   iPhone 7 Plus      iOS     13.1.3   1242x2208
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx         Ready       Virtual  Apple   iPhone 8 Plus      iOS     13.3     1242x2208
xxxxxxxxxxxxxxx                          Ready       Virtual  Apple   iPhone 8 Plus      iOS     13.3     1242x2208
xxxxxxxxxxxx                             Ready       Virtual  Apple   iPhone 8 Plus      iOS     13.3     1242x2208
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx       Ready       Virtual  Apple   iPhone 8 Plus      iOS     13.3     1242x2208
xxxxxxxxxxxxxxxxxxxxxxxxxxxx             Ready       Real     Apple   iPhone 8 Plus      iOS     13.3     1242x2208
xxxxxxxxxxxxxxxxxxxxxxxx                 Ready       Virtual  Apple   iPhone 8 Plus      iOS     13.3     1242x2208
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Ready       Virtual  Apple   iPhone 8 Plus      iOS     13.3     1242x2208
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx         Ready       Virtual  Apple   iPhone 8 Plus      iOS     13.3     1242x2208
xxxxxxxxxxxxxxxxxxxxxxxxxxxx             Ready       Real     Apple   iPhone Xʀ          iOS     13.1.3   828x1792
xxxxxxxxxxxxxxxxxxxxxxxx                 Ready       Real     Apple   iPhone Xʀ          iOS     13.1.3   828x1792
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx Ready       Real     Google  Pixel 3            Android 9        1080x2160
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx         Ready       Real     Google  Pixel 3            Android 9        1080x2160
xxxxxxxxxxxxxxx                          Ready       Real     Google  Pixel 3            Android 9        1080x2160
xxxxxxxxxxxx                             Ready       Virtual  Google  nexus5             Android 9        1080x1920
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx       Ready       Virtual  Google  nexus5             Android 9        1080x1920
xxxxxxxxxxxxxxxxxxxxxxxxxxxx             Ready       Virtual  Google  pixel3             Android 9        1080x2160
xxxxxxxxxxxxxxxxxxxxxxxx                 Ready       Virtual  Google  pixel3             Android 9        1080x2160
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx In Use      Virtual  Google  pixel3             Android 9        1080x2160 William Goodall (Crawl)
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx         Ready       Virtual  Google  pixel3             Android 9        1080x2160
xxxxxxxxxxxxxxx                          Ready       Virtual  Google  pixel3             Android 9        1080x2160
xxxxxxxxxxxx                             Ready       Real     samsung SM-G950U           Android 8.0.0    1440x2960
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx       Ready       Real     samsung SM-G950U           Android 8.0.0    1440x2960

This output will show what each device is up to; and who told it to do what it's doing. This is really useful if you need to see why a job seems to be taking a while in queue, or why devices are in use.

mesmer device jobs

Show the job queue, across any currently-active devices.

# Make some things happen
$ mesmer submit calculator.apk

# Show the job queue
$ mesmer device jobs
 ✓  Fetched all devices
 ✓  Fetched unassigned jobs
 ✓  Fetched queue for each device

Unassigned:
    Type       Job name                       Version                                   Submitted By
    Test       5x5 = 25                       7.8 (271241277)      78000303             CLI Test User

 UDID  emulator-5576
    OS ............ 9
    Model ......... pixel3
    Manufacturer .. Google
    Resolution .... 1080x2160

    Current Job:
    Kind .......... Crawl
    Version ....... 7.8 (271241277) - 78000303
    Submitted by .. CLI Test User
    Started At .... Tue, 07 Jul 2020 05:03:32 +0000
          Build ID  5f0402173c969210ccee870f
          Crawl ID  5f0402243c969210ccee8718


 UDID  emulator-5574
    OS ............ 9
    Model ......... pixel3
    Manufacturer .. Google
    Resolution .... 1080x2160

    Current Job:
    Kind .......... Replay
    Version ....... 7.8 (271241277) - 78000303
    Submitted by .. CLI Test User
    Started At .... Tue, 07 Jul 2020 05:03:20 +0000
          Build ID  5f0402173c969210ccee870f