Wednesday, September 03, 2014

For my Bangalore friends :-)

Dedicated to all our Bangalore friends (got as a forward on the email :-)

1. If you throw a stone randomly in Bangalore, chances are, it will hit a dog or a software engineer. While the dog may or may not have a strap (a.k.a. leash) around his neck, the software engineer will definitely have one.

2. In India we drive on the left of the road. In Bangalore, we drive on what is left of the road.

3. Q: What is the easiest way of causing traffic accidents in Bangalore?
A: Follow the traffic rules.

4. "A guy is house hunting in Bangalore. Meets old lady who is potential landlord. The conversation goes thus:Old lady: Where do you work for, son?
Guy (with an air of pompousness): I work in Infosys.
Old lady: Oh, that bus company! Sorry, we rent only to good IT people.
(It would appear that Infosys operates more buses than BMTC in Bangalore.)

5. Bangalore, where PG(Paying Guest) is the first business and IT, the second.

6. When someone says it is raining in Bangalore, be sure to ask them which area, which Main and which Cross.

7. If a Bangalorean stops at a traffic light, others behind him stop too because the others conclude that he has spotted a policeman that they themselves have not.

8. Bangalore is the only city where distance is measured in units of time.

9. Auto rickshaw driver, grocery seller and common shop keeper think that you earn at least 1 lakh per month if you are in IT sector.

10. Out of every 100 software engineers in Bangalore, 90 are utterly frustrated and rest have a girlfriend.

11. Bus drivers use the horn instead of the brakes.

12. I quote : "Bangalore: The City where more people know Language C than Kanada or Hindi".

13. Since it is easier to find an alcohol shop than a medicine shop in Bengaluru, the doctors have now started prescribing "dawa-daaru" for treatment.

Hard Disk Maintenance on Linux

How to check/repair ( fsck) filesystem after crash or power outage:

http://linuxpoison.blogspot.ca/2009/04/how-to-checkrepair-fsck-filesystem.html
http://linuxpoison.blogspot.tw/2008/01/howto-check-disk-drive-for-errors-and.html

The command 'fsck' when run with no options will check all devices in /etc/fstab.

With options, run
$ sudo fsck -t ext3 -l bad-blocks /dev/hda1

For better diagnosis, run fsck from single-user mode (You need to be "root" to use any command)
* Take system down to runlevel one: # init 1

Please note if any files are recovered then they are placed in /home/lost+found directory by fsck command.

I/O errors in /var/log/messages indicates that something is wrong with the hard disk and it may be failing.

You can check hard disk for errors using 'smartctl' command, which is control and monitor utility for SMART disks under Linux / UNIX like operating systems.
smartctl for servers
http://www.cyberciti.biz/tips/linux-find-out-if-harddisk-failing.html

smartctl -a shows a disk's SMART diagnostics.

You cn also do Linux Performance Monitoring with Vmstat and Iostat Commands:
http://www.tecmint.com/linux-performance-monitoring-with-vmstat-and-iostat-commands/

If vmstat and iostat commands are not available on your box, please install sysstat package. The vmstat, sar and iostat commands are the collection of package included in sysstat – the system monitoring tools. The iostat generates reports of CPU & all device statistics.

Download sysstat package ( Latest sysstat version is 11.0.0 (2014-06-17)) sysstat package is available as RPM, tar.gz and tar.bz2 files. This development version contains all the latest features included in sysstat:

http://sebastien.godard.pagesperso-orange.fr/download.html

Sunday, August 24, 2014

Ant-virus on Android Smartphone not needed

Mobile anti-virus not needed: Google

Full article here: http://bit.ly/TET7Vp

The majority of Android smartphone and tablet users do not need to install anti-virus and other security apps to protect them, despite dire warnings from security companies selling such products, Google’s head of Android security says.

Adrian Ludwig, the lead engineer for Android security at Google, said there was "a bit of a misperception" in how the company reviewed apps for its Google Play store in comparison with other stores. He also said those who used security software on their phones would likely get no protection from it. "I think ... paying for a product that you will probably never actually receive protection from is not a rational reduction of risk – but people buy things for lots of reasons." Mr Ludwig said every Android app goes through an automated system that checked for issues, and verified apps before they were made available on the app store.

"By the time a user goes to install an app they’ve had ... the best review of that application that is possible," he said. The risk of potentially harmful applications ending up on users’ devices was therefore "significantly overstated" and the actual risk of a damaging app being installed was "extraordinarily low", he said. "Certainly if you compare [the] Android [mobile operating system] to any desktop operating system, it's orders of magnitude different.

He rejected reports from numerous security vendors showing Android was a hotbed for malicious software compared to other mobile platforms, saying the firms often presented their statistics in a misleading way. He said the numbers didn't show how many users were actually affected by potentially harmful applications. The reports instead focused on how many potentially malicious apps existed, and not whether they were ever installed by users.

Apple chief Tim Cook recently used industry figures at the company's Worldwide Developers conference to take a swipe at Android, saying it "dominates" the mobile malware market.

"It's a convenient way for [security firms] to [count] it like that because it never goes down. If you just count that number the world always looks worse, which [is what] sells their product," Mr Ludiwig said. "The way we talk about potentially harmful applications on Android is how many users are affected," he said. "If nobody ever installs that application, does it matter? If [a potentially harmful application] never got into [the] Google Play [store], does it matter? That’s what we focus on."

Users who chose to use anti-virus on their devices would be no better off, he said.

Full article here: http://bit.ly/TET7Vp