tst.gid.d revision 302408
1236099Sdes#!/usr/sbin/dtrace -s 2236099Sdes 3236099Sdes/* 4236099Sdes * CDDL HEADER START 5236099Sdes * 6236099Sdes * The contents of this file are subject to the terms of the 7236099Sdes * Common Development and Distribution License (the "License"). 8236099Sdes * You may not use this file except in compliance with the License. 9255376Sdes * 10236099Sdes * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 11236099Sdes * or http://www.opensolaris.org/os/licensing. 12236099Sdes * See the License for the specific language governing permissions 13236099Sdes * and limitations under the License. 14236099Sdes * 15236099Sdes * When distributing Covered Code, include this CDDL HEADER in each 16236099Sdes * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 17236099Sdes * If applicable, add the following below this CDDL HEADER, with the 18236099Sdes * fields enclosed by brackets "[]" replaced with your own identifying 19236099Sdes * information: Portions Copyright [yyyy] [name of copyright owner] 20236099Sdes * 21236099Sdes * CDDL HEADER END 22236099Sdes */ 23236099Sdes 24236099Sdes/* 25236099Sdes * Copyright 2006 Sun Microsystems, Inc. All rights reserved. 26236099Sdes * Use is subject to license terms. 27236099Sdes */ 28236099Sdes 29255376Sdes#pragma ident "%Z%%M% %I% %E% SMI" 30236099Sdes 31236099Sdes/* 32236099Sdes * ASSERTION: 33236099Sdes * Script which prints group id. 34236099Sdes * 35236099Sdes * SECTION: Scripting 36236099Sdes * 37236099Sdes */ 38236099Sdes 39236099SdesBEGIN 40236099Sdes{ 41236099Sdes printf("The gid is %d\n", $gid); 42236099Sdes exit(0); 43236099Sdes} 44236099Sdes