Linux captures the ‘green’ flag, beats Windows 2008 power-saving measures Independent tests show that Red Hat Linux pulls as much as 12% less power than Windows 2008 on identical hardware.
strace is a useful diagnostic, instructional, and debugging tool. It can save lots of headache. System administrators, diagnosticians and trouble-shooters will find it invaluable for solving problems with programs for which the source is not readily available since they do not need to be recompiled in order to trace them. This is also useful to submit bug reports to open source developers.
Each line in the trace contains the system call name, followed by its arguments in parentheses and its return value.
Run strace against /bin/foo and capture its output to a text file in output.txt:
$ strace -o output.txt /bin/foo
You can strace the webserver process and see what it’s doing. For example, strace php5 fastcgi process, enter:
$ strace -p 22254 -s 80 -o /tmp/debug.lighttpd.txt
To see only a trace of the open, read system calls, enter :
$ strace -e trace=open,read -p 22254 -s 80 -o debug.webserver.txt
- -o filename : Write the trace output to the file filename rather than to screen (stderr).
- -p PID : Attach to the process with the process ID pid and begin tracing. The trace may be terminated at any time by a keyboard interrupt signal (hit CTRL-C). strace will respond by detaching itself from the traced process(es) leaving it (them) to continue running. Multiple -p options can be used to attach to up to 32 processes in addition to command (which is optional if at least one -p option is given).
- -s SIZE : Specify the maximum string size to print (the default is 32).
Refer to strace man page for more information:
$ man strace
Good news for all Debian / Ubuntu Linux fans. Sun has started to offer Ubuntu Linux based servers. Sun has systems competitively priced for small and medium businesses. Ubuntu is based upon rock solid Debian core. Look like Red hat and Novell going to have some nice competition. Sun offers x64-based systems certified for Ubuntu Linux:
* x64 Rack Servers
* Blade Servers
* x64 Workstations
* Workgroup Disk Storage
* Tape Automation
=> Sun SMB Product Page (Via Arun’s blog)
Both distros top in 260 countries; From the report:
Ubuntu and Red Hat Linux are the most used Linux distributions among the 35,000 members of content-management vendor Alfresco’s community, the company found in its second survey of trends in enterprise open-source software usage. Alfresco collected data between July and December of last year, with survey participants coming from 260 countries, according to the company. Fifty percent were from Europe, the Middle East, and Asia, while 24 percent were in the U.S., and 26 percent from other nations, Alfresco said.
=> Red Hat, Ubuntu top vendor’s usage study
This is yet another Linux success story. PayPal says Linux grid can replace IBM mainframes:
PayPal is currently processing $1,571 worth of transactions per second in 17 different currencies on about 4,000 servers running Red Hat Linux. Thompson supervises a payment system that operates on about 4,000 servers running Red Hat Linux in the same manner that eBay and Google conduct their business on top of a grid of Linux servers. “I have been pleasantly surprised at how much we’ve been able to do with this approach. It operates like a mainframe,” he said.
=> Read complete story here
Steve Ballmer believes that people who use Red Hat Linux have an obligation to compensate Microsoft He has warned users of Red Hat Linux that they will have to pay Microsoft for its intellectual property. SCO tried and failed badly to prove that it owns the intellectual property to Linux. They are facing bankruptcy.
Microsoft’s threatening IP action without any details
I also don’t know which intellectual property (IP) is Microsoft saying open source solutions are infringing on. They have denied giving out this information to the rest of us. Red Hat has repeatedly stated that it will not engage in a patent licensing deal similar to the Novell-Microsoft partnership, referring to its as an ‘innovation tax’. Microsoft inked a partnership with Novell last year in which Novell agreed to license Microsoft’s intellectual property in exchange for a patent pledge to users of Novell’s SuSE Linux.
Red Hat Developer Studio is a set of eclipse-based development tools that are pre-configured for JBoss Enterprise Middleware Platforms and Red Hat Enterprise Linux. Developers are not required to use Red Hat Developer Studio to develop on JBoss Enterprise Middleware and/or Red Hat Linux. But, many find these pre-configured tools offer significant time-savings and value, making them more productive and speeding time to deployment. Red Hat Developer Studio will be available as a new subscription offering soon.
Use this studio to build java and ajax based application.
Download Red Hat Developer Studio
You can download Windows or Linux version here (530Mb).
This is an interesting article.
For people migrating from Windows to Linux, the Apache Web server is entirely different world from Microsoft Internet Information Server. Apache can be alienating to IIS / Windows administrators, because migrating to Apache is more than just copying files.
The IIS to Apache migration process needs to be handled with the same care and perspective as the process of migrating desktops and their attendant applications. In some cases, IIS to Apache may be even more difficult and may have a larger impact on users and administrators.
In this article, author talk about the process of migrating a site from IIS to Apache, with Red Hat Linux as the specific target.
Whenever a Linux system CPU is occupied by a process, it is unavailable for processing other requests. Rest of pending requests must wait till CPU is free. This becomes a bottleneck in the system. Following command will help you to identify CPU utilization, so that you can troubleshoot CPU related performance problems.
Have you ever wondered why shutdown account exists on Linux server, especially under Red Hat Enterprise Linux distribution?
The answer is quite simple – shutdown account can shutdown server. Here is how you can enable the shutdown account: