load cpu & memory shell script c program for quick and dirty benchmark

This script is a simple empty while loop which will load or increase the usage of your cpu.
a good way to test your cpu check for different monitoring tool

while :
> do :
> done

/home/sanmisra>more memory.c
main ()
{
while ( 1 ) {
malloc (10240) ;
}
}

Friday 12th May


Just another weekend of May in Paris. I don't know any other time when the weather can be so beautiful with clear sky and warm temperature. Right now, all the horse chestnut trees along wide boulevards are full of white flowers. This tree is also known as Marronier d'Inde, thanks to Francois for introducing the same. Truly, if one cheers up and forgets all the problems round him-it is a romantic experience in itself. Today, I am feeling very lucky and privileged with my jolly mood.
Well this post is not only about Paris, I just found from Google-analytics that someone linked to our site. It brought a big smile on my face as he wanted to visit all the places as we did.

Today, tried adding my first comment in mysql.com about my experience with transaction logs. But looks like it did not got added to their system :(Seems like a weekend is not enough for it :D

Deja Vu

I am not sure if you happened to experience a very low probability situation or event in life which you can compare with winnnig a lottery or getting struck by thunder. Statistically the second one has more chance. To explain the same I take to you to recent past...

I had that bizarre experience in the month on December while returning from work took a bus. There was one gentleman very well groomed of dark complexion And I met the same person next day (Saturday) in a different bus while going out. I could not believe myself as that person did get down well ahead of me. And I do not recollect that person from my earlier experience of three years when I used the same bus. I do not deny finding the same faces in my bus. But that is while going towards the same direction at almost same time.

Now coming back today; I found yesterday around 10:30 PM (Paris Time) some one posted in a web groups of having some mock test for the exam I was taking today with Prometric. So I sent a desperate email to him asking for eleventh hour help if he can share the same. And to my utter surprise he sent it and I passed the exam while taking it at home.

When I started my test at the computer to my utter surprise all the questions and their respective options were excatly the true copy of what I received in the morning. It was deja vu & I passed with 100% score.

Well it was a big luck or mercy of God. Its a mere chance of finding that web forum in 11th hour and that person really replies with help. He could have been on vacation or could have crashed his hard drive or my question set could be a real hard one :( but it just happened :D

This is just another reason I do not like too much stress on certification on resume as it sometimes might give you a wrong picture about the person strength and skill sets when you evaluate his/her resume. Now a days all big companies are making big bucks on certifications and all the head-hunters are asking for the same.

add new administrator and management post for smartdashboard firewall-1


  1. 1.Add the user in the system password file for *nix it will be in /etc/passwd and /etc/shadow

  2. 2. Add his host(PC) to /etc/hosts


  3. 3. Use cpconfig ( /opt/CPshrd-53/bin/) in case of Solaris





Rest is menu driven

Envy me if you can !

This is about my commute to work nowadays when weather is graceful with me and I ride to work. I hope it can not be better than this. Crossing the most green part (there are loooooots of green bucks around as well) of PARIS on a bike.

I leave you to explore the rest from Google map. I am sure you will have fun. If I compare this with people in Bay-Area (CA), New-York or Bangalore, Delhi I think people will envy me.
I need to elaborate more on the word envy and why I chose. As in first version of this post I did not do that. If you have grown up with green devil with a tail and a broken TV advertisement I am sure you know what I am talking about.

YES! the famous ONIDA first advertisement that stirred Indian middle class. Before that the advertisement agencies did not dared to cross any taboo that could be controversial and backfire on them. Well, later thanks to Pooja Bedi we Indian got some maturity in advertisement ;)

The ONIDA advertisement was simple; it was about a TV which was supposed to be so good that neighbor throws a stone and breaks it due to sheer amount of envy. So the message was to get some different idiot box then your neighbors and show it off. At the end in Indian middle class every body wanted to be different and lots of them got ONIDA which made them all living in same kind of glass houses. To me it was as good as any other mid-range TV for that price. But unfortunately those new proud ONIDA owners found themselves that they can't tell each other over a cup of tea that they got 30 channels in their new TV to watch DD1 (Indian National TV Network). Well those are the stories of 80s but campaign of ONIDA remains same till today. You can read more on the same and check ONIDA latest advertisement at their web site.

I am not sure who is envying whom - is it me who is envying at others who passes me with whooping speed in their big fat German SUVs or someone reading this finds it as a cool ride to work.

I tried my best to add this from Google maps. And of course there is the big image with red line which represents my route. Check Google Maps I will try to post some nice pictures along the route in few days.

Changing face of India

"India is changing" I am sure this is not a new topic to talk about. But there are few things which got changed in India which my RADAR didn't notice before. I am not going to debate on their pros and cons. Any changes are more noticeable when we encounter the same old place or person after a break. Like you meet up an old friend with whom you grew up but that time probably you did not noticed he or she was growing vertically and your mid- aged relatives were growing horizontally. But you meet them after few years the changes become more noticeable to our eyes.

This time, while passing in front of AIMS, Delhi I could not believe my eyes the whole place changed for good the landscape is now full of flyovers. Well, Delhi being the drawing room of India always gets special attentions. I personally do not like flyovers, as they disfigure the beauty. Parisian approach of building underpass is better to me. But building those may be more costlier and without proper planning it might be a nightmare after monsoon rain.

Thanks to Election Commission that writing is banned on the wall and it had atleast kept our political parties away from the walls otherwise it would have been full of "hands", "lotus" and not to mention those "elephants" ,"hammer" and what not. But those walls are now left with poster from IIT coaching (ISO certified) to shoes.

I always need a haircut as soon I reach India and when I fly out of India. One big benefit is the price but the primary motivation is the quality of the haircut. So I went with SK to a nearest hairdresser. The name of a normal haircutting saloons are not normal any more rather very fashionable like "copper clips" or "silver scissors". I should have met guys who are coming up with innovative names before I registered santm.com. A simple haircut which cost 15 rupees for my dad and he thinks that is expensive the same costs to me Rs 60. But unfortunately this place does not even have AC to call it a "Men's parlour".

With all said and done the reason for typing so long was as I noticed a 19/21 years old boy quite FAT to my eyes was getting pedicure. Instead of getting those pedicure and wasting his money he should have joined a GYM or rather do some walking. I don't know how getting a pedicure is making him better marketable. Well, it might be very personal view which might not be shared by others as the first thing that you need is money and it looked like he had a lot.

One thing I noticed in India for affluent class it means to be overweight, having big tummy (men particularly) as they intake lot of rich food, do less physical work and for every daily chores they have a domestic helper. May be time has now come for educated Indians to understand the values that comes with money and luxury.

Second thing is the number of mobile-phone users in the country is experiencing a meteoric rise. Right from Sabjiwali (vegetable seller), bai (helper), theleywala (cartpuller) to higher class is talking over that small e-gadget for hrs.....God knows what topic they are talking on.I think that day is not far when everyother person will be talking over phone rather then in-person.

Back to Mordor

Well it has been a long time I bloged. I am back to Paris; Pamela will join me in a month time. The title of the post could not be better as I am missing the sun after returning from India. I like rain after very hot summer or sunny days with cool breeze. I really can not take those dark cloudy days which makes me feel gloomy. As looking out of my window can't even make out is it 11 AM or 3 PM. But if you still do not know what I am talking about ask hobbits ;)

My vacation at India was great. I will try to post about few incidents later. And hope not to forget them before my little brain gets clogged with daily activities but at least I should write about changing face of India where guys are getting pedicure in a so called normal hair dressing saloon. That should be followed by experience of flying with Air Deccan low cost no frill airlines, trip to Sikkim and Dooars (Forests of North Bengal). There are more but I think I should keep them a secret for while ....The end should be flying from Doha to Paris.

Well, I just got back my PC yesterday hope it works for next 2 years without any trouble as I really do not have the momentum to keep the big fight.Anywayz, I am happy that I am going to meet some friends soon this weekend. One to be mentioned is I am going to meet with Shubhankar after 11 years. Will keep posted...

Changing face of India

“India is changing” I am sure this is not a new topic to talk about. But there are few things which got changed in India which my RADAR didn’t notice before. I am not going to debate on their pros and cons. Any changes are more noticeable when we encounter the same old place or person after a break. Like you meet up an old friend with whom you grew up but that time probably you did not noticed he or she was growing vertically and your mid- aged relatives were growing horizontally. But you meet them after few years the changes become more noticeable to our eyes.

This time, while passing in front of AIMS, Delhi I could not believe my eyes the whole place changed for good the landscape is now full of flyovers. Well, Delhi being the drawing room of India always gets special attentions. I personally do not like flyovers, as they disfigure the beauty. Parisian approach of building underpass is better to me. But building those may be more costlier and without proper planning it might be a nightmare after monsoon rain.

Thanks to Election Commission that writing is banned on the wall and it had atleast kept our political parties away from the walls otherwise it would have been full of “hands”, “lotus” and not to mention those “elephants” ,”hammer” and what not. But those walls are now left with poster from IIT coaching (ISO certified) to shoes.

I always need a haircut as soon I reach India and when I fly out of India. One big benefit is the price but the primary motivation is the quality of the haircut. So I went with SK to a nearest hairdresser. The name of a normal haircutting saloons are not normal any more rather very fashionable like “copper clips” or “silver scissors”. I should have met guys who are coming up with innovative names before I registered santm.com. A simple haircut which cost 15 rupees for my dad and he thinks that is expensive the same costs to me Rs 60. But unfortunately this place does not even have AC to call it a “Men’s parlour“.

With all said and done the reason for typing so long was as I noticed a 19/21 years old boy quite FAT to my eyes was getting pedicure. Instead of getting those pedicure and wasting his money he should have joined a GYM or rather do some walking. I don’t know how getting a pedicure is making him better marketable. Well, it might be very personal view which might not be shared by others as the first thing that you need is money and it looked like he had a lot.

One thing I noticed in India for affluent class it means to be overweight, having big tummy (men particularly) as they intake lot of rich food, do less physical work and for every daily chores they have a domestic helper. May be time has now come for educated Indians to understand the values that comes with money and luxury.

Second thing is the number of mobile-phone users in the country is experiencing a meteoric rise. Right from Sabjiwali (vegetable seller), bai (helper), theleywala (cartpuller) to higher class is talking over that small e-gadget for hrs…..God knows what topic they are talking on.I think that day is not far when everyother person will be talking over phone rather then in-person.

Tujh bin….

Oof !!!! getting mad you know.Its been a while Santanu is trying his best to make it work but alas no response,no sound... nothing.Tried his best as much as he could, took it on his lap, dismantle everything...like one of those computer geeks trying to fix that damn thing but god............everything gone in vain.The connections & all those seems to be fine except that fan which was rotating in such a speed making hell lot of noise.You know its almost dead....

The CPU was showing 116° C. He did contact INTEL support and the response from them was since he is not using the CPU fan provided by them for cooling he had broken warranty. But according to the Shuttle their system is Intel Certified so I am supposed to use the ICE (Integrated Cooling Engine) for cooling the CPU and system. He posted the same on Sudhian but it seems like that did not raised many eye-brow. And he found this too mean for any mini PC or hardware support with big name.

Anywayz, thinking that he might have to buy and spent money on new hardware he took the whole system to Surcouf. They told him at the reception to be ready to pay minimum 19 Euros for the diagnosis and other?. All the technician out there did not look worried about Static Electricity at all. According to them it is a system problem so they send the same to Shuttle.

In that way,he is lucky enough as the system is still under warranty. Now he has to wait 4 weeks minimum for any updates which means it has to wait for me till he come back from my India trip."Waqai, tujh bin....jiyu kaisey". This computer world has got so much integrated into his private life that hardly he can think of himself without it. La vie sans net est difficile a vivre. (see, ;) he can speak bit of french in frustated mood)

