Sunday, May 10, 2009

How to count the connections per second made to a linux box?

Hi i have a linux box and my custom HTTP server. I want to know how many connections per second are made to the server without writing any code. Is there some comamndon linux which can give me the connections per second made to the linux box.

How to count the connections per second made to a linux box?
netstat


What is the limitations of Linux compared to Windows?

Linux is the alternative to Windows.





However, it seems Linux has its limitations.





What is the limitations of Linux compared to Windows?





What is it that Windows has but Linux lacks?





Or is Linux just as good as Windows?

What is the limitations of Linux compared to Windows?
I suppose I can help you with your homework. Let's start by examining your assumptions:





1. Linux is not the only alternative to Windows. Apple's (Unix based) Mac OSX is a very viable alternative, as is FreeBSD. There are other OS's, but few have the capabilities of Windows, Linux, OSX, and FreeBSD.


---


2. The only real limitation of Linux compared to Windows is that most PC games are release for Windows but not Linux. DItto OSX. Worse for FreeBSD. Some software (eg Cedega) will allow you to play most PC games on Linux, but not all, and not really easily. It is harder to sync your Windows Mobile smartphone to Linux, but then it's not 100pct reliable on Windows either. In every other respect Linux is similar or superior in capability to Windows, with a minor bit of retraining.


-----


3. Windows has a massive install base and widespread vendor support. Linux is not as comprehensively understood and supported. This is why people say Linux is harder than Windows, even though you apply exactly the same learning process to Linux that you did to Windows. Many programs are available for Windows that are simply not operable in Linux due to this vendor support.


-------


4. Linux is better than Windows, because Linux is by nature more secure: the way Linux handles users and permissions naturally limits the scope of a virus or trojan. Linux is also free. Linux also does not participate in thinly disguised blackmail. Linux does not promote vendor lock. Linux presents a similar user experience across hardware platforms. Linux allows a user to leverage training to multiple roles rather than isolating user skills from admin skills.





I could go on for days.
Reply:Bad:


32-bit Linux has a 2GB file size limit


There are surely other gotchas on Linux. Watch out.


Finding help is easier on Windows.





Good:


No viruses on Linux


LOTS OF NEW DEVELOPMENT GOING ON HERE


Free Report It

Reply:Testing the waters for Linux eh?





Linux was as good as Windows years back. Now, it is better than Windows.





Besides being open source and free software, it has drivers for all the devices out there, has a lot of great games, can run many discarded old computers thus saving old hardwares from ending up in garbage, and a lot more to say.





That apart, Linux runs on every kind of device that you can imagine.





But if you insist, it lacks in being not Windows. It lacks the blue screen of death, service packs, repeated hangs, incomplete removal of files while uninstalling softwares, and such things.
Reply:okay, i am far from a linux expert. but sowmya has it wrong, i am a newbie and i know that.





WINE is a program that lets you run window programs.





1) No limitations


2) Windows has the draconian Mircosoft who is working for big brother designing programs for the O/S, Linux doesn't


3) Linux is better than Windows


a) it is free


b) it is compatible with most hardware


c) it doesn't 'phone home' every time you boot up


d) it is very stable


e) did i say it is free?


f) they don't want to spy on you


g) it is open sorce
Reply:Most of the Softwares presently available are suitable to windows only.





Accessing the applications and running the applications are harder compared with windows.





proper maintainence required for linux compared with windows.





installation is little bit harder





Linux is freeware that is the first advantage.
Reply:This is an ideal opportunity to try out Linux Ubuntu 7.10, the graphics and effects are far superior to Vista see link below :





http://www.youtube.com/watch?v=xC5uEe5Oz...





Ubuntu is free as it is open source, the download link is :





http://www.ubuntu.com/





Once you have downloaded Ubuntu 7.10, you will have an ISO image file. You will then need to create a bootable disc of the file.





This can be achieved by using Nero Burning ROM if you have it or MagicISO a free trial of which is available for download :





http://www.magiciso.com/





Once you have created the bootable disc, we are going to call it the LIVE CD.





Start your PC from the Ubuntu live CD, select start or install when prompted, once the Ubuntu desktop has appeared in the top left hand corner there is an option to install, double click and the installation screen will appear.





Once Ubuntu has asked you about regional settings etc. it will then take you into the partitioning table, if you select the default setting which is on the top, Ubuntu will then automatically sort the space it needs and install its own Grub bootloader.





I am so taken with Ubuntu 7.10, I have ditched windows altogether and I am now running Ubuntu as my primary operating system.





You can run quite a number of windows applications on Ubuntu using WINE, a piece of software that emulates windows. For details of this visit :





http://www.winehq.org/site/download-deb





http://www.psychocats.net/ubuntu/wine





Using Linux may initially seem daunting in places, but you will get use to it, I did.





You can also run Ubuntu using the Live CD without any kind of installation. However this will be somewhat slower and you would be restricted as to running applications, it would just for browsing the web really.





I work with both Ubuntu and Vista, Vista has been an expensive disappointment for me and sits mainly redundant on my hard drive and I consider Ubuntu to be far superior of the two.





