Wednesday, July 4, 2007

Kill Process di Linux

Terkadang dalam melakukan suatu proses kita terperangkap dalam "runtime error" yang membuat proses yang sedang berjalan tidak dapat berhenti. Bila menggunakan windows kita dapat menggunakan Ctrl+Alt+Del untuk melihat proses yang sedang berjalan dan kemudian proses yang tidak kita kehendaki bisa dihentikan secara sepihak (tanpa melalui "end process" secara normal) dengan menekan tombol "End task". Tapi bagaimana bila itu terjadi di Linux...? berikut tahapannya

#ps -aux|more
- perintah ini adalah untuk melihat proses apa saja yang sedang berjalan, seperti halnya task manager diwindows, maka akan tampil seperti dibawah ini:

USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.3 0.2 1744 592 ? S 09:33 0:01 init [5]
root 2 0.0 0.0 0 0 ? SN 09:33 0:00 [ksoftirqd/0]

#kill {PID}
- perintah ini adalah untuk mengakhiri proses yang ingin dihentikan, seperti halnya perintah "End task".

Tuesday, June 26, 2007

Leaving On a Jet Plane

I'm ... I'm ...

All my bags are packed, I'm ready to go
I'm standin' here outside your door
I hate to wake you up to say goodbye

But the dawn is breakin', it's early morn
The taxi's waitin', he's blowin' his horn
Already I'm so lonesome I could die

So kiss me and smile for me
Tell me that you'll wait for me
Hold me like you'll never let me go

'Cause I'm leaving on a jet plane
I don't know when I'll be back again
Oh, babe, I hate to go

I'm ...

There's so many times I've let you down
So many times I've played around
I'll tell you now, they don't mean a thing

Every place I go, I think of you
Every song I sing, I sing for you
When I come back I'll wear your wedding ring

So kiss me and smile for me
Tell me that you'll wait for me
Hold me like you'll never let me go

'Cause I'm leaving on a jet plane
I don't know when I'll be back again
Oh, babe, I hate to go

Now the time has come to leave you
One more time, oh, let me kiss you
And close your eyes and I'll be on my way

Dream about the days to come
When I won't have to leave alone
About the times that I won't have to say ...

Oh, kiss me and smile for me
Tell me that you'll wait for me
Hold me like you'll never let me go

'Cause I'm leaving on a jet plane
I don't know when I'll be back again
Oh, babe, I hate to go

And I'm leaving on a jet plane
I don't know when I'll be back again
Oh, babe, I hate to go

But I'm leaving on a jet plane
(Ah ah ah ah)
Leaving on a jet plane
(Ah ah ah ah)
Leaving on a jet plane
(Ah ah ah ah)
Leaving on a jet plane
(Ah ah ah ah)
Leaving on a jet plane
(Ah ah ah ah)
Leaving on a jet plane
(Ah ah ah ah)
Leaving on a jet plane
(Ah ah ah ah)
Leaving on a jet plane
(Ah ah ah ah)
(Leaving) On a jet plane

Baby Don't Break My Heart Slow

I like the way you wanted me
Every night for so long baby
I like the way you needed me
Every time things got rocky

I was believing in you
Was I mistaken,
Do you say, do you say what you mean
I want our love to last forever

But I'd rather you be mean than love and lie
I'd rather hear the truth and have to say goodbye
I'd rather take a blow at least then I would know
But baby don't you break my heart slow

I like the way you'd hold me
Every night for so long baby
And I like the way you'd say my name
In the middle of the night
While you were sleeping

I was believing in you
Was I mistaken
Do you mean, do you mean what you say
When you say our love could last forever

Well I'd rather you be mean than love and lie
I'd rather hear the truth and have to say goodbye
I'd rather take a blow at least then I would know
But baby don't you break my heart slow

You would run around and lead me on forever
While I wait at home still thinking that we're together
I wanted our love to last forever
I was believing in you

Well I'd rather you be mean than love and lie
I'd rather hear the truth and have to say goodbye
I'd rather take a blow at least then I would know
But baby don't you break my heart slow