Re: how to determine the temperature of your CPU?

2012-07-25 Thread Vladislav V. Prodan
25.07.2012 18:16, ill...@gmail.com wrote:
 On 25 July 2012 07:55, Владислав Продан univers...@ukr.net wrote:


 CPU: AMD FX(tm)-8120 Eight-Core Processor(3110.49-MHz K8-class 
 CPU)
   Origin = AuthenticAMD  Id = 0x600f12  Family = 15  Model = 1  Stepping = 
 2

 # kldstat -v | grep temp
 319 cpu/coretemp
 311 hostb/amdtemp


 
 % sysctl dev.amdtemp
 
 % sysctl hw.acpi.thermal
  the other stuff is probably best extracted via:
 % sysctl dev.cpu | grep temperature
 (as you can't use wildcards in sysctl oids, bleh)
 
 For my dual core machine, I use:
 % sysctl hw.acpi.thermal.tz0.temperature dev.amdtemp.0.sensor0 \
 dev.amdtemp.0.sensor1 dev.cpu.0.temperature dev.cpu.1.temperature
 
 in a script to quickly see all of my temperature sensors.  You likely have
 many more.
 

Thanks for the tips! But I have already tried these commands.
With 2,4,6-core temperature is displayed, but with 8 cores is not :(
Probably will have to arrange PR ...


-- 
Vladislav V. Prodan
System  Network Administrator
http://support.od.ua
+380 67 4584408, +380 99 4060508
VVP88-RIPE
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: how to determine the temperature of your CPU?

2012-07-25 Thread Vladislav V. Prodan
26.07.2012 1:55, Polytropon wrote:
 On Wed, 25 Jul 2012 14:55:00 +0300, Владислав Продан wrote:


 CPU: AMD FX(tm)-8120 Eight-Core Processor(3110.49-MHz K8-class 
 CPU)
   Origin = AuthenticAMD  Id = 0x600f12  Family = 15  Model = 1  Stepping = 
 2
  
 # kldstat -v | grep temp
 319 cpu/coretemp
 311 hostb/amdtemp
 
 There are programs in ports like mbmon and xmbmon to easily
 output the CPU temperature values.
 

Thank you!
mbmon shows the temperature of the CPU.


-- 
Vladislav V. Prodan
System  Network Administrator
http://support.od.ua
+380 67 4584408, +380 99 4060508
VVP88-RIPE
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Do not work turn-off line to syslogd last message repeated N times'

2012-03-02 Thread Vladislav V. Prodan
Subj.

# uname -a
FreeBSD XXX.ru 9.0-PRERELEASE FreeBSD 9.0-PRERELEASE #1: Mon Dec  5
14:56:07 EET 2011 r...@xxx.ru:/usr/obj/usr/src/sys/XXX.2  amd64


# ps -auxww | grep syslog
root 84784   0,0  0,0  12168   1348  ??  Ss   ср00
0:03,24 /usr/sbin/syslogd -sc
root 24776   0,0  0,0  16408   1364   9  S+2:50
0:00,00 grep syslog


#man syslogd

...
 -c  Disable the compression of repeated instances of the same line
 into a single line of the form ``last message repeated N
times''
 when the output is a pipe to another program.  If specified
 twice, disable this compression in all cases.
...



-- 
Vladislav V. Prodan
System  Network Administrator
http://support.od.ua
+380 67 4584408, +380 99 4060508
VVP88-RIPE
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Do not work turn-off line to syslogd last message repeated N times'

2012-03-02 Thread Vladislav V. Prodan
03.03.2012 0:59, Yuri Pankov wrote:
 You have 'c' specified once and don't seem to be piping the output to
 another program. Try specifying 'c' twice as the part of the manpage you
 pasted suggests?
 
 

It also does not work this version:

# ps -auxww | grep syslog
root 84784   0,0  0,0  12168   1348  ??  Ss   ср00
0:03,24 /usr/sbin/syslogd -s -c



-- 
Vladislav V. Prodan
System  Network Administrator
http://support.od.ua
+380 67 4584408, +380 99 4060508
VVP88-RIPE
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Do not work turn-off line to syslogd last message repeated N times'

2012-03-02 Thread Vladislav V. Prodan
03.03.2012 1:10, Yuri Pankov wrote:
 Well, twice means cc :-)

#man syslogd
...
SYNOPSIS
 syslogd [-468ACcdkNnosuv] [-a allowed_peer] [-b bind_address]
 [-f config_file] [-l [mode:]path] [-m mark_interval]
 [-P pid_file] [-p log_socket]
...

Where do you see an indication to use the -cc?

I need to remove the logs from the line of the form:
last message repeated N times


-- 
Vladislav V. Prodan
System  Network Administrator
http://support.od.ua
+380 67 4584408, +380 99 4060508
VVP88-RIPE
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Tell a minimum requirement for RAM for virtual machines (virtualbox)

2011-05-21 Thread Vladislav V. Prodan

21.05.2011 18:57, Adam Vande More wrote:


Couple things to think about.  Virtualbox by default doesn't obey flush
cache commands.  This is potentially a very bad thing so you'll want to look
a changing the default for any ZFS VM, and probably any VM doing DB
operations unless speed is more of a priority than data integrity.

The other thing to keep in mind is i386 binaries use less RAM than their
amd64 counter parts.  For this reason, I always make my VM's 32 bit to
achieve higher VM density.  I have not had trouble with ZFS on i385 with
1GB+ of RAM when following the recommended tuning, but I haven't used a
heavily used them either.

I prefer to use the MFSBSD ZFS v28 i386 iso for the install.



Thanks for the recommendation, but I have all the workers of the amd64 
and tests in the i386, with its restrictions did not see the point.
Now start the virtual machine to 150MB RAM, FreeBSD 8.2-CURRENT amd64 on 
ZFS.


--
Vladislav V. Prodan
VVP24-UANIC
+380[67]4584408
+380[99]4060508
vla...@jabber.ru
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Tell a minimum requirement for RAM for virtual machines (virtualbox)

2011-05-20 Thread Vladislav V. Prodan
Tell choice OS (8.2, 8.2-CURRENT or 9.0-CURRENT, FS (UFS or ZFS) and the 
minimum amount of RAM for use in such schemes:
1) the interaction of multiple routers with established quagga (bgpv4, 
bgpv6, ospf)

2) the work of two different modes of MYSQL replication servers/clusters.
3) backup zfs partitions/snapshots to a remote server


