c822 mbmon daemon port - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Ports & Packages > Installation and Maintenance of FreeBSD Ports or Packages

Installation and Maintenance of FreeBSD Ports or Packages Installing and maintaining the FreeBSD Ports Collection or FreeBSD Packages (i.e. third party software).

Reply
 
Thread Tools Display Modes
  #1  
Old April 2nd, 2011, 17:37
pcbsd64's Avatar
pcbsd64 pcbsd64 is offline
Junior Member
 
Join Date: Mar 2011
Location: Columbia River Gorge
Posts: 24
Thanks: 13
Thanked 0 Times in 0 Posts
Default mbmon daemon port

I am trying to read my cpu temp with gkrellm using mbmon, which requires me to run mbmon -r -P <port#> I can start mbmon by adding
Code:
mbmon_enable="YES"
to my rc.conf, but this doesn't ouput mbmon's readings to a port for gkrellm to read. I could use a crontab file, but it doesn't seem proper to run mbmon at an interval.

I found this somewhat confusing mailing list message, that doesn't say where to run the script from. Do I name the script mbmon and add it to /etc/rc.d?

Last edited by DutchDaemon; April 2nd, 2011 at 17:54. Reason: add question
Reply With Quote
  #2  
Old April 3rd, 2011, 16:38
francis's Avatar
francis francis is offline
Junior Member
 
Join Date: Nov 2010
Posts: 90
Thanks: 6
Thanked 35 Times in 30 Posts
Default

Hi, if you want to create that script, maybe try to do this in that way? You can create in the /usr/local/etc/rc.d/ directory a .sh script, put that command which you are using, I mean $ mbmon -r -P port# and make this shell script executable by using # chmod +x your_script_name.sh.
Then put in the /etc/rc.conf file
Code:
your.script.name_enable="YES"
However, if this script must be placed in the /etc/rc.d/ directory, look here; Practical rc.d scripting in BSD
By the way. In the gkrellm manual pages for Linux is written something like
Quote:
Originally Posted by gkrellm(1) - Linux man page
If the mbmon daemon is used, it must be started before gkrellm like so:

mbmon -r -P port-number

where the given "port-number" must be configured to match in the gkrellm Sensors->Options config.
I hope that it will help You in some way. Good luck.
__________________
Obscurity as the foundation of Security = Bad
Obscurity in addition to Security = Good

Last edited by francis; April 3rd, 2011 at 16:39. Reason: no reason.
Reply With Quote
The Following User Says Thank You to francis For This Useful Post:
pcbsd64 (April 3rd, 2011)
  #3  
Old April 3rd, 2011, 18:35
pcbsd64's Avatar
pcbsd64 pcbsd64 is offline
Junior Member
 
Join Date: Mar 2011
Location: Columbia River Gorge
Posts: 24
Thanks: 13
Thanked 0 Times in 0 Posts
Default

Thankk you, francis. I'll try that. I didn't realize the use of rc.d and rc.conf were so flexible.

Quote:
Originally Posted by francis View Post
By the way. In the gkrellm manual pages for Linux is written something like
Quote:
Originally Posted by gkrellm(1) - Linux man page
If the mbmon daemon is used, it must be started before gkrellm like so:

mbmon -r -P port-number

where the given "port-number" must be configured to match in the gkrellm Sensors->Options config.
Quote:
mbmon -r -P <port#>
When I used the hash symbol "#", I was meaning a number. It is probably a depreciated usage now , but "#" used to be called the number sign, then later it became the pound sign, because it is located above the "3" on a keyboard. UK keyboards have "£" for pound sterling located there.

Hash is probably the most accurate usage . I'm glad we finally got around to it.
Reply With Quote
  #4  
Old April 3rd, 2011, 18:50
wblock@'s Avatar
wblock@ wblock@ is offline
Moderator
 
Join Date: Sep 2009
Location: Milky Way galaxy
Posts: 7,850
Thanks: 444
Thanked 1,828 Times in 1,494 Posts
Default

Quote:
Originally Posted by pcbsd64 View Post
When I used the hash symbol "#", I was meaning a number. It is probably a depreciated usage now , but "#" used to be called the number sign, then later it became the pound sign, because it is located above the "3" on a keyboard. UK keyboards have "£" for pound sterling located there.

Hash is probably the most accurate usage . I'm glad we finally got around to it.
It's a regional thing. Personally, I like the sound of "octothorpe".
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Avahi-Daemon wernerdev Installation and Maintenance of FreeBSD Ports or Packages 24 August 28th, 2011 14:00
setting daemon Nostradam GNOME 0 April 5th, 2010 02:32
rsync daemon problem gnoma Web & Network Services 1 November 30th, 2009 20:17
Rsync daemon dennylin93 Web & Network Services 2 May 16th, 2009 16:10
locate daemon? ph0enix General 12 March 27th, 2009 23:41


All times are GMT +1. The time now is 11:03.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0