Displaying 20 results from an estimated 100 matches similar to: "Extending lwpsinfo_t with pr_lgrp for DTrace consumers"
2008 Feb 12
1
measuring sleep time in synchronization objects
Hi,
I am fairly new to DTrace, and wanted to ask something regarding
synchronization objects.
I have a multithreaded C++ program in which I use semaphores (POSIX version)
for synchronization. I was interested in using DTrace to figure out the
total time for which each thread in my application sleeps, blocked on a
semaphore, i.e., as a result of sem_wait() call. In order to measure this, I
2006 Nov 16
6
DTrace hooks for CPU caps
Hello DTracers,
The CPU caps project (http://www.opensolaris.org/os/project/rm/rctls/cpu-caps/)
introduces kernel "wait queues" where threads may be placed to enforce caps.
I would like to make this visible through DTrace and to add two new probes to
the sched provider with the following semantics:
cpucaps-sleep Probe that fires immediately before the current thread is
placed on a
2011 Jan 18
2
Surprise Thread Preemptions
Hi,
I would like to know about which threads will be preempted by which on my OpenSolaris machine.
Therefore, I ran a multithreaded program "myprogram" with 32 threads on my 24-core Solaris machine. I make sure that each thread of my program has same priority (priority zero), so that we can reduce priority inversions (saving preemptions -- system overhead). However, I ran the following
2013 Dec 06
1
adding AD domain users in local Linux group for acces to share
Hello,
It seems that domain user can access share when they are specified in "valid list" but not when
"valid list" use local group definition.
First if added the domain user "duser" to the group "lgroup" in /etc/group
Then i defined a samba share and add the domain user "duser in the "valid list"
[lgroup]
comment =
2010 May 04
2
sched provider
Hi All,
I used the following script from the dtrace manual to measure how long a particular process runs on the cpu. Modified it to look at the exact timestamps:
[i]
sched:::on-cpu
{
self->ts = timestamp;
printf("on=%d\n", self->ts)
}
sched:::off-cpu
/self->ts/
{
printf("off=%d\n", timestamp)
self->ts = 0;
}
[/i]
The output looks like this:
[i]on=24591
off=24603
2010 Feb 20
5
Dtrace starts very slowly on T5440
Hi all,
We just got a shiny new T5440, and one of the first things I noticed
(besides the insane number of hardware contexts), is that dtrace takes
30 seconds to a minute to fire up scripts with 5-6 probes, where our
T5220 usually takes under a second. Shutdown is similar, though slightly
faster.
This is mostly annoying because it takes so long to attach that it''s
hard to tell when
2006 Oct 31
0
6368850 curcpu->cpu_chip translator identifies cores on Niagara
Author: esaxe
Repository: /hg/zfs-crypto/gate
Revision: 11a61677ca608b7c304ffaf11bb21d67283c9cbd
Log message:
6368850 curcpu->cpu_chip translator identifies cores on Niagara
6331128 disp_getwork causing performance issues on lightly loaded systems
6375908 lgrp_choose() can be too eager to spread out a multi-threaded process
6378920 lgrpid_t rises from the grave
Files:
update:
2009 Sep 14
1
return from memset on mac osx
Does dtrace have a problem catching the return from memset on Mac OSX?
The script below catches the entry just fine but the return clause is
never entered.
Thanks, Joel
---
pid$target::memset:entry
/arg1 == 0/
{
self->size = arg2;
self->ts = timestamp;
self->vts = vtimestamp;
}
pid$target::memset:return
/self->size/
{
@ts = sum(timestamp - self->ts);
@vts =
2008 Oct 14
5
dtrace_kernel and privilege escalation
hey..
I talked to my sysadmins about getting access to the dtrace_kernel role, and they said they were hesitant to give this out because they thought it was a security risk - ie: that you could use it for privilege escalation.
How true is this? Is there a way to make it user safe? If not, why is it offered as an option for regular users?
Thanks much,
Ed
--
This message posted from
2005 Oct 31
11
Aggregation elements
Howdy,
Is there a method to get the number of elements in an aggregation? Are the
results stored in an aggregation guaranteed to be in any type of order?
Thanks for any insight,
- Ryan
--
UNIX Administrator
http://daemons.net/~matty
2007 Apr 27
6
User Privileges and Dtrace
Dear Experts,
My customer is migrating to Solaris 10 from Solaris 8 and have asked me to determine if: With Dtrace, is the user limited to probing only processes they own?
The customer has a general security requirement to control user access via management of privileges. Currently, on Solaris 8, LDAP is strongly while RBAC is weakly applied. This will likely change in the Solaris 10 production
2008 May 16
2
how can we use libdtrace within the DTrace security restrictions?
Hi all,
What is the correct way to give one non-root user the ability to use
DTrace with providers running in a process by another user?
Through the Web Stack project and some work by Ludovic Champenois and
Nasser Nouri, we have done a bit of work to bring together parts of
chime, the Web Stack Apache, Ruby and PHP providers, and stuff reused
from the DTrace toolkit. It''s in
2009 Jun 24
3
fully virt Xen DomU network question
Hello all fellow CentOS users!
I have a working xen setup with 3 paravirt domUs and one Windblows 2003
fully virt domU.
There are to virtual networks.
As far as I can tell in the paravirt Linux DomUs I have gigabit
networking, but not in the fully virt Windows 2003 domU....
Is there a setting for this, or is it not yet supported?
I run xen-3.0.3-64.el5_2.3
Kind regards,
Coert
2008 Sep 30
12
dtrace missing ''unlinkat''? showing process stack?
everyone,
Just out of curiosity, I did a
dtrace -n ''syscall:::entry { @num[execname, probefunc] = count(); }''
and looked at the entries produced by ''rm''.
I see everything that rm did, *except* the unlinkat - which is unfortunate because I want to trace which processes have deleted which files.
So - does dtrace contain unlinkat as a probe for a system call?
2010 May 10
8
mail server best practices question
Hello all,
About a year ago I set up a mail server on CentOS using this howto:
http://wanderingbarque.com/howtos/mailserver/mailserver.html
I managed to add amavisd-new with clamav and spamassassin.
It runs very well, but it runs on CentOS 5.2, and if I try to upgrade,
amavisd-new and clamav break.
we are now also at the point where a backup mx will need to be implemented.
If necessary I am
2009 Jun 17
1
Xen with multiple virtual network interfaces with one bond
Hello all,
I have been running xen for a while now with two interfaces:
dummy0 for host only communication, and
eth0 for the outside network.
my script looks like this: (/etc/xen/scripts/network-bridge-more)
------------------------------------------------------------------
#! /bin/sh
dir=$(dirname "$0")
"$dir/network-bridge" "$@" vifnum=0 netdev=dummy0
2009 Jul 21
1
Windows on Xen rant....
Hello all,
Windows.........................
I have installed a Windows Server 2003 fully virt domU with the GPLPV
drivers.
The network settings reset on every restart of the domU. Weird STOP
errors keep popping up....
Was I naive to think you can run a Windows server on Xen?
Are any of you guys doing it successfully?
Am I better of just installing windows server 2k3 on bare hardware?
Just
2009 Aug 20
1
drbd xen question
Hello all,
I am running drbd protocol A to a secondary machine to have 'backups' of
my xen domUs.
Is it necessary to change the xen domains configs to use /dev/drbd*
instead of the LVM volume that drbd mirrors, and which the xen domU runs
of?
regards,
Coert
2016 Aug 06
1
winbind use default domain change impact on ACLs?
Hello all!
I have a samba server as a member of a domain with trust relationships
to two other domains.
Samba is configured with:
winbind use default domain = yes
winbind separator = +
so the domain samba is member of does not use the seperator, but the
other 2 domains do.
If I change this to winbind use default domain = no ,will I have to
update all the ACLs on the filesystem to include
2009 Jul 13
2
raid 1 disks upgrade
Hello all,
I have a machine with 2 SATA 250GB disks which I want to upgrade to 1TB
SATAs
This is the partition structure on both disks:
Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 25 200781 fd