EnglezăFrancezăSpaniolă

Ad


Favicon OnWorks

mdbus2 - Online în cloud

Rulați mdbus2 în furnizorul de găzduire gratuit OnWorks prin Ubuntu Online, Fedora Online, emulator online Windows sau emulator online MAC OS

Aceasta este comanda mdbus2 care poate fi rulată în furnizorul de găzduire gratuit OnWorks folosind una dintre multiplele noastre stații de lucru online gratuite, cum ar fi Ubuntu Online, Fedora Online, emulator online Windows sau emulator online MAC OS

PROGRAM:

NUME


mdbus2 - Introspecție, interacțiune și monitorizare DBus interactiv

REZUMAT


mdbus2 [OPȚIUNI...] [ slujește-mă [ calea obiectului [ metodă [ parametri... ] ] ] ]

mdbus2 -Da

mdbus2 -sl

DESCRIERE


mdbus2 comanda este utilizată pentru a explora și interacționa cu serviciile DBus de pe dvs sistem luați autobuzul
și sesiune luați autobuzul. Autobuzul de mesaje la nivel de sistem există o singură dată și este instalat pe multe
sisteme ca serviciul „messagebus”. Autobuzul de mesaje de sesiune este per-user-login (pornit
de fiecare dată când un utilizator se conectează) și de obicei legat de sesiunea dvs. X11.

În cea mai simplă formă, mdbus2 arată serviciile disponibile pe magistrala selectată. Având în vedere un
serviciu nume, va afișa cele disponibile obiecte exportate de serviciu. Dat un serviciu
nume și an obiect cale, va arăta cele expuse Metode, semnalele, și proprietăţi de care
obiect.

Furnizarea unui metodă nume (Și parametrii), puteți apela metode pe obiect și puteți obține
reveni valoare(S).

În ascultare mod, puteți observa semnalele trimise pe magistrala selectată.

De asemenea, este inclus și un interactiv coajă cu completarea filelor și istoricul comenzilor.

OPŢIUNI


--show-anonim, -a
Arată și unic (anonim) servicii în autobuz.

--sistem, -s
Utilizați magistrala de sistem în loc de magistrala de sesiune (implicit).

-show-pids, -p
Afișați ID-urile de proces UNIX.

--asculta, -l
Porniți modul ascultător, în care puteți observa semnalele în autobuz.

--interactiv, -i
Porniți un shell interactiv.

--tipuri-adnotare, -t
Adnotați tipurile DBus.

UTILIZARE


Pentru a invoca o metodă pe un obiect implementat de un serviciu, trebuie să specificați
următoarele valori:

1 serviciu nume, de exemplu org.freesmartphone.ogsmd – Numele serviciului identifică
procesul care servește un număr de obiecte. Fiecare proces care se atașează la
autobuzul primește cel puțin un nume de serviciu non-unic (anonim), cum ar fi
: 1.0. Nume unice, cum ar fi org.freesmartphone.ogsmd, sunt de obicei date în
notație inversă a numelui de domeniu cu minuscule.

2 obiect cale, de exemplu /org/freesmartphone/GSM/Device – Calea obiectului
identifică un obiect concret deservit de proces. Căile obiectelor de obicei
arată ca căile sistemului de fișiere.

3 metodă, de exemplu org.freesmartphone.GSM.Call.Initiate – Numele metodei
identifică o operație care face parte din interfață (metode și semnale)
a unui obiect. Numele metodelor sunt folosite CamelCase cu notație punct.