Vacation on the horizon

Yes I am going to take vacations! It has been a while (after May 2005) when we went out from our current address in Paris. In our standard of travelling it is a record for good or bad...that can't be said. May be it is the effect of Chateau, Bateau, Gateau.We would love to visit some country-side or mountains now. But, unfortunately Pamela is not at all interested for any ski-trip as she is complaining about the Paris cold all the time. So no trip in Europe for now.
Well, this vacation I am cheering but may be it will be just like another trip to India where my days are more hectic with relatives and long journeys and at the end I question myself was it a vacation or my social duties.
For sure I am going to travel a lot as I will start my trip of India with Delhi and ending the same in Bombay. In between I am going to stop at Siliguri, Calcutta & Durg for sure. I am adding this map with pointers to give an idea.



French classes came to an end


Well my French classes came to an end. And I passed the exam :D I would like to take up the Oscar podium for few seconds and like to thank my beloved wife Pamela for her support ; my teacher, my colleagues- Stephan and Fred for their time and effort to make me understand the basics of French grammar. And I am very satisfied that I didn't let them down as I scored well in grammar and got all the Passé-compose and Imparfait (past tense) correct.
Well, this could not have been enjoyed more without going to the same bar where last time we went from the class before Christmas break.

Joy of baking


With the cold weather and shorter day lights lots of baking is going on and enjoying the butter and sugar lately. Feeling guilty as cann't resist and moreover did not do any exercise after my Paris - Versailles marathon :(
We were invited to one of my colleague’s place for the first time after almost 3 years in France for ‘Galette des rois’. It was very memorable and an enjoyable evening. Its a French custom to end the holiday session; where there is something hidden in the galette and if that is in your part you are considered king for that day. Children try to find the same in their part and some time they endup doing archaeological digging.
Pamela baked recently lots of cake and they came out good. The latest one was this apple tart. This was awesome. Now, she really set a very high mark for her skills and hope that she keeps it up :D

