From owner-freebsd-dtrace@freebsd.org Thu Jun 25 19:07:06 2015 Return-Path: Delivered-To: freebsd-dtrace@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E1F4F98D9E9 for ; Thu, 25 Jun 2015 19:07:06 +0000 (UTC) (envelope-from abhya007@gmail.com) Received: from mail-pd0-x236.google.com (mail-pd0-x236.google.com [IPv6:2607:f8b0:400e:c02::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id B874F18AC; Thu, 25 Jun 2015 19:07:06 +0000 (UTC) (envelope-from abhya007@gmail.com) Received: by pdcu2 with SMTP id u2so59019192pdc.3; Thu, 25 Jun 2015 12:07:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=wu+Zdfz7mORbwFxQ2WR+mxdpUh1e2WgfGZJqRG2uXeU=; b=E5WSn6ZeanO9RVPwSP1LzHQAOD8EgavAfjnO6ZgV7Hgk8ZjXbHkIlkPx0c4YrmgBnn vMotuMKP5SH6/TLEMjX3v+81K+V5PZ7yaJaXdGzCWgnpCxLFDkKwze6tz3ZIpVN4a6kC sMp9u3eDORnmCJf/64i3IAtTqz91s+19OVVHYu/+rUPSDo3pDI4dqo/jlE8xLEXRhK7C 1og3leJ/ZLfoFBl4vRhhWcaa9XVkJRDy/L4S0j9WkHRGdIOrp/Cp5Kzrjs4fV3ZVfLOn 489S8FL6aLbui1rQjIawJ1yhKy6TX2JJo4YgoCzuc9rxjSRpUgDz966KwE+6V9rdK/Li Wv/A== MIME-Version: 1.0 X-Received: by 10.68.229.200 with SMTP id ss8mr2655354pbc.150.1435259226231; Thu, 25 Jun 2015 12:07:06 -0700 (PDT) Received: by 10.70.46.99 with HTTP; Thu, 25 Jun 2015 12:07:06 -0700 (PDT) Date: Thu, 25 Jun 2015 12:07:06 -0700 Message-ID: Subject: Regarding schedgraph.py From: abhishek kulkarni To: freebsd-dtrace@freebsd.org, rstone@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-dtrace@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "A discussion list for developers working on DTrace in FreeBSD." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Jun 2015 19:07:07 -0000 Hello All, I am using the schedgraph.py tool for plotting the data generated by schedgraph.d for FreeBSD. I am looking to add a feature to it wherein I need the epoch timestamp to be added to the CPU load graph.We can get the epoch timestamp from the Dtrace script using the Walltimestamp field. In schedgrap.py, the problem is that the parse function uses the regex expressions for each line. Could you suggest a regex expression for the walltimestamp that I could add to the code and also the method by which its value could be populated. Thanks and Regards Abhishek Kulkarni From owner-freebsd-dtrace@freebsd.org Fri Jun 26 23:35:27 2015 Return-Path: Delivered-To: freebsd-dtrace@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 8EEBB98CED9 for ; Fri, 26 Jun 2015 23:35:27 +0000 (UTC) (envelope-from abhya007@gmail.com) Received: from mail-pa0-x22a.google.com (mail-pa0-x22a.google.com [IPv6:2607:f8b0:400e:c03::22a]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5DE6D1145; Fri, 26 Jun 2015 23:35:27 +0000 (UTC) (envelope-from abhya007@gmail.com) Received: by pactm7 with SMTP id tm7so75350056pac.2; Fri, 26 Jun 2015 16:35:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=juPfcdASK9ht/gG/95R8FnBENjeulKAblcU8L0zb498=; b=xX/sloDbdkzVEhpnsJzVQe3V5r+WvbloI9k4XygWxER30ViSco7C8TIGCDKdu3zmKN doFBZAxe6/7VgztupceKfukDx4Zl3NOHUTOpdlahbGNcgxnFqVyhhs7RqWUEWmsAmce9 H1KqOzz6h+r8QetCiXuKJODLi4DQ/jjsKHVWfZE0IZ0Sqlzxrd+rFFQZwdYxCp/hMauc hAsrp0V5yxcPu5ClmSsHS56C9QJ3RhRxM1nAlwKl6rZOJFBFqD98kJSUZTwWihEYZnsb FVVCnhGEdRBl0Mn8jtvx0RpOPHalztNPn9D+ITNpYsd0ivc6z1RcoOC72wDp35fJNvZO J4SA== MIME-Version: 1.0 X-Received: by 10.68.218.103 with SMTP id pf7mr8029957pbc.32.1435361726730; Fri, 26 Jun 2015 16:35:26 -0700 (PDT) Received: by 10.70.46.99 with HTTP; Fri, 26 Jun 2015 16:35:26 -0700 (PDT) Date: Fri, 26 Jun 2015 16:35:26 -0700 Message-ID: Subject: regarding a query for the execsnoop script From: abhishek kulkarni To: freebsd-dtrace@freebsd.org, markj@freebsd.org Content-Type: text/plain; charset=UTF-8 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-dtrace@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "A discussion list for developers working on DTrace in FreeBSD." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Jun 2015 23:35:27 -0000 Hello All, I am trying to run the script execsnoop on FreeBSD. I need a patch for it that works for FreeBSD. Could you please provide me with one. Regards Abhishek Kulkarni From owner-freebsd-dtrace@freebsd.org Sat Jun 27 00:14:50 2015 Return-Path: Delivered-To: freebsd-dtrace@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6ADC698D6AC for ; Sat, 27 Jun 2015 00:14:50 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: from mail-pd0-x22c.google.com (mail-pd0-x22c.google.com [IPv6:2607:f8b0:400e:c02::22c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3A51712AA for ; Sat, 27 Jun 2015 00:14:50 +0000 (UTC) (envelope-from markjdb@gmail.com) Received: by pdbci14 with SMTP id ci14so83216887pdb.2 for ; Fri, 26 Jun 2015 17:14:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; bh=1v9VFCdjIgIB4M74wrotUyQykJf9vqfO3L/ElGPptK0=; b=ZHDrn2vvQ5p221OPeVJRIIlgokj/DwXmXkcQCN97zYR5XEabl5UpZFqEoQE325rguS y98OdQkoO4wGN8k0/4me67hsi7Bfm2e8yd0jgzWZlVXqzS9OMa+ktLnIsJYsmS3UpTAM Zj7MnZxQ+PCaFHt9QoLdettAm9jCE76ZJqBwone7oDH9pjPx5vKje7UbXglnMVF43HZP 5y2hZAOtKRQhvLYtnSCY+e15nftRre96pD/5chwfZBrZNK1gwUG9Rq82h1/47dTskeFU JfFKKvHOSbqzF+om6y+2K13s/HJ1O6hzBkiVLY4uDhAnqflIKY6JEJRdwCzLK/Bs23gJ EwMA== X-Received: by 10.66.249.1 with SMTP id yq1mr8047517pac.3.1435364089776; Fri, 26 Jun 2015 17:14:49 -0700 (PDT) Received: from muskytusk ([104.236.250.12]) by mx.google.com with ESMTPSA id ox6sm34567311pdb.25.2015.06.26.17.14.47 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 26 Jun 2015 17:14:48 -0700 (PDT) Sender: Mark Johnston Date: Sat, 27 Jun 2015 00:13:31 +0000 From: Mark Johnston To: abhishek kulkarni Cc: freebsd-dtrace@freebsd.org Subject: Re: regarding a query for the execsnoop script Message-ID: <20150627000228.GA48687@muskytusk> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: freebsd-dtrace@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "A discussion list for developers working on DTrace in FreeBSD." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 27 Jun 2015 00:14:50 -0000 On Fri, Jun 26, 2015 at 04:35:26PM -0700, abhishek kulkarni wrote: > Hello All, > > I am trying to run the script execsnoop on FreeBSD. I need a patch for it > that works for FreeBSD. Could you please provide me with one. The copy at cddl/contrib/dtracetoolkit/execsnoop works properly for me on FreeBSD head. What problems are you seeing?