3

Possible Duplicate:
How to check how a long a program has been running?

I am interested in doing this purely using bash.

0

1 Answer 1

4

ps can fit your needs:

ps -eo pid,command,etime

To get information for a specific process:

ps -o command,etime -p PID

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.