#! /bin/bash # # Print out all peers in a swarm given a swarm name # if [ -z "$1" ]; then echo "Please provide a swarm name to list. Eg. 'com.canonical.DeePeer.Test'" 1>&2 exit 1 fi SWARM_NAME="$1" SWARM_PATH="/com/canonical/dee/peer/$(echo $SWARM_NAME | sed -e 's@\.@/@g')" dbus-send --dest=$SWARM_NAME --type=method_call --print-reply $SWARM_PATH com.canonical.Dee.Peer.List
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
Makefile.am | File | 871 B | 0644 |
|
Makefile.gz | File | 6.65 KB | 0644 |
|
Makefile.in.gz | File | 6.23 KB | 0644 |
|
list-peers | File | 383 B | 0755 |
|
master-model.c | File | 1.76 KB | 0644 |
|
master-model.gz | File | 2.6 KB | 0644 |
|
master-model.o.gz | File | 7.2 KB | 0644 |
|
master-model.py | File | 1.42 KB | 0755 |
|
master-model.vala | File | 1.7 KB | 0644 |
|
peers.c | File | 2 KB | 0644 |
|
peers.gz | File | 2.6 KB | 0644 |
|
peers.o.gz | File | 7.88 KB | 0644 |
|
pythontricks.py | File | 2.3 KB | 0644 |
|
slave-model.c | File | 2.06 KB | 0644 |
|
slave-model.gz | File | 2.6 KB | 0644 |
|
slave-model.o.gz | File | 8.64 KB | 0644 |
|
slave-model.py | File | 1.35 KB | 0755 |
|
synced-lists.c.gz | File | 2.01 KB | 0644 |
|