handyPrint and Dyn Updater not recognised

User avatar
durosity
Posts: 4810
Joined: Thu May 10, 2012 3:21 pm
Location: Newcastle Upon Tyne, Ye Ol' England.

handyPrint and Dyn Updater not recognised

Post by durosity »

Brilliant plugin! Is going to make it so much easier for checking when certain things aren't updating correctly!

I do have a wee issue though.. i have a few applications i want to monitor but i can't seem to get them to show up (specifically in this case handyPrint, Dyn Updater and Hardware monitor). I've tried putting in the application path option and also the process name but no joy. Any ideas? Here's the log:

Code: Select all

  Z-Wave                          received "019 - Setpoint Thermostat" status update battery level 64%
  Mac System Debug                going to call shell ps -awxc -opid,state,comm | grep ' dyn_updater$'
  Mac System Debug                returned from shell: {'ProcessID': '', 'PStatus': ''}
  Mac System Debug                Input Keys: Values   : {'ProcessID': 0, 'onOffState': False, 'PStatus': 'off'}
  Mac System Debug                Updated Keys: Values   : {}
  Mac System Debug                going to call shell ps -awxc -opid,state,comm | grep ' handyPrint$'
  Mac System Debug                returned from shell: {'ProcessID': '', 'PStatus': ''}
  Mac System Debug                Input Keys: Values   : {'ProcessID': 0, 'onOffState': False, 'PStatus': 'off'}
  Mac System Debug                Updated Keys: Values   : {}
  Mac System Debug                going to call shell ps -awxc -opid,state,comm | grep ' Hardware Monitor$'
  Mac System Debug                returned from shell: {'ProcessID': '', 'PStatus': ''}
  Mac System Debug                Input Keys: Values   : {'ProcessID': 0, 'onOffState': False, 'PStatus': 'off'}
  Mac System Debug                Updated Keys: Values   : {}
  Mac System Debug                going to call shell ps -awxc -opid,state,comm | grep ' iTunes$'
  Mac System Debug                returned from shell: {'ProcessID': u'12623', 'PStatus': u'S'}
  Mac System Debug                Input Keys: Values   : {'ProcessID': u'12623', 'onOffState': True, 'PStatus': u'running'}
  Mac System Debug                Updated Keys: Values   : {}
  Mac System Debug                going to call shell ps -awxc -opid,state,comm | grep ' OpenDNS Updater$'
  Mac System Debug                requesting device "Server - App: handyPrint" action RequestStatus
  Mac System                      sent device "Server - App: handyPrint" action RequestStatus 
  Mac System Debug                Device "Server - App: handyPrint" has 1 update requests stacked
  Mac System Debug                returned from shell: {'ProcessID': u'888', 'PStatus': u'S'}
  Mac System Debug                Input Keys: Values   : {'ProcessID': u'888', 'onOffState': True, 'PStatus': u'running'}
  Mac System Debug                Updated Keys: Values   : {}
  Mac System Debug                going to call shell ps -awxc -opid,state,comm | grep ' TeamViewer$'
  Mac System Debug                returned from shell: {'ProcessID': u'865', 'PStatus': u'S'}
  Mac System Debug                Input Keys: Values   : {'ProcessID': u'865', 'onOffState': True, 'PStatus': u'running'}
  Mac System Debug                Updated Keys: Values   : {}
  Mac System Debug                going to call shell ls -1 /Volumes | grep '^Accent HD$'
  Mac System Debug                returned from shell: Accent HD
  Mac System Debug                Input Keys: Values   : {'VStatus': 'on', 'onOffState': True}
  Mac System Debug                Updated Keys: Values   : {}
  Mac System Debug                going to call shell ls -1 /Volumes | grep '^Drobo Pro$'
  Mac System Debug                returned from shell: Drobo Pro
  Mac System Debug                Input Keys: Values   : {'VStatus': 'on', 'onOffState': True}
  Mac System Debug                Updated Keys: Values   : {}
  Mac System Debug                going to call shell ps -awxc -opid,state,comm | grep ' test$'
  Mac System Debug                returned from shell: {'ProcessID': '', 'PStatus': ''}
  Mac System Debug                Input Keys: Values   : {'ProcessID': 0, 'onOffState': False, 'PStatus': 'off'}
  Mac System Debug                Updated Keys: Values   : {}
  Mac System Debug                going to sleep for 8.99 seconds
  Mac System Debug                time ellapsed for dialog timer "Read volume data"
  Mac System Debug                going to call shell ps -awxc -opid,state,comm | grep ' dyn_updater$'
  Mac System Debug                returned from shell: {'ProcessID': '', 'PStatus': ''}
  Mac System Debug                Input Keys: Values   : {'ProcessID': 0, 'onOffState': False, 'PStatus': 'off'}
  Mac System Debug                Updated Keys: Values   : {}
  Mac System Debug                going to call shell ps -awxc -opid,state,comm | grep ' handyPrint$'
  Mac System Debug                returned from shell: {'ProcessID': '', 'PStatus': ''}
  Mac System Debug                Input Keys: Values   : {'ProcessID': 0, 'onOffState': False, 'PStatus': 'off'}
  Mac System Debug                Updated Keys: Values   : {}
  Mac System Debug                Device "Server - App: handyPrint" is going to process an update request
  Mac System Debug                going to call shell ps -wxc -olstart,pcpu,pmem,etime -p0 | sed 1d
  Mac System Debug                returned from shell: {'PCpu': '', 'ETime': '', 'LStart': '', 'PMem': ''}
  Mac System Debug                Input Keys: Values   : {'ProcessID': 0, 'PCpu': 0, 'onOffState': False, 'ETime': 0, 'PStatus': 'off', 'LStart': '', 'PMem': 0}
  Mac System Debug                Updated Keys: Values   : {}
  Mac System Debug                going to call shell ps -awxc -opid,state,comm | grep ' Hardware Monitor$'
  Mac System Debug                returned from shell: {'ProcessID': '', 'PStatus': ''}
  Mac System Debug                Input Keys: Values   : {'ProcessID': 0, 'onOffState': False, 'PStatus': 'off'}
  Mac System Debug                Updated Keys: Values   : {}
  Mac System Debug                going to call shell ps -awxc -opid,state,comm | grep ' iTunes$'
  Mac System Debug                returned from shell: {'ProcessID': u'12623', 'PStatus': u'S'}
  Mac System Debug                Input Keys: Values   : {'ProcessID': u'12623', 'onOffState': True, 'PStatus': u'running'}
  Mac System Debug                Updated Keys: Values   : {}
  Mac System Debug                going to call shell ps -awxc -opid,state,comm | grep ' OpenDNS Updater$'
  Mac System Debug                returned from shell: {'ProcessID': u'888', 'PStatus': u'S'}
  Mac System Debug                Input Keys: Values   : {'ProcessID': u'888', 'onOffState': True, 'PStatus': u'running'}
  Mac System Debug                Updated Keys: Values   : {}
  Mac System Debug                going to call shell ps -awxc -opid,state,comm | grep ' TeamViewer$'
  Mac System Debug                returned from shell: {'ProcessID': u'865', 'PStatus': u'S'}
  Mac System Debug                Input Keys: Values   : {'ProcessID': u'865', 'onOffState': True, 'PStatus': u'running'}
  Mac System Debug                Updated Keys: Values   : {}
  Mac System Debug                going to call shell ls -1 /Volumes | grep '^Accent HD$'
  Mac System Debug                returned from shell: Accent HD
  Mac System Debug                Input Keys: Values   : {'VStatus': 'on', 'onOffState': True}
  Mac System Debug                Updated Keys: Values   : {}
  Mac System Debug                going to call shell /usr/sbin/diskutil list | grep ' Accent HD  '
  Mac System Debug                returned from shell: {'VolumeDevice': u'disk0s2', 'VolumeSize': u'249.2 GB', 'VolumeType': u'Apple_HFS'}
  Mac System Debug                going to call shell /bin/df | grep 'disk0s2'
  Mac System Debug                returned from shell: {'Available': u'399988256', 'Used': u'86217696'}
  Mac System Debug                Input Keys: Values   : {'pcUsed': 17L, 'VolumeSize': u'249.2 GB', 'onOffState': True, 'VolumeType': u'Apple_HFS', 'VolumeDevice': u'disk0s2', 'VStatus': 'on'}
  Mac System Debug                Updated Keys: Values   : {}
  Mac System Debug                going to call shell ls -1 /Volumes | grep '^Drobo Pro$'
  Mac System Debug                returned from shell: Drobo Pro
  Mac System Debug                Input Keys: Values   : {'VStatus': 'on', 'onOffState': True}
  Mac System Debug                Updated Keys: Values   : {}
  Mac System Debug                going to call shell /usr/sbin/diskutil list | grep ' Drobo Pro  '
  Mac System Debug                returned from shell: {'VolumeDevice': u'disk1s2', 'VolumeSize': u'17.6 TB', 'VolumeType': u'Apple_HFS'}
  Mac System Debug                going to call shell /bin/df | grep 'disk1s2'
  Mac System Debug                returned from shell: {'Available': u'10107021664', 'Used': u'24252044864'}
  Mac System Debug                Input Keys: Values   : {'pcUsed': 70L, 'VolumeSize': u'17.6 TB', 'onOffState': True, 'VolumeType': u'Apple_HFS', 'VolumeDevice': u'disk1s2', 'VStatus': 'on'}
  Mac System Debug                Updated Keys: Values   : {}
  Mac System Debug                going to call shell ps -awxc -opid,state,comm | grep ' test$'
  Mac System Debug                returned from shell: {'ProcessID': '', 'PStatus': ''}
  Mac System Debug                Input Keys: Values   : {'ProcessID': 0, 'onOffState': False, 'PStatus': 'off'}
  Mac System Debug                Updated Keys: Values   : {}
  Mac System Debug                going to sleep for 8.41 seconds
