top view different screens

2009-06-01 Thread Momchil Ivanov
Hi,

how can I view the second and third screens in top? Is it possible?

Thanks,
Momchil
___
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: CPU Monitoring Software

2007-09-29 Thread Momchil Ivanov
On Friday 28 September 2007 14:53:44 [EMAIL PROTECTED] wrote:
> I was wanting to see what my servers utilize as far as memory, disk, cpu,
> etc. over a certain time period.  Is there some software that I can use?
> I guess something like the 'top' command that gives an average output over
> a certain time.
>
> I downloaded sysstat for my linux boxes, but it does not want to compile
> under freebsd.
>
> Thanks.

You can use cacti + snmp. All you have to do is install and configure snmp on 
all your machines and then set up cacti + web server with php on some machine 
to gather all the info from the others via snmp. You will get nice graphs 
(cacti uses rrdtools) for almost everything you can get via snmp (disk usage, 
cpu utilization, network traffic, load average,...) where you can 
utilize hirstorical view (last week, last month, from xxx to xxx, ...).
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: attaching a terminal to 'join' another?

2007-08-03 Thread Momchil Ivanov
На Friday 03 August 2007 00:02:51 Tim Judd написа:
> Forgot to CC the questions ML.
>
> --- Tim Judd <[EMAIL PROTECTED]> wrote:
> > From Tim Judd Thu Aug  2 15:01:18 2007
> > Received: from [68.35.175.118] by web62407.mail.re1.yahoo.com via
> > HTTP; Thu, 02 Aug 2007 15:01:18 PDT
> > Date: Thu, 2 Aug 2007 15:01:18 -0700 (PDT)
> > From: Tim Judd <[EMAIL PROTECTED]>
> > Subject: Re: attaching a terminal to 'join' another?
> > To: [EMAIL PROTECTED]
> > MIME-Version: 1.0
> > Content-Type: text/plain; charset=iso-8859-1
> > Content-Transfer-Encoding: 8bit
> > Content-Length: 2291
> >
> > I'm on the digest list, so I copy/paste the message to quote:
> >
> > -QUOTE:
> > Message: 16
> > Date: Thu, 2 Aug 2007 11:19:21 -0400
> > From: "Jim Stapleton" <[EMAIL PROTECTED]>
> > Subject: attaching a terminal to 'join' another?
> > To: freebsd-questions@freebsd.org
> > Message-ID:
> > <[EMAIL PROTECTED]>
> > Content-Type: text/plain; charset=ISO-8859-1
> >
> > Sorry if my question is a bit confusing - I'm not even sure the
> > proper
> > terminology, so I don't know what the best way to start looking is.
> >
> > I'm rebuilding a system at home, and I'd like to check how the build
> > is going at a slow time at work sometimes. I can connect to the
> > system
> > from work (ssh into my main box, and then from there, ssh to the
> > system I'm working on). I have a terminal opened on that system
> > (actually, another ssh session fron the main box), and I'd like to
> > have my new connection attach to that terminal session, if possible,
> > so that I can just pick up where I left off, and monitor it from
> > here.
> > Is this possible?
> >
> > Sessions
> > main desktop terminal A [ssh]--> workstation terminal A (where builds
> > are currently being processed)
> >
> > work desktop terminal [ssh]--> main destop terminal B [ssh]-->
> > workstation terminal B
> >
> >
> > I would like to have workstation terminal B intercept workstation
> > terminal A, or main desktop terminal B intercept main desktop
> > terminal
> > A. Can it be done? Where do I start looking, what are the words and
> > phrases of interest? I tried looking at both the bash and xterm
> > commands/man page, but they are rather long, and I'd miss what I was
> > looking for without having a clue in advance.
> >
> > I'm guessing something like /dev/?tty?? might work, but how do I
> > figure out which tty to use?
> >
> > Thank you,
> > -Jim Stapleton
> > --/QUOTE
> >
> > Can't the OP, Jim, use watch(8) with the -W option to interact w/ the
> > terminal?
> >
> > Nothing wrong with screen, but a built-in utility exists.

It`s possible, but he`d better use screen for updating/upgrading, since his 
ssh session that initiated the process may die and then the process dies. 
With screen the process will continue if his ssh session dies and he would be 
able to later reattach to the terminal in question.

-- 
PGP KeyID: 0x3118168B
Keyserver: pgp.mit.edu
Key fingerprint BB50 2983 0714 36DC D02E  158A E03D 56DA 3118 168B

  


signature.asc
Description: This is a digitally signed message part.


Re: logging system load

2007-07-25 Thread Momchil Ivanov
На Wednesday 25 July 2007 19:38:41 Zbigniew Szalbot написа:
> Dear all,
>
> Is there a tool similar to top which would measure system load and write it
> to a file that could later be analyzed? The time when my system is most
> loaded happens between 3 and 5 a.m. so a trace of the system load would be
> a wonderful thing to have. I need it to tailor some of the jobs
> accordingly. Any advice?
>
> Thanks in advance!

You can make a cronjob doing "uptime >> /path/to/logfile" every minute

-- 
PGP KeyID: 0x3118168B
Keyserver: pgp.mit.edu
Key fingerprint BB50 2983 0714 36DC D02E  158A E03D 56DA 3118 168B  


signature.asc
Description: This is a digitally signed message part.


kernel: interrupt storm detected on "irq11:"; throttling interrupt source

2007-07-25 Thread Momchil Ivanov
Hi,

I bought recently wireless PCMCIA card with atheros chip. When it`s not 
connected to my access point (ap down, or I just brought the card up and 
didn`t tell it to which SSID to connect) I often see