Host machine - win7 64x with 6 GB of RAM

Thank you for your advice.

--
Vladislav V. Prodan
VVP24-UANIC
+380[67]4584408
+380[99]4060508
vla...@jabber.ru
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ZFS-Only FreeBSD and crashdump

2011-04-29 Thread Vladislav V. Prodan

28.04.2011 22:25, Yuri Pankov wrote:

Why not just use your swap partition as dumpdev?

For example?
When ZFS is started, it initializes the swap and core dump data will be 
erased, not having to perform savecore?


--
Vladislav V. Prodan
VVP24-UANIC
+380[67]4584408
+380[99]4060508
vla...@jabber.ru
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


ZFS-Only FreeBSD and crashdump

2011-04-28 Thread Vladislav V. Prodan

I have the ZFS-Only FreeBSD 8.2.
# gpart show
=   34  321672893  ad4  GPT  (153G)
 341281  freebsd-boot  (64K)
162   335544322  freebsd-swap  (16G)
   33554594  2881183333  freebsd-zfs  (137G)

How to obtain crash dump, so he kept on zfs?
Is it enough for it to correct /etc/rc.d/zfs, adding:
# BEFORE: dumpon ?


--
Vladislav V. Prodan
VVP24-UANIC
+380[67]4584408
+380[99]4060508
vla...@jabber.ru
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: ZFS-Only FreeBSD and crashdump

2011-04-28 Thread Vladislav V. Prodan

28.04.2011 19:40, Andriy Gapon wrote:

At the moment FreeBSD doesn't support dumping to ZFS zvols, if that's what you 
are
asking.


And when do planning to add support? :)
Option to use to dump the usb-flash has its limitations, both on disk 
size and write speed?



--
Vladislav V. Prodan
VVP24-UANIC
+380[67]4584408
+380[99]4060508
vla...@jabber.ru
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: Options for Secondary DNS Service?

2011-04-24 Thread Vladislav V. Prodan

24.04.2011 15:33, Loïc Pefferkorn wrote:

Le 11/04/2011 05:43, Pierre-Luc Drouin a écrit :

Hi,

I am looking for a secondary DNS service. Any suggestion? It is not for
a non-profit organisation so I am not necessarily looking for a free
solution, but I am wondering if there are reliable solutions for less
than what dyndns charges ($40 /year/zone).

Thanks!
___


Hello,

You should give a try to http://www.xname.org



Also try:
http://www.dyndns.com/
https://dns.he.net/
http://secondary.net.ua/





--
Vladislav V. Prodan
VVP24-UANIC
+380[67]4584408
+380[99]4060508
vla...@jabber.ru
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: how to add a few hundred ip on one interface?

2011-02-11 Thread Vladislav V. Prodan
11.02.2011 8:07, Matthew Seaman пишет:
 ipv4_addrs_re0=xxx.xxx.yyy.134-147/23
 
 See rc.conf(5) for details.

And this construction work?

  ipv4_addrs_ed0=192.0.2.129/27 192.0.2.1-2/28 192.0.2.4-5/28


