Thursday, January 20, 2011

Shell script for Monitering Mailman process


#----------------------------
# Monitering of mailman process
#----------------------------

unsent=`ls -l /var/spool/mailman/in/ | grep -v grep | grep -c ".pck"`
isAlive=`ps ax | grep -v grep | grep -c "mailmanctl"`
_host=`hostname`
_to=bogati@test.com

if [ $unsent -ne 0 ]; then
/etc/init.d/mailman restart > /dev/null 2>&1

/usr/sbin/sendmail -t <To: $_to
Subject: Mailman has been restarted.

Mailman has been restarted on $_host

EOF

elif [ $isAlive -eq 0 ]; then
        /etc/init.d/mailman start > /dev/null 2>&1

/usr/sbin/sendmail -t <To: $_to
Subject: Mailman has been started.

Mailman has been started on $_host

EOF

fi

Wednesday, December 8, 2010

Add multiple email addresses to plesk server

■Create a list like below.

# vi list
01@example.com,test123
02@example.com,test123
03@example.com,test123
04@example.com,test123
05@example.com,test123
06@example.com,test123
07@example.com,test123
08@example.com,test123
09@example.com,test123
10@example.com,test123

■Create mail add script in the server.

# vi mailadd.sh
#!/bin/bash

for x in `cat list`;
do
MAIL=`echo $x | cut -d , -f 1`
PASS=`echo $x | cut -d , -f 2`
/usr/local/psa/bin/mail -c $MAIL -passwd $PASS -mailbox true
done

■Check the list of email id and password.

# vi mailchk.sh
#!/bin/bash


for x in `cat list`;
do
MAIL=`echo $x | cut -d , -f 1`
PASS=`echo $x | cut -d , -f 2`

expect -c "
set timeout 60
spawn telnet 0 110
expect \"+OK\" ; send \"USER $MAIL\r\"
expect \"+OK\" ; send \"PASS $PASS\r\"
expect \"+OK\" ; send \"QUIT\r\"
expect \"+OK\" ; send \"QUIT\r\"
"
done

If everything is ok run mailadd.sh . This is the very simple way to add more email id and password at once in Plesk server.

Saturday, November 13, 2010

Install fonts in CentOS

Nepali fonts

# yum install scim-tables.i386
# rpm -ivh http://mirror.centos.org/centos/5/os/i386/CentOS/m17n-db-nepali-1.3.3-48.el5.noarch.rpm
# rpm -ivh http://mirror.centos.org/centos/5/os/i386/CentOS/scim-tables-nepali-0.5.6-7.i386.rpm

Japanese fonts

# yum install "@Japanese Support"

Hindi fonts

# yum install "@Hindi Support"

Chinese fonts

# yum install "@Chinese Support"

Sunday, June 27, 2010

Final Presentation

Toyota Motor Corporation Report


By Aaresh Bogati
UCLA Extension Tokyo Center
Business English Communication Program
Essentials


Presentation Introduction

Good afternoon everyone. Today I would like to talk about Toyota Motor Corporation and the Japanese Automobile Industry.

First, let me ask you a question. What’s your favorite Car?


The purpose of this presentation is to persuade you that Toyota Motor Corporation can be more successful in the future, even though it is facing a great problem in its production at present.

First, I’ll tell you about the Japanese Automobile industry. Then, I’ll tell you about Toyota's business and its financial results. Finally, I’ll predict the future of Toyota’s business. We will have a Q&A time at the end, so please hold your questions until then.


Industry Overview

First, let me tell you about the Automotive Industry and Toyota Motor Corporation in Japan.

According to Wikipedia of Automotive industry in Japan,
Hatsudoki Seizo Co., Ltd. was established in 1907 in Japan.
Japanese automakers launched a bevy of new cars in 1960s in Japan.

Toyota Motor Corporation, which is simply known as Toyota is the world's largest automaker.
This is a multinational corporation. Its headquarters are in Japan.
Toyota has 320,000 employees worldwide.

Next, here are some recent facts.

According to JAMA (Japan Automobile Manufacturers Association, Inc.) nearly 8% of Japan's working population is involved in auto industry related work.
Auto production account for 17% of the total value of Japan's manufacturing shipments.

We know that Japan was the world's largest vehicle manufacturer in 2008 but it has ceded this position to China in 2009.

Japanese manufacturers produced very affordable, reliable, and popular cars throughout the 1990s, and as a result, Japan became the largest car producing nation in the world in 2000. However, its market share has decreased slightly in recent years, particularly due to old and new competition from South Korea, China and India. Nevertheless, Japan's car industry continues to flourish, its market share has risen again, and in the first quarter of 2008 Toyota surpassed General Motors to become the world's largest car manufacturer.


Many Americans are employed by Japanese automakers and dealers in the US and the total number of employees were 392,635 in 2008.

In 1986, JAMA members exported about 3.4 million vehicles from Japan to the U.S.
In 2008, they exported about 2 million vehicles here, a reduction of about 1.4 million vehicles.
In 1986, JAMA members produced 617,000 vehicles in the U.S. In 2008, they produced nearly
3 million vehicles there an increase of nearly 2.4 million vehicles.
Japanese automakers now supply 62% of their total U.S. sales from their North American plants, compared with less than 12% in 1986.

