aspose file tools*
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
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: 5842
    
    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
Saloon Keeper

Joined: Jul 29, 2008
Posts: 3216
    
  49

"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: 16236
    
  21

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
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?