4 parametrii, de exemplu +49123456 voce`. (La be descris mai departe).

EXEMPLE


Aflați ce nume de magistrală sunt înregistrate în prezent pe magistrala de sistem:

root@om-gta02:~# mdbus -s
: 1.0
: 1.1
: 1.2
: 1.42
: 1.47
: 1.60
: 1.61
org.bluez
org.freedesktop.Avahi
org.freedesktop.DBus
org.freesmartphone.frameworkd
org.freesmartphone.ogsmd
org.pyneo.muxer

Aflați ce obiecte sunt deservite de un anumit serviciu:

root@om-gta02:~# mdbus -s org.freesmartphone.frameworkd
/
/org
/org/freesmartphone
/org/freesmartphone/Framework
/org/freesmartphone/GSM
/org/freesmartphone/GSM/Device
/org/freesmartphone/GSM/Server

Aflați interfața unui anumit obiect:

root@om-gta02:~# mdbus -s org.freesmartphone.ogsmd /org/freesmartphone/GSM/Device
[METODA] org.freesmartphone.GSM.Call.Activate( i:index )
[METODA] org.freesmartphone.GSM.Call.ActivateConference( i:index )
[METODA] org.freesmartphone.GSM.Call.HoldActive()
[METODA] org.freesmartphone.GSM.Call.Initiate( s:number, s:type_ )
[METODA] org.freesmartphone.GSM.Call.Release( i:index )
[METODA] org.freesmartphone.GSM.Call.ReleaseAll()
[METODA] org.freesmartphone.GSM.Call.ReleaseHeld()
[SEMNAL] org.freesmartphone.GSM.Call.CallStatus( i:index, s:status, a{sv}:properties )
[METODA] org.freedesktop.DBus.Introspectable.Introspect()
[METODA] org.freesmartphone.GSM.Device.CancelCommand()
[METODA] org.freesmartphone.GSM.Device.GetAntennaPower()
[METODA] org.freesmartphone.GSM.Device.GetFeatures()
[METODA] org.freesmartphone.GSM.Device.GetInfo()
[METODA] org.freesmartphone.GSM.Device.PrepareForSuspend()
[METODA] org.freesmartphone.GSM.Device.RecoverFromSuspend()
[METODA] org.freesmartphone.GSM.Device.SetAntennaPower( b:power )
[METODA] org.freesmartphone.GSM.SIM.ChangeAuthCode( s:pin_vechi, s:pin_nou)
[METODA] org.freesmartphone.GSM.SIM.DeleteEntry( i:index )
[METODA] org.freesmartphone.GSM.SIM.DeleteMessage( i:index )
[METODA] org.freesmartphone.GSM.SIM.GetAuthStatus()
[METODA] org.freesmartphone.GSM.SIM.GetImsi()
[METODA] org.freesmartphone.GSM.SIM.GetMessagebookInfo()
[METODA] org.freesmartphone.GSM.SIM.GetPhonebookInfo()
[METODA] org.freesmartphone.GSM.SIM.GetServiceCenterNumber()
[METODA] org.freesmartphone.GSM.SIM.GetSimCountryCode()
[METODA] org.freesmartphone.GSM.SIM.GetSubscriberNumbers()
[METODA] org.freesmartphone.GSM.SIM.RetrieveEntry( i:index )
[METODA] org.freesmartphone.GSM.SIM.RetrieveMessage( i:index )
[METODA] org.freesmartphone.GSM.SIM.RetrieveMessagebook(s:category)
[METODA] org.freesmartphone.GSM.SIM.RetrievePhonebook()
[METODA] org.freesmartphone.GSM.SIM.SendAuthCode(s:code)
[METODA] org.freesmartphone.GSM.SIM.SetServiceCenterNumber( s:number )
[METODA] org.freesmartphone.GSM.SIM.StoreEntry( i:index, s:name, s:number )
[METODA] org.freesmartphone.GSM.SIM.StoreMessage( s:number, s:contents )
[METODA] org.freesmartphone.GSM.SIM.Unlock( s:puk, s:new_pin )
[SEMNAL] org.freesmartphone.GSM.SIM.AuthStatus( s:status )
[SEMNAL] org.freesmartphone.GSM.SIM.NewMessage( i:index )
[METODA] org.freesmartphone.GSM.Network.DisableCallForwarding( s:motiv, s:class_ )
[METODA] org.freesmartphone.GSM.Network.EnableCallForwarding( s:motiv, s:class_, s:number, i:timeout )
[METODA] org.freesmartphone.GSM.Network.GetCallForwarding(s:motiv)
[METODA] org.freesmartphone.GSM.Network.GetCallingIdentification()
[METODA] org.freesmartphone.GSM.Network.GetNetworkCountryCode()
[METODA] org.freesmartphone.GSM.Network.GetSignalStrength()
[METODA] org.freesmartphone.GSM.Network.GetStatus()
[METODA] org.freesmartphone.GSM.Network.ListProviders()
[METODA] org.freesmartphone.GSM.Network.Register()
[METODA] org.freesmartphone.GSM.Network.RegisterWithProvider( i:operator_code )
[METODA] org.freesmartphone.GSM.Network.SetCallingIdentification(s:status)
[METODA] org.freesmartphone.GSM.Network.Unregister()
[SEMNAL] org.freesmartphone.GSM.Network.SignalStrength( i:strength )
[SEMNAL] org.freesmartphone.GSM.Network.Status( a{sv}:status )
[METODA] org.freesmartphone.GSM.PDP.ActivateContext( s:apn, s:user, s:parola )
[METODA] org.freesmartphone.GSM.PDP.DeactivateContext()
[METODA] org.freesmartphone.GSM.PDP.GetCurrentGprsClass()
[METODA] org.freesmartphone.GSM.PDP.ListAvailableGprsClasses()
[METODA] org.freesmartphone.GSM.PDP.SetCurrentGprsClass( s:class_ )
[SEMNAL] org.freesmartphone.GSM.PDP.ContextStatus( i:index, s:status, a{sv}:properties )
[METODA] org.freesmartphone.GSM.Test.Command(s:comandă)
[METODA] org.freesmartphone.GSM.Test.Echo( s:echo )

Apelați o metodă pe o interfață:

root@om-gta02 ~ $ mdbus -s org.freesmartphone.ogsmd /org/freesmartphone/GSM/Device org.freesmartphone.GSM.Device.GetInfo
{ 'imei': '354651011234567',
„producător”: „FIC/OpenMoko”,
„model”: „„Modem GSM încorporat Neo1973 GTA02””,
'revision': '"HW: GTA02BV5, GSM: gsm_ac_gp_fd_pu_em_cph_ds_vc_cal35_ri_36_amd8_ts0-Moko8"'}

Folosiți-l în modul de ascultare:

root@om-gta02:/local/pkg/fso/framework/framework# mdbus -s -l
Ascultarea semnalelor pe SystemBus de la serviciul „toate”, obiectul „toate”...
[SEMNAL] org.freedesktop.DBus.NameOwnerChanged din org.freedesktop.DBus /org/freedesktop/DBus
(dbus.String(u'org.pyneo.muxer'), dbus.String(u':1.6'), dbus.String(u''))
[SEMNAL] org.freedesktop.DBus.NameOwnerChanged din org.freedesktop.DBus /org/freedesktop/DBus
(dbus.String(u':1.6'), dbus.String(u':1.6'), dbus.String(u''))
[SEMNAL] org.freedesktop.DBus.NameOwnerChanged din org.freedesktop.DBus /org/freedesktop/DBus
(dbus.String(u':1.28'), dbus.String(u''), dbus.String(u':1.28'))
[SEMNAL] org.freedesktop.DBus.NameOwnerChanged din org.freedesktop.DBus /org/freedesktop/DBus
(dbus.String(u'org.freesmartphone.frameworkd'), dbus.String(u''), dbus.String(u':1.28'))
[SEMNAL] org.freedesktop.DBus.NameOwnerChanged din org.freedesktop.DBus /org/freedesktop/DBus
(dbus.String(u'org.freesmartphone.ogsmd'), dbus.String(u''), dbus.String(u':1.28'))
[SEMNAL] org.freedesktop.DBus.NameOwnerChanged din org.freedesktop.DBus /org/freedesktop/DBus
(dbus.String(u':1.29'), dbus.String(u''), dbus.String(u':1.29'))
[SEMNAL] org.freedesktop.DBus.NameOwnerChanged din org.freedesktop.DBus /org/freedesktop/DBus
(dbus.String(u'org.pyneo.muxer'), dbus.String(u''), dbus.String(u':1.29'))
[SEMNAL] org.freedesktop.DBus.NameOwnerChanged din org.freedesktop.DBus /org/freedesktop/DBus
(dbus.String(u':1.30'), dbus.String(u''), dbus.String(u':1.30'))
[SEMNAL] org.freesmartphone.GSM.SIM.ReadyStatus de la :1.28 /org/freesmartphone/GSM/Device
(dbus.Boolean(False),)
[SEMNAL] org.freesmartphone.GSM.SIM.AuthStatus de la :1.28 /org/freesmartphone/GSM/Device
(dbus.String(u'SIM PIN'),)
[SEMNAL] org.freesmartphone.GSM.SIM.AuthStatus de la :1.28 /org/freesmartphone/GSM/Device
(dbus.String(u'READY'),)
[SEMNAL] org.freesmartphone.GSM.SIM.ReadyStatus de la :1.28 /org/freesmartphone/GSM/Device
(dbus.Boolean(Adevărat),)

Utilizați mdbus2 online folosind serviciile onworks.net


Servere și stații de lucru gratuite

Descărcați aplicații Windows și Linux

  • 1
    Phaser
    Phaser
    Phaser este o deschidere rapidă, gratuită și distractivă
    cadru de joc HTML5 sursă care oferă
    Redare WebGL și Canvas
    browsere web desktop și mobile. Jocuri
    poate fi co...
    Descărcați Phaser
  • 2
    Motor VASSAL
    Motor VASSAL
    VASSAL este un motor de joc pentru creare
    versiuni electronice ale plăcii tradiționale
    și jocuri de cărți. Oferă suport pentru
    redarea și interacțiunea pieselor de joc,
    și ...
    Descărcați VASSAL Engine
  • 3
    OpenPDF - Furk of iText
    OpenPDF - Furk of iText
    OpenPDF este o bibliotecă Java pentru creare
    și editarea fișierelor PDF cu un LGPL și
    Licență open source MPL. OpenPDF este
    Succesorul LGPL/MPL open source al iText,
    o ...
    Descărcați OpenPDF - Furk of iText
  • 4
    SAGA GIS
    SAGA GIS
    SAGA - Sistem pentru automatizare
    Analize Geoștiințifice - este un Geografic
    Sistemul informatic (GIS) software cu
    capacități imense pentru geodate
    procesare și ana...
    Descărcați SAGA GIS
  • 5
    Caseta de instrumente pentru Java/JTOpen
    Caseta de instrumente pentru Java/JTOpen
    IBM Toolbox for Java / JTOpen este un
    biblioteca de clase Java care acceptă
    programare client/server și internet
    modele către un sistem care rulează OS/400,
    i5/OS, o...
    Descărcați Toolbox pentru Java/JTOpen
  • 6
    D3.js
    D3.js
    D3.js (sau D3 pentru documente bazate pe date)
    este o bibliotecă JavaScript care vă permite
    pentru a produce date dinamice, interactive
    vizualizări în browsere web. Cu D3
    tu...
    Descărcați D3.js
  • Mai mult »

Comenzi Linux

  • 1
    abidiff
    abidiff
    abidiff - comparați ABI-urile fișierelor ELF
    abidiff compară aplicația binară
    Interfețe (ABI) a două biblioteci partajate
    în format ELF. Emite un sens
    repor ...
    Fugi abidiff
  • 2
    abidw
    abidw
    abidw - serializați ABI-ul unui ELF
    fișierul abidw citește o bibliotecă partajată în ELF
    format și emite o reprezentare XML
    a ABI-ului său la ieșirea standard. The
    emis...
    Run abidw
  • 3
    copac2xml
    copac2xml
    bibutils - conversie bibliografie
    utilitati...
    Rulați copac2xml
  • 4
    Copt
    Copt
    copt - optimizator peephole SYSNOPIS:
    fișier copt.. DESCRIERE: copt este a
    optimizator de uz general pentru vizor. Aceasta
    citește codul din intrarea sa standard și
    scrie un...
    Fugi copt
  • 5
    gather_stx_titles
    gather_stx_titles
    gather_stx_titles - aduna titlul
    declarații din documentele Stx...
    Rulați gather_stx_titles
  • 6
    gatling-banc
    gatling-banc
    bench - http benchmark...
    Alerga gatling-bench
  • Mai mult »

Ad