1N/A * threaded.d - sample multi-threaded CPU usage. 1N/A * Written using DTrace (Solaris 10 3/05). 1N/A * This measures thread IDs as a process runs across multiple CPUs. 1N/A * It is a simple script that can help determine if a multi-threaded 1N/A * application is effectively using it's threads, or if the threads have 1N/A * for a demonstration. 1N/A * $Id: threaded.d 3 2007-08-01 10:50:08Z brendan $ 1N/A * count number of samples 1N/A * SEE ALSO: prstat -L 1N/A * COPYRIGHT: Copyright (c) 2005 Brendan Gregg. 1N/A * The contents of this file are subject to the terms of the 1N/A * Common Development and Distribution License, Version 1.0 only 1N/A * (the "License"). You may not use this file except in compliance 1N/A * See the License for the specific language governing permissions 1N/A * and limitations under the License. 1N/A * Author: Brendan Gregg [Sydney, Australia] 1N/A * 25-Jul-2005 Brendan Gregg Created this. 1N/A * 25-Jul-2005 " " Last update. 1N/A * Sample at 100 Hertz 1N/A * Print output every 1 second