[dtrace-discuss] dtrace and cron - how to get qp-nrun?

2008-07-11 Thread Piotr Wolak
Hi I would like to see how the number of concurrent jobs in cron queue changes. I have located the piece of code I would be interested in: http://cvs.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/cmd/cron/cron.c#2057 Can you please tell me how could I get the current value of qp-nrun? I

Re: [dtrace-discuss] simple translator

2008-07-11 Thread Nigel S
Thanks Mike and neuron, both of your suggestions worked out. Following Mike's suggestion, this is what worked : pid$target::setdata:return { printf(\nit is %i ,(xlate student_t * (((student_t *)arg2)))-age); } (added just in case anyone else is curious to see the solution ) --

[dtrace-discuss] fdsync takes looong

2008-07-11 Thread Paul van den Bogaard
Running a PostgreSQL database and trying to understand the bottleneck in my setup. I now know there is a fdsync being issued to a database file. This one takes up to 10 seconds. The problem here is that all the other processes are entering a wait state (this is in postgres itself. The syncing

Re: [dtrace-discuss] About memory usage by a specific process

2008-07-11 Thread Jim Mauro
prstat -s rss The RSS column is the resident set size, or roughly the amount of memory being used be the process. The -s rss tells prstat to sort based on rss size. HTH, /jim YOUNSI RIADH wrote: *Hi * *Using vmstat I noticed that free memory is getting lower during a certain period of

Re: [dtrace-discuss] hangs when doing open /pro/pid/psinfo

2008-07-11 Thread Adam Leventhal
I've seen this when NFS servers are down. If you end up rebooting, do a reboot -d to capture a crash dump for analysis. Adam On Fri, Jul 11, 2008 at 11:29:55AM -0700, Anil Jangity wrote: I got a system that is hung, unable to do most unix commands like ps/who etc... I did: dtrace -c