-- 
Vladislav V. Prodan
VVP24-UANIC
+38[067]4584408
+38[099]4060508
vla...@jabber.ru
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: how to add a few hundred ip on one interface?

2011-02-11 Thread Vladislav V. Prodan
11.02.2011 15:25, Guillermo Fernando Cotone wrote:
 On 02/11/2011 09:55 AM, Vladislav V. Prodan wrote:
 And this construction work?

   ipv4_addrs_ed0=192.0.2.129/27 192.0.2.1-2/28 192.0.2.4-5/28
   
 It would work only if all the IPs were on the same subnet. If you want
 to use different subnets you need to implement vlans on that interface
 first.
 

man rc.conf
...
One can configure more than one IPv4 address with the
ipv4_addrs_interface variable.  One or more IP addresses
must be provided in Classless Inter-Domain Routing (CIDR)
address notation, whose last byte can be a range like
192.0.2.5-23/24.  In this case the address 192.0.2.5 will be
configured with the netmask /24 and the addresses 192.0.2.6
to 192.0.2.23 with the non-conflicting netmask /32 as
explained in the ifconfig(8) alias section.  With the inter-
face in question being ed0, an example could look like:

ipv4_addrs_ed0=192.0.2.129/27 192.0.2.1-5/28
...

-- 
Vladislav V. Prodan
VVP24-UANIC
+38[067]4584408
+38[099]4060508
vla...@jabber.ru
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


how to add a few hundred ip on one interface?

2011-02-10 Thread Vladislav V. Prodan
only a shell script at startup? or there are other standard tools?
Is there a limit on the number of IP on one interface?

## make aliases IP
for i in 134 135 136 137 138 139 140 141 142 143 144 145 146 147
do
ifconfig re0 xxx.xxx.yyy.$i/23 alias
done

for j in 134 135 136 137 138 139 140 141 142 143 144 145 146 147
do
ifconfig re0 xxx.xxx.xxx.$i/23 alias
done



-- 
Vladislav V. Prodan
VVP24-UANIC
+38[067]4584408
+38[099]4060508
vla...@jabber.ru
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: how to add a few hundred ip on one interface?

2011-02-10 Thread Vladislav V. Prodan
11.02.2011 1:52, patrick wrote:
 See http://www.freebsd.org/doc/en/books/faq/networking.html#ETHERNET-ALIASES
 for more info. Note that aliases should have a netmask of 0x
 (255.255.255.255).

Much difference in the appointment of netmask /23 or /32 are not seen.

# ifconfig re0
re0: flags=8843UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST metric 0 mtu 1500

options=389bRXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM,WOL_UCAST,WOL_MCAST,WOL_MAGIC
ether 90:e6:ba:25:1c:b5
inet XXX.XXX.XXX.12 netmask 0xfe00 broadcast XXX.XXX.XXY.255
inet6 fe80::92e6:baff:fe25:1cb5%re0 prefixlen 64 scopeid 0x1
inet XXX.XXX.XXX.18 netmask 0xfe00 broadcast XXX.XXX.XXY.255
inet 192.168.1.201 netmask 0xff00 broadcast 192.168.1.255
inet XXX.XXX.XXX.22 netmask 0x broadcast XXX.XXX.XXX.22
nd6 options=3PERFORMNUD,ACCEPT_RTADV
media: Ethernet autoselect (100baseTX full-duplex)
status: active


# netstat -rn | grep XXX.XXX.XXX
defaultXXX.XXX.XXX.1  UGS 060026re0
XXX.XXX.XXX.0/23   link#1 U   0 1605re0
XXX.XXX.XXX.12 link#1 UHS 00lo0
XXX.XXX.XXX.18 link#1 UHS 00lo0
XXX.XXX.XXX.22 link#1 UHS 00lo0 =
XXX.XXX.XXX.22/32  link#1 U   00re0

-- 
Vladislav V. Prodan
VVP24-UANIC
+38[067]4584408
+38[099]4060508
vla...@jabber.ru
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: HDD READ/Timeout messages after 8.2 Upgrade

2010-12-31 Thread Vladislav V. Prodan
31.12.2010 4:10, Derrick Ryalls wrote:
 Any pointers?

Upgrade to an old build FreeBSD 8.1
Similar problems with working HDD in 9.0-CURRENT

-- 
Vladislav V. Prodan
VVP24-UANIC
+38[067]4584408
+38[099]4060508
vla...@jabber.ru
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


The limit on the length of the login

2010-08-31 Thread Vladislav V. Prodan
pw: name too long `sdgkjdsfgkjdfghkdjsfgfsdjghdjks' (max is 16)

Crutches pam_mysql and pam_ldap does not offer :)

regards
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org