kernel: interrupt storm detected on "irq11:"; throttling interrupt source

and my system freezes for some seconds. Is there some way I can avoid this?

-- 
PGP KeyID: 0x3118168B
Keyserver: pgp.mit.edu
Key fingerprint BB50 2983 0714 36DC D02E  158A E03D 56DA 3118 168B
  


signature.asc
Description: This is a digitally signed message part.


Re: Detecting CPU Type

2007-07-10 Thread Momchil Ivanov
On Tuesday 10 July 2007 21:54:43 Olivier Regnier wrote:
> Hi everyone,
>
> I searching to find information about my CPU type.
>
> With the following command:
> # dmesg | grep -i cpu
> i have this: CPU: Mobile AMD Sempron(tm) Processor 2800+ (1600.06-Mhz
> 686-class CPU)
> but with a
> # uname -m
> i have i386.
>
> I must configure my CPUTYPE?= in /etc/make.conf.
> I'ts i686 (686-class) or i386 ?
>
> Can you give me information please ?
>
> Thank you.
>
> Olivier Regnier

Hi Olivier,

from the manual page of uname(1) you can see what the -m option shows you, 
namely the platform on which you are running FreeBSD:

 -m  Write the type of the current hardware platform to standard out-
 put.
 
This page gives information on what kind of platforms does FreeBSD run 
http://www.freebsd.org/platforms/

-- 
PGP KeyID: 0x3118168B
Keyserver: pgp.mit.edu
Key fingerprint BB50 2983 0714 36DC D02E  158A E03D 56DA 3118 168B
  


pgpWIVoklXlLD.pgp
Description: PGP signature


Re: game advice

2007-07-07 Thread Momchil Ivanov
On Friday 06 July 2007 11:49:51 Peter Boosten wrote:
> Momchil Ivanov wrote:
> > You can try the mame emulator (it is in ports). There were a lot of games
> > for 8 bit consoles when I was about 8 years old :) and believe me, they
> > were and still are amaizing. There is no such experience as playing the
> > whole night "Tanks" with a friend getting to the last level or so.
>
> True: they don't make them like they used to :-)

21th century :) everything is 3D with surround sound now, no beeps, even the 
controls are different now. Have you tried the new Wii console? You have 
wireless remotes with built in speakers (they vibrate too) and you just have 
to move your hand around or turn the remote. Boxing with these remotes is 
fun :) though they don`t work with distances greater that 2.5-3 meters, which 
is a but unpleasant when 4 people are playing tennis ( there is just not 
enough free space for 4 people moving hands around in these 3 meters in front 
of the tv).
Though computer games are fun, consoles still rock!

-- 
PGP KeyID: 0x3118168B
Keyserver: pgp.mit.edu
Key fingerprint BB50 2983 0714 36DC D02E  158A E03D 56DA 3118 168B
  


pgpBC4Dxm9gYF.pgp
Description: PGP signature


Re: game advice

2007-07-06 Thread Momchil Ivanov
On Friday 06 July 2007 04:29:07 Andriy Babiy wrote:
> Hi everybody,
>
> Could anyone share their gaming experiences? My son is 8 years old. Card
> games and balls are good, but I think he wants something more dynamic
> rather than educational :-) On one machine, with recent video card, I plan
> to install glest for him. Another machine has P-III and Matrox 8 Mb. Is
> there anything "peaceful" but dynamic enough for an older video card?
>
> Thank you in advance!
> Andriy

You can try the mame emulator (it is in ports). There were a lot of games for 
8 bit consoles when I was about 8 years old :) and believe me, they were and 
still are amaizing. There is no such experience as playing the whole 
night "Tanks" with a friend getting to the last level or so. There were a lot 
of "Mario*" games, Load runner was one of my favouries too, there is a port 
in games:

Path:   /usr/ports/games/xscavenger
Info:   A Lode Runner clone for X11

I beleive I haven`t tried that one though. Btw "Contra" was one of the best 
shooting games for those boxes. As I said there are to many games for 
those old boxes, that you can play with the mame emulator.

