#!/usr/sbin/dtrace -qs
BEGIN
{
/*
header code coming
strings
*/
printf( "%12s %12s %12s\n", "Processes", "Threads", "Freemem" );
}
tick-3sec
{
/*
updating info lines coming
kvals in decimal numbers and free memory in bytes
*/
printf( "%12d %12d %12d\n", `nproc,`nthread,`freemem*8 );
}
Tuesday, December 18, 2007
Solaris 10 Kernel parameters with Dtrace
Posted by wihok at 3:42 PM
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment