1N/A * syscallbypid.d - report on syscalls by PID. 1N/A * Written using DTrace (Solaris 10 3/05) 1N/A * $Id: syscallbypid.d 3 2007-08-01 10:50:08Z brendan $ 1N/A * USAGE: syscallbypid.d # hit Ctrl-C to end sample 1N/A * SYSCALL syscall name 1N/A * COUNT number of syscalls for this PID 1N/A * This is based on a script from DExplorer. 1N/A * COPYRIGHT: Copyright (c) 2005, 2006 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 * 15-May-2005 Brendan Gregg Created this. 1N/A * 20-Apr-2006 " " Last update. 1N/A printf(
"%6s %-24s %-24s %8s\n",
"PID",
"CMD",
"SYSCALL",
"COUNT");