stats


Name

stats — output CPU and memory usage for the RT process

Synopsis

Supported for RTserver, RTclient, and RTmon:

stats 

Description

The stats command causes the RT process to output CPU and memory usage about itself. It returns the accumulated CPU time in milliseconds since the last call to stats was made. It uses the standard C function times to calculate the CPU usage.

To get a realistic accounting, enter stats as the first command upon entering the RT process and then as needed to do the analysis.

Caution

The stats command reports the accumulated CPU time since the last time the command was issued.

See Also

None

Examples

PROMPT> stats 
Total accumulated CPU time: 0.583 seconds 
Total frames processed: 1 
Current sbrk address: 198592 
 
/* Execute some other commands here */ 
 
PROMPT> stats 
Total accumulated CPU time: 0.750 seconds 
Total frames processed: 13 
Current sbrk address: 198592 
Differences since last stats command: 
 CPU time, 0.167 seconds, wall time, 35.603 seconds 
 Frame count: 0, Frame rate: 0 frames per second 
 Sbrk address changed by 0 bytes. 

TIBCO SmartSockets™ User’s Guide
Software Release 6.8, July 2006
Copyright © TIBCO Software Inc. All rights reserved
www.tibco.com