On a side note.. it'd be awesome to have another device type in the plugin to list the device states that Hardware Monitor can report on.. it's a really useful tool :D
Computer says no.
bip.philippe
Posts: 58
Joined: Wed Feb 20, 2013 2:09 am
Location: France

Re: handyPrint and Dyn Updater not recognised

Post by bip.philippe »

Hi,

The just released v1.2.0 version does not correct your problem.

I think that handyPrint and Dyn Updater are softwares that launch another program (a daemon) and close.
I am going to investigate that in the following days and make an update of the plugin.

Sincerely,
User avatar
durosity
Posts: 4810
Joined: Thu May 10, 2012 3:21 pm
Location: Newcastle Upon Tyne, Ye Ol' England.

Re: handyPrint and Dyn Updater not recognised

Post by durosity »

Awesome! I was more just worried i was missing something blatantly obvious!
Computer says no.
bip.philippe
Posts: 58
Joined: Wed Feb 20, 2013 2:09 am
Location: France

Re: handyPrint and Dyn Updater not recognised

Post by bip.philippe »

Hi,

I have worked the last week on an enhanced version of the plug-in that will offer new devices to manage special applications as helpers and daemons.
I a going to publish it this week-end.

I have tested it with handyPrint and Dyn Updater.

Sincerely,
User avatar
durosity
Posts: 4810
Joined: Thu May 10, 2012 3:21 pm
Location: Newcastle Upon Tyne, Ye Ol' England.

Re: handyPrint and Dyn Updater not recognised

Post by durosity »

Awesome! I'll have a good play with it when I get back from holiday :D
Computer says no.
Post Reply

Return to “Bip's Plugins”