The development team working on PVS-Studio has finally started developing its product for Linux. That was the news that the CTO Andrey Karpov wrote about in the article. Long disputes and requests of the readers on habrahabr.ru, discussions on Reddit, Linux.org and other places can now gain a new round of comments. As it is mentioned in the article, you can volunteer to help the developers to test this product and improve it to a better level.
There are many tasks on the way of PVS-Studio to Linux, that the technical director is talking about. Put briefly, these are:
- more complete support of GCC and Clang;
- a new system of regression tests in Linux, so that you can track the changes results in the analyzer kernel and add new diagnostics;
- compiler monitoring to help programmers quickly and easily check the project without distracting people who support makefiles and the build system in general;
- documentation improvement, so that the user can get information with the examples about any diagnostic;
- testing, distribution, support organization.
In this article you will find more details about the abilities of PVS-Studio for Windows and the tasks it can already solve on Linux.
I do not know why I may need it, but suddenly I wanted to have two mouse pointers in Linux, after all I already have two mice, one is a wireless mouse and the other is a touchpad one. The idea came at a time when I hooked up a second mouse, namely, a third cursor control device.
I want each mouse to get a cursor, but how do I get it?
Let's see what xinput will tell us:
max 23:20:19 ~ $ xinput list
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Logitech USB Receiver id=10 [slave pointer (2)]
⎜ ↳ Logitech USB Receiver id=11 [slave pointer (2)]
⎜ ↳ Genius 2.4G Wireless Mouse id=12 [slave pointer (2)]
⎜ ↳ SynPS/2 Synaptics TouchPad id=14 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Video Bus id=7 [slave keyboard (3)]
↳ Sleep Button id=8 [slave keyboard (3)]
↳ Villem id=9 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=13 [slave keyboard (3)]
↳ HP WMI hotkeys id=15 [slave keyboard (3)]
Finally, Linux has shown growth of the rates that are expected for a long time. The market share of Linux increased by 64% on the desktop OS since May to December 2011, according to a global monitoring service Net Market Share, which collects statistics about visitors from over 40,000 websites. The unique audience makes about 160 million people per month, therefore, the measurement error is very small.
Linux origin can be traced back to the 70s of the 20th century. Its starting point began from the first release of Unix operating system in 1969 by Bell Laboratories, subsidiary of AT & T in the U.S. Unix has become the basic one for a large number of industrial-grade operating systems. The most basic of them showed on this timescale:
Linux is mostly indebted to two projects - GNU and Minix.
The story of the GNU project started in September 1983. The founder of GNU project, Richard M. Stallman worked at that time in the Artificial Intelligence Laboratory at Massachusetts Institute of Technology, Cambridge, Massachusetts. Stallman is considered as one of the most leading programmers of these days.
Today we are happy to present you Ajenti 0.6.0 is in our studio.
We remind you that Ajenti is a web-based admin panel for servers.
First, we would like to thank all 560 users, who are with us despite the fact that the project was in beta-stage, as well as all our wonderful developers;)
Breaking news – we provide almost full support for the following systems:
FreeBSD 8.0 +
Review of almost all *top utilities for linux (atop, iotop, htop, foobartop, etc.)
We all know that top is the simplest and most common utility in this list. It shows roughly the same as vmstat utility in addition to that it provides rating of processes for the consumption of the memory or the CPU. It does not know anything about the network loading or discs. It allows a minimal set of operations with the process: renice and kill. A suffix "top" got all the other similar utilities in this review.
Atop is an ASCII full-screen performance monitor that is capable of reporting the activity of all processes (even if processes have finished during the interval), daily logging of system and process activity for long-term analysis, highlighting overloaded system resources by using colors, etc. At regular intervals, it shows system-level activity related to the CPU, memory, swap, disks, and network layers, and for every active process it shows the CPU utilization, the memory growth, priority, username, state, and exit code.
In contrast to the top, it knows about the existence of block devices and network interfaces, as well it is capable to show their loading as a percentage (at 10G, however, a percentage does not work, but at least it shows the number of megabytes).
When I opened a mail for the domain on Yandex, I decided to open a free registration for unauthorized users to the mailboxes on mine “fancy” domain. In addition, I enabled catch-all feature, which directs all incoming mail of nonexistent mailboxes of my domain to my main mailbox. I faced necessity to reserve all the “standard” names of mailboxes for myself in order to avoid confusion, when some name already has been reserved by another user, and all “service” mail goes to someone else. Of course, you can any time expropriate any mailbox that is under control of domain. I'm puzzled: what are the names of mailboxes standard and system-defined? Yandex technical support said that they reserve for themselves only the name of postmaster @ for each domain to keep track of complaints and problems with the mail. Further, the search of results on the Internet was a bit predictable.
(On the picture is: the famous black mailbox, a place of pilgrimage for UFO enthusiasts)
First, I wanted to find RFC, which is RFC 2142, MAILBOX NAMES FOR COMMON SERVICES, ROLES AND FUNCTIONS (mailbox names for the public services, roles and functions), which was last amended in 1997. Here is just interesting information for us. Based on the document, the following mailboxes should exist and have the following functions:
A few days ago, one of the hard drives went down on the budget’s array of 16x1Tb drives. The array level: RAID 6. The situation got complicated by the fact that (as it turned out) previously had stood a cooler on the video card of the same server that was not previously noticed, and after HDD was replaced due to changes in cooling mode of the casing, and this became appear in the form of hanging during synchronization, which itself is very unpleasant. It turned out that an array stopped auto-building, and a few drives were marked as faulty, so I had to deal with it seriously, checking out with the wiki, manuals and forums (forums are the most useful, as they describe the experience of specific people in specific situations).
The structure of array:
md0 - / root 8x1 Gb, RAID 6
md1 - / data: 16x999 Gb, RAID 6