This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Linux / UNIX and the fly likes how to know the killed process? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "how to know the killed process?" Watch "how to know the killed process?" New topic

how to know the killed process?

raj esh

Joined: Apr 03, 2010
Posts: 10

we are using userid in common (entire team).

when i login and when i give ps command. i have list of process executing are displayed.i have to kill my processid.mistakenly i killed other's processId. after sometime i ran the ps command again,then i realized that my process is running and mistakenly i killed other processid.

is there any way to know which process i killed ???
so that i can restart that particular process

please help me someone in this group.
Peter Johnson

Joined: May 14, 2008
Posts: 5852

Could I ask why you do not have a separate userid for each user? If everyone is using the same userid it is extremely difficult to determine who is running which process.

JBoss In Action
Devaka Cooray
ExamLab Creator

Joined: Jul 29, 2008
Posts: 3594

"banti banthi", please check your private messages regarding an important administrative matter.

Author of ExamLab ExamLab - a free SCJP / OCPJP exam simulator
What would SCJP exam questions look like? -- Home -- Twitter -- How to Ask a Question
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 17014

One of the reasons for even having userids is so things like this can't happen.

Don't tell me. The budget doesn't allow for paying a proper system administrator.

Customer surveys are for companies who didn't pay proper attention to begin with.
anish patil

Joined: May 02, 2010
Posts: 10
assuming you have administrative access
check out /var/log/messages
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: how to know the killed process?
It's not a secret anymore!