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 05: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 11:23 AM
start process at assidned date and time gd2003 UNIX for Dummies Questions & Answers 6 01-21-2008 11:15 AM
how to run process in certain date and time naamas03 Shell Programming and Scripting 3 12-11-2006 03:49 AM
to get process start date and time naeem ahmad UNIX for Advanced & Expert Users 2 02-27-2006 05:09 AM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 11-18-2003
jorge.ferreira jorge.ferreira is offline
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,
  #2 (permalink)  
Old 11-18-2003
Perderabo's Avatar
Perderabo Perderabo is offline Forum Staff  
Unix Daemon
  
 

Join Date: Aug 2001
Location: Ashburn, Virginia
Posts: 9,127
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 (permalink)  
Old 11-18-2003
kduffin's Avatar
kduffin kduffin is offline Forum Advisor  
UN1X
  
 

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

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 05:58 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0