Next, I’d like to tell you about Toyota Corporation in more details.

Toyota Automatic Loom Works, Ltd. was established in November 1926 to manufacture and market automatic looms invented by Sakichi Toyoda. The company name was changed to Toyota Industries Corporation in August 2001.

Toyota Corporation manufactures and sells textile machinery, automobiles, and materials handling equipment. It also has a logistics business.

Toyota sales were as follows in FY 2009.
Textile machinery was 1.9%, Logistics 7.2%, Materials Handling Equipment 40.4%, Automobile 47.7% and others 2.8%.


Financial Highlights
Toyota Motor Corporation FY ending March 31 (millions of yen)

Year 2008 2009 %change 2009 vs. 2008
Net sales 2,000,536 1,584,252 (20.8) %
Operating income (loss) 96,853 (6,621) -
Ordinary income 126,488 14,343 (88.7)
Net income (loss) 80,460 (32,767) -
Research and development expenses 36,750 33,646 (8.4)
Cash dividends per share (yen) 60.00 40.00 (33.3)
At Year-End
Total assets 2,965,585 2,327,432 (21.5) %
Total net assets 1,453,996 977,670 (32.8)
Number of employees 39,528 39,916 1.0

Toyota’s Net sales were 2 trillion yen in 2008 and 1.5 trillion yen in 2009 which was 20.8% less than 2008.
Operating income was -6.6 billion yen, Net income was -32.8 billion yen and ordinary income was 14.3 billion yen, but employees increased in 2009 to 31,916 in Japan, as of March 31, 2009.

Summary: OK, so, I hope that helps you understand Toyota’ history and main manufacturing products.


Now, let me finish by predicting the future of Toyota Motor Corporation.

As you can see here, Toyota’s stock price has been rising recently. However, its stock price has fallen in 2009 because of the economic recession.

I researched and compared its stock price to its competitors and I can say that Toyota’s stock price is starting to rise again. So I believe Toyota’s business can be successful in the future.

I have two reasons for this view.

First of all, Toyota can be successful because it has many excellent products that are able to support its business. In my opinion, Toyota’s products are very affordable, reliable, and popular. We know that Corolla, Prius, Camry, and Yaris were top ten products in 2009.
People are buying the products of Toyota from all around the world. Its products are in high demand in America, Europe and the rest of the world.

Secondly, Toyota can be successful because it is going to create new models cars every year. Toyota knows the demand of the consumer very well.
Toyota is going to launch new models cars in 2011 which are the Toyota Camry, the Toyota Camry Hybrid, and the Toyota Sienna. Based on my research they all are affordable and excellent products.

OK, in conclusion, I hope I have persuaded you that Toyota has very popular products and can be successful in the future because it is improving its marketing.

Thank You.

Monday, May 3, 2010

The Final Session

That was our final session of the Business English Essentials. The topic was about negotiation skill, which is not new to anyone. Negotiation skills are necessary things for businessperson especially for trading companies.


Our first agenda was about a dialogue practice of negotiating sales contract. We were three groups in our final session. So we practiced, dialogue in our groups and learned some target phrases about the negotiation. Negotiating a contract is very difficult task itself. We must know how to get success when negotiating a contract with clients. The main aim of this class is to get knowledge of the negotiation. There are five stages in negotiation.


1. Starting a negotiation
2. Exchanging offers and counteroffers
3. Persuading the other side
4. Compromising and confirming
5. Reaching a deal


We learned all five stages in brief and used them with classmates.
The agenda was about the role play in the negotiation. We did role play of seller and buyer and used target phrases. In this session seller starts the negotiation of the price and buyer react the price high or low. So in this way they continue their negotiation following the above stages and end the negotiation. Seller tries to sell something in high price, but the buyer wants to reduce the price of the product. They try to do win-win compromise.


After the negotiation of price we had the simulation of negotiations. I choose the buyer position that was working for Starbucks Coffee. I had to buy 5000 to 10,000 kg of Premium Coffee in the wholesale rate and I had to negotiate the deal with seller. I tried my best to reduce the price of a kg of Premium Coffee. All our classmates did the same role play in that session with a partner. And at last we gave the result to the teacher. I got to know that I was not so successful in win-win negotiation. So the session was such a good lesson for me. I learned how to negotiate with clients when dealing a contract. I hope that I will not do the same mistake when negotiation in my real business.


After the simulation of the negotiation, we applied the negotiation rules in Hall's cultural concepts. I have already written about the cultural concepts in my previous blogs.


I came to know that how cultures influence the business in a broad sense. So, before starting a business we have to learn the cultures of the world very well. After that we need the knowledge of business. So I request all the people who are reading this blog to study about the cultures and get knowledge of the business.


At last, I would like to thank Daijob.com and UCLA Extension Tokyo Center for providing me this opportunity to study Business English. And I would like to thank our dear teacher David Tedone who shared his great knowledge with us and my dear classmates who helped me to complete this course.


Thanks!