This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori 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


Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "how to know the killed process?" Watch "how to know the killed process?" New topic
Author

how to know the killed process?

raj esh
Greenhorn

Joined: Apr 03, 2010
Posts: 10
hi,

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
author
Bartender

Joined: May 14, 2008
Posts: 5852
    
    7

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
Sheriff

Joined: Jul 29, 2008
Posts: 3713
    
  89

"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: 17166
    
  27

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.


An IDE is no substitute for an Intelligent Developer.
anish patil
Greenhorn

Joined: May 02, 2010
Posts: 10
assuming you have administrative access
check out /var/log/messages
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to know the killed process?
 
It's not a secret anymore!