You can also try with some windows games on windows or using the wine emulator 
(the P-III won`t be fast enough for emulation). StartCraft* is one of my 
favouries (runs with the wine emulator under FreeBSD).

There are some games in ports like xjewels (super cool tetris game as far as I 
remember), xboing is good too.

In the end I should say: install as more games as you can and give your son 
the chance to choose what to play :) a lot of games is always good, one can 
always find at least one that he can play the whole day long. Having less 
games is somehow limiting.

-- 
This correspondence is strictly confidential. Any screening, filtering
and/or production for the purpose of public or otherwise disclosure is
forbidden without written permission by the author signed above. If you are
not the intended recipient, please immediately notify the sender and
permanently delete any copies

PGP KeyID: 0x3118168B
Keyserver: pgp.mit.edu
Key fingerprint BB50 2983 0714 36DC D02E  158A E03D 56DA 3118 168B
  


pgpXVJ2IMTvfq.pgp
Description: PGP signature


Re: freebsd / gateway / parental control

2007-07-01 Thread Momchil Ivanov
On Monday 02 July 2007 03:45:39 Norberto Meijome wrote:
> On Fri, 29 Jun 2007 22:46:10 +0200
>
> Momchil Ivanov <[EMAIL PROTECTED]> wrote:
> > 4) Forget about the DSL router. Box with wireless NIC, 1 NIC for home
> > net, 1 NIC for the DSL
^^
> > - same as above, just have to tell your box how to connect to your ISP
>
> ok, this is interesting. You mean, plug the phone line straight into, say,
> fxp1 ? and then using ppp to connect over PPoE to your ISP?
>
> I had originally thought of getting a DSL card , but there doesn't seem to
> be any ADSL2/2+ supported.

Well, as you get your internet connection through a DSL line, the above is 
meant to be a DSL card.

-- 
PGP KeyID: 0x3118168B
Keyserver: pgp.mit.edu
Key fingerprint BB50 2983 0714 36DC D02E  158A E03D 56DA 3118 168B
  


pgpclIeguBIZD.pgp
Description: PGP signature


gimp grashing: "The error was 'BadWindow (invalid Window parameter)'."

2007-06-29 Thread Momchil Ivanov
Hi,

I am running FreeBSD 6-STABLE as of Thu Jun 14 13:01:26 CEST 2007, Xorg 7.2 
and the gimp-2.2.15,2 port. I am experiencing the following problem: When I 
create/open a document then select the brush and click in the document window 
gimp crashed with the following error

> [EMAIL PROTECTED] gimp$ gimp
> The program 'gimp' received an X Window System error.
> This probably reflects a bug in the program.
> The error was 'BadWindow (invalid Window parameter)'.
>   (Details: serial 29816 error_code 3 request_code 39 minor_code 0)
>   (Note to programmers: normally, X errors are reported asynchronously;
>    that is, you will receive the error a while after causing it.
>    To debug your program, run it with the --sync command line
>    option to change this behavior. You can then get a meaningful
>    backtrace from your debugger if you break on the gdk_x_error()
> function.) [EMAIL PROTECTED] gimp$
> (script-fu:32342): LibGimpBase-WARNING **: script-fu: wire_read(): error


after starting gimp with --sync it crashes in the same way

> [EMAIL PROTECTED] gimp$ gimp --sync
> The program 'gimp' received an X Window System error.
> This probably reflects a bug in the program.
> The error was 'BadWindow (invalid Window parameter)'.
>   (Details: serial 73867 error_code 3 request_code 39 minor_code 0)
>   (Note to programmers: normally, X errors are reported asynchronously;
>    that is, you will receive the error a while after causing it.
>    To debug your program, run it with the --sync command line
>    option to change this behavior. You can then get a meaningful
>    backtrace from your debugger if you break on the gdk_x_error()
> function.)
>
> (script-fu:32377): LibGimpBase-WARNING **: script-fu: wire_read(): error

Does somebody else get the same error? Any ideas how can I fix this?

Thanks

-- 
PGP KeyID: 0x3118168B
Keyserver: pgp.mit.edu
Key fingerprint BB50 2983 0714 36DC D02E  158A E03D 56DA 3118 168B
  


pgpfZbARYFx1D.pgp
Description: PGP signature


Re: freebsd / gateway / parental control

2007-06-29 Thread Momchil Ivanov
On Friday 29 June 2007 09:13:09 zigniew szalbot wrote:
> >
> > If you use the wireless in the DSL modem, you'll be bypassing the BSD
> > server.
>
> Just one question here. If I plug the router to the lan NIC and configure
> it to take DHCP and DNS settings from the BSD box, then the wireless will
> not bypass the BSD machine, will it?
>

You can do it in the following ways:

1) Box with one NIC
- connect the box to your home network
- disable DSL router`s DHCP for your home network
- start dhcpd on the box giving ip addresses to your home clients and 
telling 
them that the box itself is the gateway, run squid or whatever you want to 
capture your clients' traffic and filter them, then the box users the DSL 
router for gateway
- disadvantages: if your kids are smart they will just change their 
gateway 
so that it`s not the box, but the DSL router and override your filtering

2) Same as above, but say DSL`s home ip is 10.51.87.1 you give the box 
10.51.87.2, then give the box another ip (alias) 10.37.6.1 and tell the dhcpd 
on the box to give ip adresses from the 10.37.6.0/24 network to the client. 
The idea is to use 2 networks, one box <-> clients, the other for dsl router 
<-> box
- disadvantages: again if your kids are smart they`ll just set 
themselves 
some static ip from the dsl router`s network and browse. They just have to 
figure out router`s ip and network :) as in the above case

3) Box with 2 NICs and wireless NIC
- disable dsl router`s wireless NIC
- connect dsl router to NIC1 on the box
- connect NIC2 to home net
- setup the box wireless as Access Point
- bridge NIC2 and the wireless NIC on the box
- run your filter

4) Forget about the DSL router. Box with wireless NIC, 1 NIC for home net, 1 
NIC for the DSL
- same as above, just have to tell your box how to connect to your ISP

