The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Top Forums > UNIX for Dummies Questions & Answers
Google UNIX.COM


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

More UNIX and Linux Forum Topics You Might Find Helpful
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

Closed Thread
 
Submit Tools LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 11-18-2003
Registered User
 

Join Date: Oct 2003
Location: Torres Novas, Portugal
Posts: 18
Question Date and Time of Process

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  
Old 11-18-2003
Perderabo's Avatar
Unix Daemon
 

Join Date: Aug 2001
Location: Washington DC Area
Posts: 8,667
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  
Old 11-18-2003
kduffin's Avatar
UN1X
 

Join Date: Nov 2003
Location: Virginia
Posts: 441
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
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes




All times are GMT -7. The time now is 08:46 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008. All Rights Reserved.Ad Management by RedTyger Visit The Complex Event Processing Blog

Content Relevant URLs by vBSEO 3.2.0