![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Dummies Questions & Answers If you're not sure where to post a UNIX or Linux question, post it here. All UNIX and Linux newbies welcome !! |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Get date and time for past 1 hour from current date | spch2o | Shell Programming and Scripting | 5 | 08-29-2008 01:32 AM |
| Processing a log file based on date/time input and the date/time on the log file | primp | Shell Programming and Scripting | 4 | 03-16-2008 08:23 AM |
| start process at assidned date and time | gd2003 | UNIX for Dummies Questions & Answers | 6 | 01-21-2008 08:15 AM |
| how to run process in certain date and time | naamas03 | Shell Programming and Scripting | 3 | 12-11-2006 12:49 AM |
| to get process start date and time | naeem ahmad | UNIX for Advanced & Expert Users | 2 | 02-27-2006 02:09 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hello experts,
I would like to know if there's a way to know the date and time of a process. This is the cenarium: I've got a script (not made by me) that gives me the processes working and the possibility to kill witch one i want. Sometimes when the clients are working, their licences crash (in windows) what makes the UNIX licences to be hunged and then the only thing to do is to kill them. The problem is to kill the right licence. So if i had the Date and Time of the process i'd know witch one. Please help me,
__________________
Regards, Jorge Ferreira |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
ps can display the start time of a process. Do a "man ps".
Some versions of unix have a better way, but this varies from one version to another. |
|
#3
|
||||
|
||||
|
Some unix(s) have BSD and SysV variants of ps. Solaris for example has both /usr/bin/ps and /usr/ucb/ps.
It sounds like you have a larger issue and there may be a better way to address it. Are the client connections traversing unique sockets (ie IP/port pairs)? Cheers, Keith |
||||
| Google The UNIX and Linux Forums |