I will break it down in to categories and give each system a rating out of 10.





System resource friendly :





Ubuntu 10/10


Vista 4/10





Graphics (Eye Candy) :





Ubuntu 10/10


Vista 7/10





Ease of use :





Ubuntu 7/10


Vista 9/10





Software compatability :





Ubuntu 4/10 (Open Source alternatives in some cases are available) also WINE as described above can be used.


Vista 8/10





Wireless compatability :





Ubuntu 5/10


Vista 8/10





Networking compatability :





Ubuntu 7/10


Vista 8 /10





Security :





Ubuntu 9/10


Vista 8/10





Gaming :





Ubuntu 3/10


Vista 8/10


This category sourced from various sites.





Office software :





Ubuntu 10/10 (Free)


Vista 2 /10





Price :





Ubuntu 10/10 (Free)


Vista 2/10





Overall performance :





Ubuntu 9/10


Vista 6/10





Value :





Ubuntu 8/10


Vista 2/10





It should be noted that these ratings are based on my experience working extensively with both Ubuntu and Vista.





Of the two for me Ubuntu wins hands down.
Reply:If you are really going to use your computer for techinical things, better you can go for linux.You can Interact with the OS and Hardware easily If you know to use it.


Where as windows is for entertainment purpose.You can enjoy videos,games, in Windows...





Wanna know more about linux from basic:
Reply:if you know how to program,


you can make linux do anything.


in this way linux is superior to windows in every way.


linux requires a greater commitment to learn how to make it do exactly what you want.





if you just like to click buttons,


manipulate files, watch videos, listen to music, surf the web,


run programs with no prior computer knowledge.


then windows is for you.


windows will let you do 80% of what you want.





it all depends on how much time your willing to commit,


and how important is it to you to get 100% (linux) of what you want instead of just 80% (windows) of what you want.


How do I install linux and get rid of windows xp?

I just got a computer from a friend that had a corrupted version of windows xp. I tried uninstalling it through the command prompts but it says it wont work. I tried installing linux but after the boot screen it comes up with all these error messages. Im not planning on partitioning my hard drives. Does anyone know if you have to uninstall windows to make linux work right?

How do I install linux and get rid of windows xp?
This is exactly what happened to me 4 years ago!





I was so mad that I installed a Linux distro, (I think it was MEPIS), lost my windows data, (stupid me...I didn't bother to save my files to another drive/partition) and HAVE NEVER LOOKED BACK!





I love Linux and have closed the windows forever!





To be safe, I recommend that you get a "live CD" of a distro like Ubuntu or MEPIS and try it out. A 'live CD' won't change anything on your hard drive, (like destroy the existing data etc.), and will allow you to see if Linux will work with your hardware. If the computer was running XP then chances are it has the RAM and processor speed to do real justice to a Linux distro. Most live Cd's include a hard drive installer.





Almost all hardware now works with Linux; the exceptions being some of the latest boards for which drivers have not yet been written. So there is a very good chance your computer will work just fine under the Linux OS.





If you don't want to spend the $1.95 for a CD, UBUNTU will send you one for free, but it takes a while as they are mailed out of Europe. Try OSDisc.com and click on the live CD tab at the top of the page. Try Puppy Linux too...you can install it on a 1Gb thumb drive just in case you hard drive is kaput!





lake
Reply:You need to create at least two partitions for Linux - "/" and "swap" (there are ways around this but a good install should have at least 3 partitions! /, swap and home). You have to have enough free space to create the Linux partitions (5 - 15 gigs, will work, depending on the distro). Don't try using DSL, Peanut, Puppy, etc., unless you want to have a MINIMAL system!





If you have a non-functional Windoze partition, (did you notice the NON-FUNCTIONAL part?) and you do not have a legal copy of any flavour of Windoze that you can install, then boot from the Linux install CD/DVD and let it hose everything and install clean - but I don't recommend this.





"All these error messages" is really useful information. Here are the steps to fix it.





Once linux is up and running, you should be set to go, but again, I don't recommend that you remove the Windoze partition - dual-booting is the way to go, until you are sure that you want to make the leap!
Reply:delete the partition that has xp on it. install linux on the new partition after it's been formatted.
Reply:Is your hard drive broke? Can you hear an odd mechanical noise (that usually means it's broke.)





If you've got an install CD for Linux, as far as I know, it should be able to install itself no matter what is going on with XP/
Reply:You don't have to uninstall Windows but if you are not going to use it you may as well. You may have got errors in Linux if the version of Linux you got doesn't support some of the hardware in your machine. It all depends on what the error messages say.


What Linux operating system is best for a home audio and video recording system?

Me and my friends are starting a band from scratch. We are building a computer from scratch and using a Linux Operating system to power it, but which distribution is the best for audio and video recording for a band?

What Linux operating system is best for a home audio and video recording system?
Don't know about the "for a band" spec, but check out





64 Studio and





an Ubuntu clone that is for audio / video - it may be called mediabuntu or studiobuntu or something similar - do a google search on it

night garden

How to invoke the Linux Terminal in LINUX when a process becomes unresponsive?

If a process becomes unresponsive in WINDOWS then we press "alt+ctrl+del" to invoke the task manager %26amp; then terminate the process.Is there any similar way to invoke the Linux Terminal so that we can end a process by the 'kill' command when it becomes unresponsive?Any help would be gladly accepted.

How to invoke the Linux Terminal in LINUX when a process becomes unresponsive?
Whether you are in an x-windows session or working at the console command line, an equivalent in Linux would be to select a new virtual terminal using the key sequence CTRL-ALT-F-Key.





For example, from the console, CRTL-ALT-F1 will open virtual tty1, if it has not been disabled by configuration. Once in the screen for the virtual terminal is displayed you can log in with appropriate permissions to use 'ps' to determine the process that you need to kill as you would normally do as indicated in your question. To return to the console use CTRL-ALT-F7.





For completeness, if you are at the command line you could begin a program by running it in the background, so you can do other things during it's execution. If a program that is running, but which is not in the background, is stuck your first step should be to try CTRL-Z, to terminate it. If that fails try a virtual terminal.





As has been suggested, you could also access the system remotely if you have other systems on the network that could be used. Doing so, requires appropriate services, such as 'sshd', be running in advance of the problem. Similarly, you should experiment with the virtual terminal feature in advance of a problem to assure that it has not been disabled and so you can see how it works.





hth
Reply:sure, but that depends on if you have an icon for your terminal program, or where the terminal program is located.





I have icons (and I keep multiple terminals open generally anyway becuase I work in the command line a lot), but occasionally of the whole PC is slow and I need to keill a process, I will ssh in to the unresponsive program form another PC on the network, and identify and kill the process.





Maybe that last one is your best bet if the desktop is not really responding...





You always have the option to reboot with a power cycle :)


What is the best linux distribution for learning to use many?

First, a bit about my background.. I currently work as a Network Engineer, mainly with Cisco routers/switches and VPN devices. I am throughly familiar with Windows, both as a workstation and server, and have one more test to go to complete my MCSE. However, I have no real experience with Linux, and feel like this is both a hole in my personal knowledge and in my resume. :) I can do basic user stuff both from a command line and in Xwindows, but have no real command of it.





