Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to use the konsole 'time <process>' command within the tk script

Status
Not open for further replies.

RajVerma

Programmer
Jun 11, 2003
62
DE
hi,

I want to use the time command of linux konsole from my tk script. my aim is to get the process time of a particular process that I run from my tk script. the problem of using the time command of tcl/tk compiler is that it will give only the elapsed real time but not the actual process time.

on the other hand, we can get the actual process time of a particular process with the 'time <process>' command of Linux console. so does anyone have any idea of using the konsole time command within the tk script.

thnx in adv,
Raj.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top