search for: kstat

Displaying 20 results from an estimated 67 matches for "kstat".

Did you mean: stat
2006 Dec 13
11
tcptop fail to run
Hello all, i''m trying to run the tool tcptop from the dtracetoolkit but it fails. I got the following error: tcptop -C 30 dtrace: failed to compile script /dev/fd/11: "usr/include/sys/kstat.h", line 439: invalid type combination I let it run on different machines on a Ultra 45 and a E20K both with Solaris 10 same result. any ideas? best regards Jens This message posted from opensolaris.org
2009 Nov 13
2
xend:default won''t start due to /usr/bin/kstat not locating autosplit.ix
...  File "/usr/lib/python2.4/site-packages/xen/web/connection.py", line 89, in __init__   File "/usr/lib/python2.4/site-packages/xen/web/tcp.py", line 49, in createSocket   File "", line 1, in bind error: (125, ''Address already in use'') $ /usr/bin/kstat -p -c misc -m cpu_info Can''t locate auto/I18N/Langinfo/autosplit.ix in @INC (@INC contains: /usr/perl5/5.8.4/lib/i86pc-solaris-64int /usr/perl5/5.8.4/lib /usr/perl5/site_perl/5.8.4/i86pc-solaris-64int /usr/perl5/site_perl/5.8.4 /usr/perl5/site_perl /usr/perl5/vendor_perl/5.8.4/i86pc-solar...
2008 Jul 05
4
iostat and monitoring
Hi gurus, I like zpool iostat and I like system monitoring, so I setup a script within sma to let me get the zpool iostat figures through snmp. The problem is that as zpool iostat is only run once for each snmp query, it always reports a static set of figures, like so: root at exodus:snmp # zpool iostat -v capacity operations bandwidth pool used avail read
2009 Feb 12
11
UV fastpath after Crossbow
...9;'t work if UV fastpath is enabled. Since the link usage data are collected based on the statistics of the mac_client_impl_t, and UV fastpath skips the GLDv3 processing, that won''t be available. I don''t see a solution for this except to document this restriction. 2. VLAN kstats won''t work. If we enable UV fastpath over VLANs, packets would go directly between the lower VLAN stream and the IP stream over softmac, the VNIC (vlan) kstats won''t be updated. This could be work around by changing vnic_m_stat() function, to add up the legacy VLAN kstat (e....
2008 Aug 20
9
ARCSTAT Kstat Definitions
Would someone "in the know" be willing to write up (preferably blog) definitive definitions/explanations of all the arcstats provided via kstat? I''m struggling with proper interpretation of certain values, namely "p", "memory_throttle_count", and the mru/mfu+ghost hit vs demand/prefetch hit counters. I think I''ve got it figured out, but I''d really like expert clarification before I start twe...
2006 Oct 31
0
6359607 kstat perl module compiled with gcc breaks on x86
Author: raf Repository: /hg/zfs-crypto/gate Revision: 594dc4b768c2510dd5d22f0a22b773dec0b3a19f Log message: 6359607 kstat perl module compiled with gcc breaks on x86 6359795 lpstat dumps core when compiled with gcc Files: update: usr/src/cmd/lp/Makefile.lp update: usr/src/cmd/lp/cmd/lpadmin/Makefile
2006 Oct 31
0
6360247 blockenabled interrupts do not set up kstats properly on x86
Author: schwartz Repository: /hg/zfs-crypto/gate Revision: f9d6f54eaeec11f6a2776d3642e4731caeaa91fe Log message: 6360247 blockenabled interrupts do not set up kstats properly on x86 Files: update: usr/src/cmd/intrd/intrd.pl update: usr/src/uts/i86pc/io/pci/pci_common.c update: usr/src/uts/i86pc/io/pci/pci_kstats.c update: usr/src/uts/i86pc/io/pcplusmp/apic_introp.c update: usr/src/uts/sun4/io/px/px_intr.c update: usr/src/uts/sun4u/io/pci/pci_intr.c
2008 Nov 22
5
xvm start xend won''t work
...ckages/xen/xend/XendNode.py", line 635, in instance File "/usr/lib/python2.4/site-packages/xen/xend/XendNode.py", line 92, in __init__ File "/usr/lib/python2.4/vendor-packages/xen/xend/osdep.py", line 140, in _solaris_get_cpuinfo (module, cpunum, combo, namevalue) = kstatline.split (":") ValueError: need more than 3 values to unpack [2008-11-22 10:59:00 579] INFO (SrvDaemon:334) Xend Daemon started [2008-11-22 10:59:00 579] INFO (SrvDaemon:338) Xend changeset: Mon Oct 13 22:14:51 2008 -0700 15904:94bd0a643efe. [2008-11-22 10:59:00 579] INFO (SrvDaemon:345)...
2009 Mar 10
40
dlstat for data link statistics
(Bcc''ed to networking discuss). Hi All, Have enclosed man page draft for dlstat(1M) herewith. This is part of the effort to gain better visibility into network traffic in light of crossbow features like virtual NICs, interrupt vs. polling modes etc. This in turn would greatly assist network performance analysis. It is also aimed at segregating link/flow configuration from
2008 Mar 27
3
kernel memory and zfs
We have a 32 GB RAM server running about 14 zones. There are multiple databases, application servers, web servers, and ftp servers running in the various zones. I understand that using ZFS will increase kernel memory usage, however I am a bit concerned at this point. root at servername:~/zonecfg #mdb -k Loading modules: [ unix krtld genunix specfs dtrace uppc pcplusmp ufs md mpt ip indmux ptm
2010 Feb 20
6
l2arc current usage (population size)
Hello, How do you tell how much of your l2arc is populated? I''ve been looking for a while now, can''t seem to find it. Must be easy, as this blog entry shows it over time: http://blogs.sun.com/brendan/entry/l2arc_screenshots And follow up, can you tell how much of each data set is in the arc or l2arc? -- This message posted from opensolaris.org
2007 Jan 10
2
[DTrace] using C preprocessor in dtrace scripts
...failed to compile script ./strrput.d: line 7: > sd_vnode is not a member of struct stdata > # > > sd_vnode is definitely a member, so I tried using #define > _KERNEL in the script, and then I get an error: > dtrace: failed to compile script ./strrput.d: > "/usr/include/sys/kstat.h", line 439: invalid type combination Checking line 439 of that file... 423 typedef struct kstat_named { 424 char name[KSTAT_STRLEN]; /* name of counter */ 425 uchar_t data_type; /* data type */ 426 union { 427 char c[16]; /* enough for...
2009 May 06
12
Monitoring ZFS host memory use
Hi, Please forgive me if my searching-fu has failed me in this case, but I''ve been unable to find any information on how people are going about monitoring and alerting regarding memory usage on Solaris hosts using ZFS. The problem is not that the ZFS ARC is using up the memory, but that the script Nagios is using to check memory usage simply sees, say 96% RAM used, and alerts. The
2011 Feb 03
1
ZFS Write Performance Issues
We seem to be having write issues with zfs, does anyone see anything in the following: bash-3.00# kstat -p -n arcstats zfs:0:arcstats:c 655251456 zfs:0:arcstats:c_max 5242011648 zfs:0:arcstats:c_min 655251456 zfs:0:arcstats:class misc zfs:0:arcstats:crtime 5699201.4918501 zfs:0:arcstats:data_size 331404288 zfs:0:arcstats:deleted 408216 zfs:0:arcstats:demand_data_hits 4316945...
2006 Apr 06
4
Why is my kernel eating my memory
Can someone, more learned in the ways of dtrace point me at what to look at to help understand why the kernel on one machine is using tons of memory, while another machine doing the same task/same user load is not. swapinfo for the "afflicted" machine shows RAM _______Total 16384 Mb RAM Unusable 73 Mb RAM Kernel 9226 Mb RAM Locked 2 Mb RAM Used
2008 Jan 17
1
Under DTrace USDT and PID, kernel''s microstat accounting doesn''t work in this situation, doesn''t it?
...ide the loop, it will do some > mathematical opertaions and call function callee(), then go to the next > loop. > I install a alarm(30) in the program. It means it will stop after running > 30 seconds. > Before calling alarm(30), at the beginning of the main body, it will use > libkstat to read kstat-cpu-sys record first. > After the alarm signal raised, in the signal handler, it will re-read the > kstat-cpu-sys record, and show the difference in this 30 seconds period. > > For example, following is output printed on the screen, > *30.00 secs, 0.00 events per secs &...
2006 Oct 31
0
6256581 System got a hang or a panic with dtrace+kmdb
...uantize() increments to be D expressions 6315033 add dtrace_addr2str()/dtrace_uaddr2str() to libdtrace API 6315034 add ucaller variable 6315035 enablings containing USDT probes are not dynamically reevaluated 6315037 cannot aggregate on the return value of some subroutines 6315039 including <sys/kstat.h> in a D script induces compile-time error 6315087 stack() not correctly printed for 32-bit consumers on amd64 kernel 6315975 flowindent should operate on any probe ending in "-entry"/"-return" 6317350 symbol tables should not be discarded for UNDEAD processes Files: updat...
2007 Apr 19
5
Available free memory.
Hi, Can I use DTrace to determine memory status? 1.Total Physical Memory, Used Memory. 2.Total Swap Space and Used Swap Space. I did find few DTrace scripts but had too much in them and I am unable to chop off unwanted lines of code due to lack of knowledge. It will be very helpful if some one can share the piece of code that serves my purpose as mentioned above. Regards, Ramesh. Ramesh
2009 Jan 30
1
RFE: parsable iostat and zpool layout
...o take a "-p" option to output parsable statistics with absolute counters/figures that for example could be fed to MRTG, RRD, et al. The "zpool iostat [-v] POOL 60 [N]" is great for humans but not very api-friendly; N=2 is a bit overkill and unreliable. Is this info available in kstat, or is this an RFE candidate? In Solaris10? Ditto for zpool status, a "-p" option and/or a zpool show|get layout [-p] or similar, would ease scripting and parsing of pool/vdev/disk configurations. Now parsing "zpool iostat -v [POOL]" with awk or perl seem like the easiest worka...
2007 Jan 10
0
[DTrace] %CPU, %Mem, %Disk and %Net by PID
G''Day Folks, Well, this one was my white whale. I now have a demonstration program that uses Perl, Kstat, /proc/*/usage, /proc/*/psinfo, and DTrace. The program itself is more of a prototype, I want to get serious about it and rewrite it in C. It currently has output like, # prustat -t5 -snet 10 PID %CPU %Mem %Disk %Net COMM 90 0.00 0.09 0.00 0.00 syseventd 443 0...