Home Network ADSL-Network-Phone

I just wanted to share my home network. It is not a state of technologies with the latest & greatest wireless or wired network with complex router and switches. I did it in old school way with a single long CAT5 Ethernet Cable. I have a FreeBox which is an ADSL2 router connecting to the main phone jack. The output from the FreeBox connects my PC, Television and Phone. Now all these components are connected with the single wire as I mentioned before. It takes benefit of the fact out of 8 wires in an Ethernet cable only 4 are used for network; the pins 1-2 and 3-6 of RJ45 are used. The connection is simple, wire from pin 1 to pin 1 of the other side and like wise.Similarly, I use the other two pairs for telephone and ADSL.

So here is the basic block diagram as picture can express morefreebox

The input of ADSL router is a simple RJ11 connecting with 2 wires.The connection between PC and router is 4 wires with RJ45 (2 pairs, one pair for transmit and other for receive). The phone needs only one pair RJ11.

These pictures show RJ45 connections in detail and also a picture of backside of freebox.

rj45wiring
RJ45

back-of-my-freebox

The success of doing this by oneself depends on one's skill of how good one is with crimp tool as the connections sometimes are not proper and one has to repeat the whole process right from the start. Doing a search for making rj45 cable connections on web will lead to more details. Need any more tips on the same please drop me a line.