-- 
This correspondence is strictly confidential. Any screening, filtering
and/or production for the purpose of public or otherwise disclosure is
forbidden without written permission by the author signed above. If you are
not the intended recipient, please immediately notify the sender and
permanently delete any copies

PGP KeyID: 0x3118168B
Keyserver: pgp.mit.edu
Key fingerprint BB50 2983 0714 36DC D02E  158A E03D 56DA 3118 168B
  


pgpvaXII4YpIh.pgp
Description: PGP signature


Re: Wheel Group users get root access without password prompt in 6.2

2007-06-17 Thread Momchil Ivanov
On Sunday 17 June 2007 11:24:46 Tek Bahadur Limbu wrote:
> Hi All,
>
> I just installed FreeBSD-6.2 today. However, a problem has come up.
> Whenever I create a new user and add them to the wheel group, they can get
> root access without getting a root password prompt!
>
> Is my passwd file corrupt or is it due to some misconfiguration in my
> freebsd box?
>
> Can somebody shed some light on this?
>
> Thanking you...

How do they get root access? su root or what? Did you set password for the 
root account or is it just empty?

-- 
PGP KeyID: 0x3118168B
Keyserver: pgp.mit.edu
Key fingerprint BB50 2983 0714 36DC D02E  158A E03D 56DA 3118 168B
  


pgp68BgpJ8TNU.pgp
Description: PGP signature


Re: Best Chat for Freebsd 4.x

2007-06-07 Thread Momchil Ivanov

You can run ircd hybrid or ratbox and apache + some web based irc client. It`s 
simple and leaves the users with the possibility to use their favourite irc 
client if they don`t want to use the web interface

-- 
PGP KeyID: 0x3118168B
Keyserver: pgp.mit.edu
Key fingerprint BB50 2983 0714 36DC D02E  158A E03D 56DA 3118 168B
  


pgpgYFnpeWxZ2.pgp
Description: PGP signature


How to get Cisco Aironet MPI350 wireless card to work

2007-06-07 Thread Momchil Ivanov
Hi guys,