That said, I intend to rectify this. I want to start using Linux as my primary operating system on my personal PC, as I feel this is a great first step to really force myself to learn it. I need to know what distribution would be best for me to use. My concern is some of them seem to have alot of propriatary tools that are not found in other linux distros, I want to find one to learn on that will best allow me to be comfortable on any linux distro I run into in the future. Thanks much for your advice!

What is the best linux distribution for learning to use many?
Linux truly is a wonderful operating system! If I'm using a PC, I greatly prefer using it to Windows. It's much more stable, secure, etc. But you already knew that. =]





Personally, I would suggest you start out with OpenSuSE. It's easy to use, yet it is very powerful. Its installer is also pretty easy. I recommend that because a lot of businesses that run Linux on their client systems use SuSE (the only difference between that and OpenSuSE is that SuSE contains closed-source programs; therefore, you have to pay for that distro).





I hope this helps! Good luck!
Reply:You should download and try Ubuntu
Reply:I would use suse 10.1 now it is easy to use and free to download from:


http://www.novell.com/products/suselinux...


If you want to get it with installation support it costs about £45, but I would guess as you're pretty conversant with windows, suse should be easy to handle, there's a GUI for most of it, which gives you a buffer until you get a handle on linux.





Try this pdf for bash scripting:http://www.tldp.org/LDP/abs/abs-guide.pd...


and the linux documentation prject:http://www.tldp.org/


also: http://www.linuxcommand.org/ and http://www.freesoftwaremagazine.com/arti...





I use only Suse linux on both my laptop %26amp; desktop, getting on a bit %26amp; only been computing for about 7 years so I don't think you'll have much trouble, mail me if you need help.


Linux?????

im running windows xp on a aspire 9300, i was wondering what would be a good Linux O.S. would be, i dont know much about Linux, i was wondering if i could install it to my computer so i dont have to put in a cd every time and where would i download this?

Linux?????
Ubuntu is a very popular Linux distro. It is simple to use, and it is also very stable. Go to Ubuntu.com and download an ISO file. Make sure to choose the right ISO file for your processor. Also, download PowerISO (also free) to burn the ISO file correctly onto a CD disc. Burn the ISO file using PowerISO. Get the disc, insert it into the CD drive, and restart the computer. When it restarts, go to the boot menu, and select the CD drive to boot from CD. After Ubuntu boots, select "INSTALL." The installation wizard is very simple.
Reply:"Gaim" application is good for MSN Messenger, also icq/msn/yahoo/google-chat/jabb... and irc in the same program. Easily added from the package manager on the System menu Report It

Reply:I'd recommend Pidgin.





If you are using Ubuntu/Kubuntu get it from http://getdeb.com Report It

Reply:Pidgin usually comes installed by default on Ubuntu.


And Security tools are not nearly as critical in Linux. You already have a firewall by the way, called iptables. Report It

Reply:Ubuntu Linux is very good for personal use. u can download it from http://www.ubuntu.com/getubuntu/download...