Penciptaan Proses pada Linux
PENCIPTAAN PROSES : PADA LINUX
1. DESKRIPSI PROSES
Proses adalah program yang dapat dieksekusi. Proses merupakan unit kerja terkecil yang secara individual memiliki sumber daya-sumber daya dan merupakan unit terkecil yang dijadwalkan oleh system operasi.
2. DIAGRAM STATE PROSES
Terdapat 3 state dasar yang dialami proses:


· Running
Pemroses sedang mengeksekusi intruksi proses itu.
· Ready
Proses siap (ready) dieksekusi, tapi pemroses tidak tersedia untuk eksekusi proses ini.
· Blocked
Proses menunggu kejadian untuk melengkapi tugasnya seperti:
a. Menunggu selesainya operasi perangkat masukan/keluaran.
b. Menunggu tersedianya memori
c. Menunggu tibanya pesan jawaban.
1. TAHAP-TAHAP PENCIPTAAN PROSES
Tahap-tahap penciptaan proses adalah sebagai berikut:
- Deiberikan satu identifier unik ke proses baru. Isian baru ditambahkan ke tabel proses utama yang berisi satu isisan perproses
- Dialokasikan ruang untuk proses
- PCB harus diinisialisasi
- Kaitan-kaitan antar tabel dan senarai yang ccok dibuat
- Apabila diperlukan data lain maka segera dibuat struktur data itu.
2. Konsep Pembuatan Proses Pada Linux
· Setiap proses diberi nomor khusus sebagai identifikasi yang disebut process identification atau PID berupa angka integer unik.
· Jika proses selesai (Terminated) maka semua sumber daya yang digunakan termasuk PID
· dibebaskan kembali.
· Proses dibuat menggunakan system call fork() yang sering disebut forking proses
· System call fork() mengkopi proses pemanggil sehingga akan terdapat 2 proses yaitu :
1. Proses pemanggil disebut PARENT
2. Proses hasil kopian disebut CHILD
· Proses CHILD identik dengan proses PARENT-nya tetapi memiliki PID yang berbeda.
· Setelah proses baru (child) berhasil dibuat eksekusi dilanjutkan secara normal di masing –masing proses pada baris setelah pemanggilan system call fork().
· Proses pemanggil (PARENT) dapat melakukan forking proses lebih dari satu kali sehingga memungkinkan terdapat banyak proses CHILD yang dieksekusi.
· Proses CHILD dapat melakukan forking proses seperti halnya PARENT sehingga dapat terbentuk struktur pohon proses.
3. Membuat Proses pada Linux
Untuk pembuatan proses baru di sistem, GNU C menyediakan system call fork() yang disertakan pada pustaka unistd.h dengan bentuk prototype sebagai berikut :
pid_t fork (void);
fork() mengembalikan suatu besaran bertipe pid_t yang dapat bernilai :
-1 menandakan pembuatan proses baru (child) gagal
0 menandakan proses child
selain itu merupakan proses parent dan jika variabel PID dia kses akan berisi PID child.
Apabila operasi sukses akan terdapat 2 proses yang dieksekusi yaitu proses parent dan proses child, eksekusi akan dilanjutkan pada kedua proses setelah fork() sampai selesai. Seperti yang telah dijelaskan bahwa proses parent dan child dapat membuat proses - proses baru yang lain sehingga terdapat banyak proses yang berjalan pada waktu bersamaan (Multitasking). Berikut contoh program yang melakukan forking sebuah proses tanpa memeriksa nilai yang dikembalikan.

String “Hello” ditampilkan oleh parent sedangkan string “Bye-Bye” masing – masing dieksekusi oleh parent dan child.

An entertaining TV Series for teenagers

Nowday, glee is one of the best tv series in USA. it tells about the spirit of senior high school in Ohio. Glee try to show the teenagers’s problem and how they can survive from their poblems. there are so mani various characteristis in glee, from a very “star wanna be” girl, a gay, a wheelchair student, a fat girl, and a boy who always want to have sex. But all of them gather in one glee club, named, NEW DIRECTION. they sing so many great song. they want to become a star, and dont wanna be a loser in their school. so they always try to give a best performance in each competition.
There are so many nice songs in this tv series. i truly love this tv series. very entertaining, n fun.
written by i’m_on

As developing country, Indonesia must have some problems. One of Indonesian problems is about the education quality. Many people expect that the education quality of Indonesia is still low. There must be some reasons making this education quality become low. And one of those reasons is the teaching style of the teacher.
The teacher has a role to educate their students. Teachers must know how to give the material of subject well. Besides that, a teacher has to know how to communicate and interact nicely to their students. They must have knowledge and strategies before they teach their students.
For helping a teacher to prepare their strategies and mental before they go to “The field of teaching”, some students from Computer Science Program in UPI, have developed a creative software. The software’s name is Teaching Simulator. This software give a vision for its player to know and learn the likely situation in the class. So the players could know and maybe could make such of preparation before they go to teach.
Teaching Simulator was made by 2008, 2007 and 2006 students from Computer Science Program of UPI. The development of Teaching Simulator was helped by DIKTI which has accepted our proposal in PHK-APM Program on August 2009. Through this Program, DIKTI gave us fund about Rp. 40.000.000 to develop this Teaching Simulator.
Hachiko, an inspiring dog
This movie title is Hachiko, A dog’s Tale. and this movie is based on a true story in Japan.
i think this is a great movie. this movie tells us much about loyality.
Hachiko is a name of a dog that always wait for his master coming in the station. He loves his master, but his master got heart attack and passed away.
hachiko dint know about that, he still waited, and waited until his master come to the station.
hachiko waited about 10 years in the station and he waited until he died. what a very sad and inspiring movie.
Hachiko tells us about loyality. And because of his story, people around station ,where hachiko was standing to wait his master, made a statue to remind hachiko’s loyality.
A motiviting Song for facing the future

” My best Days are ahead of me” by Danny Gokey.
Blowing out the candles
on another birthday cake
Old enough to look back and laugh at my mistakes
Young enough to look at the future and like what I see
My best days are ahead of me
Life hasn’t always been a party
but mostly it’s been good
There’s only one or two things that I’d change if I could
I dont get lost in the past or get stuck in some sad memory yah
My best days are ahead of me
Age ain’t nothing but a number
Sometimes I have to wonder
What does it really mean
But heeeey im still putting it together
I keep getting better
if I keep getting better
I can be whatever I want to be
My best days are ahead of me
Age ain’t nothing but a number
Sometimes I have to wonder
What does it really mean
But heeeey im still putting it together
I keep getting better
if I keep getting better
I can be whatever I want to be
My best days are ahead of me
I’ve got sunsets to witness
dreams to dance with
beaches to walk on
and lovers to kiss
there’s a whole lot of world out there
that I can’t wait to see
My best days are ahead of me
My best days are ahead of me
—————————————————————————————-
This song gives me motivation to face my future. i love this song, and i have sung this song for many times…
this song tells us to do everything excites you. “Age is nothing but a number”, so just keep better so that you can be whatever u wanna be.
very nice and motiviting song…