I have Cisco Aironet MPI350 in my IBM T40 laptop and since I`ve never used 
wireless cards I don`t know what exactly to do. When I load the if_an I see 
the following messages


an0:  port 0x8000-0x80ff mem 
0xc021-0xc0213fff,0xc040-0xc07f irq 11 at device 2.0 on pci2
an0: record length mismatch -- expected 194, got 196 for Rid ff10
an0: record length mismatch -- expected 192, got 260 for Rid ff00
an0: got RSSI <-> dBM map
an0: supported rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
an0: Ethernet address: 00:0e:9b:1f:61:3e
an0: [GIANT-LOCKED]
an0: record length mismatch -- expected 194, got 196 for Rid ff10
an0: record length mismatch -- expected 194, got 196 for Rid ff10

and when I try "ifconfig an0 scan" it never returns.

This is how it looks like in ifconfig

an0: flags=8843 mtu 1500
        ether 00:0e:9b:1f:61:3e
        media: IEEE 802.11 Wireless Ethernet autoselect (DS/11Mbps)
        status: no carrier
        ssid  channel 1
        stationname FreeBSD
        authmode OPEN privacy OFF deftxkey 1 txpowmax 0 rtsthreshold 0
        mcastrate 0 fragthreshold 0 bmiss 0 roaming DEVICE

What am I doing wrog? When I got the laptop there was Windows on it and used 
to show some wireless devices I can connect to. How can I get a list of the 
available wireless devices or is the driver broken? I`m running 6-stable as 
of 1-2 weeks ago.

I`ve also tried to use the windows driver via ndis, but when I load the ndis 
module and if_ndis I don`t see any corresponding device with ifconfig (no 
ndis0, no an0).

Thanks

-- 
PGP KeyID: 0x3118168B
Keyserver: pgp.mit.edu
Key fingerprint BB50 2983 0714 36DC D02E  158A E03D 56DA 3118 168B
  


pgpsIGBV0X8kL.pgp
Description: PGP signature


Re: what should I set for CPUTYPE in make.conf?

2007-06-03 Thread Momchil Ivanov
On Sunday 03 June 2007 15:27:58 Abdullah Ibn Hamad Al-Marri wrote:
> On 6/3/07, Oliver Herold <[EMAIL PROTECTED]> wrote:
> > Nothing at all in my humble opinion. You'll have maybe more problems than
> > advantages because of changing this option.

Can you explain this one, please? What kind of problems am I going to 
encounter?

>
> Oliver is more expert than I, but _IF_ we will get troubles why do we
> have this option in the first place?

-- 
PGP KeyID: 0x3118168B
Keyserver: pgp.mit.edu
Key fingerprint BB50 2983 0714 36DC D02E  158A E03D 56DA 3118 168B
  


pgpqxsqyD9BYK.pgp
Description: PGP signature


what should I set for CPUTYPE in make.conf?

2007-06-03 Thread Momchil Ivanov
Hi guys,

I have IBM T40 with dmesg showing the processor as

CPU: Intel(R) Pentium(R) M processor 1500MHz (1495.16-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x695  Stepping = 5
  
Features=0xa7e9f9bf
Features2=0x180

What sould I set for CPUTYPE in my make.conf pentium4m, pentium-m or something 
else?

Thanks,
Momchil

-- 
PGP KeyID: 0x3118168B
Keyserver: pgp.mit.edu
Key fingerprint BB50 2983 0714 36DC D02E  158A E03D 56DA 3118 168B
  


pgpXeEtpgEGOB.pgp
Description: PGP signature


Re: "Operation not permitted" when mounting floppy or cdrom

2007-02-17 Thread Momchil Ivanov
На 17.2.2007 21:11 lysergius2001 пише:
> FreeBSD 6.2.  Recently installed will not permit user mount of floppy disk,
> cdrom, or usb.  Works fine as root.  Checked devfs.conf, devfs.rules,
> fstab, /dev.  Nothing seems to make a difference.
>
> Any ideas welcomed...
>
> Thanks

Try setting the vfs.usermount sysctl to 1

-- 
This correspondence is strictly confidential. Any screening, filtering
and/or production for the purpose of public or otherwise disclosure is
forbidden without written permission by the author signed above. If you are
not the intended recipient, please immediately notify the sender and
permanently delete any copies

PGP KeyID: 0x3118168B
Keyserver: pgp.mit.edu
Key fingerprint BB50 2983 0714 36DC D02E  158A E03D 56DA 3118 168B


pgpSBbroyeJzM.pgp
Description: PGP signature