Sponsored Content
Operating Systems Linux Red Hat Dstat: column ---system---: what does int and csw mean. Post 302933379 by jlliagre on Thursday 29th of January 2015 03:27:32 PM
Old 01-29-2015
That's not "init" but "int" for interrupts. "csw" means "context switches"
 

7 More Discussions You Might Find Interesting

1. Programming

difference between int ** func() and int *& func()

What is the difference between int** func() and int*& func(). Can you please explain it with suitable example. Thanks, Devesh. (1 Reply)
Discussion started by: devesh
1 Replies

2. UNIX for Dummies Questions & Answers

int open(const char *pathname, int flags, mode_t mode) doubt...

hello everybody! I want to create a file with permissions for read, write, and execute to everybody using C, so I write this code: #include <stdio.h> #include <sys/types.h> #include <sys/stat.h> #include <fcntl.h> int main(){ int fileDescriptor; fileDescriptor =... (2 Replies)
Discussion started by: csnmgeek
2 Replies

3. Solaris

Solaris packages and .CSW files

Hello, I would like to know what are the *.CSW file for in a Solaris package or what is the "politic" of those files. I realized for example that when I install my package of Postfix, I have some postfix files created in /opt/csw/etc/postfix but some of them have the .CSW extension. This is... (0 Replies)
Discussion started by: Tex-Twil
0 Replies

4. UNIX for Dummies Questions & Answers

System date to a column

Hello, I would like to write a scrip which gives System Date for a column, is there any function I can use to print the System date. Thanks in Advance Regards, Mahesh (4 Replies)
Discussion started by: gmahesh2k
4 Replies

5. UNIX for Dummies Questions & Answers

Help needed with CUPS+gutenprint from CSW

Hello team. I have just migrated from Linux Arch to Solaris 11 (OpenSolaris 2008.05). My Epson Stylus Photo R800 worked wonderfully in Linux ... oh woe is me in Solaris. I cannot print. I get: lp: Unsupported format 'text/plain'! The R800 drivers are not in gimpprint so I had to... (1 Reply)
Discussion started by: keratos
1 Replies

6. Programming

Handle int listen(int sockfd, int backlog) in TCP

Hi, from the manual listen(2): listen for connections on socket - Linux man page It has a parameter called backlog and it limits the maximum length of queue of pending list. If I set backlog to 128, is it means no more than 128 packets can be handled by server? If I have three... (3 Replies)
Discussion started by: sehang
3 Replies

7. Linux

Dstat: column ---system---: what does int and csw mean.

Hello All It has been some time sense I was last here. Hopefully I have a few points left to get this question answered. I am finding that dstat is a really great tool, but does any one know what "init" and "csw" mean under the column --system--. I am not able to find anything in the man... (0 Replies)
Discussion started by: busi386
0 Replies
ddi_intr_get_nintrs(9F) 												   ddi_intr_get_nintrs(9F)

NAME
ddi_intr_get_nintrs, ddi_intr_get_navail - return number of interrupts supported or available for a given interrupt type SYNOPSIS
#include <sys/types.h> #include <sys/conf.h> #include <sys/ddi.h> #include <sys/sunddi.h> int ddi_intr_get_nintrs(dev_info_t *dip, int type, int *nintrsp); int ddi_intr_get_navail(dev_info_t *dip, int type, int *navailp); INTERFACE LEVEL
Solaris DDI specific (Solaris DDI). ddi_intr_get_nintrs() dip Pointer to dev_info structure type Interrupt type nintrsp Pointer to number of interrupts of the given type that are supported by the system ddi_intr_get_navail() dip Pointer to dev_info structure type Interrupt type navailp Pointer to number of interrupts of the given type that are currently available from the system The ddi_intr_get_nintrs() function returns the number of interrupts of the given type supported by a particular hardware device. On a suc- cessful return, the number of supported interrupts is returned as an integer pointed to by the nintrsp argument. If the hardware device is not found to support any interrupts of the given type, the DDI_INTR_NOTFOUND failure is returned rather than a zero in nintrsp. The ddi_intr_get_navail() function returns the number of interrupts of a given type that is available to a particular hardware device. On a successful return, the number of available interrupts is returned as an integer pointed to by navailp. The hardware device may support more than one interrupt and can request that all interrupts be allocated. The host software can then use policy-based decisions to determine how many interrupts are made available to the device. Based on the determination, a value is returned that should be used to allocate interrupts with the ddi_int_alloc() function. If the device participates in resource management, a call to ddi_intr_get_navail() tells the device driver the number of interrupts of the given type that should be used. The host software can then use a policy-based decision to determine the number of interrupts to be allowed to the device. If the number is more than the number of interrupts currently being used, the device driver can ask for more resources. If the number is less than the number of interrupts currently being used, the device driver should prepare to disable and free the extra interrupts. The number of interrupts currently available is always a snapshot in time and can change if the interface is called again. See ddi_intr_get_supported_types(9F) for a list of valid supported types for a given hardware device. The ddi_intr_get_supported_types() function must be called prior to calling either ddi_intr_get_nintrs() or ddi_intr_get_navail(). The ddi_intr_get_nintrs() and ddi_intr_get_navail() functions return: DDI_SUCCESS On success. DDI_EINVAL On encountering invalid input parameters. DDI_INTR_NOTFOUND On not finding any interrupts for the given interrupt type. DDI_FAILURE On any implementation specific failure. CONTEXT
The ddi_intr_get_nintrs() and ddi_intr_get_navail() functions can be called from either user or kernel non-interrupt context. See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Interface Stability |Evolving | +-----------------------------+-----------------------------+ attributes(5), ddi_intr_alloc(9F), ddi_intr_enable(9F), ddi_intr_get_supported_types(9F) The ddi_intr_get_nintrs() and ddi_intr_get_navail() functions can be called at any time, even if the driver has added an interrupt handler for a given interrupt specification. Consumers of these interfaces should verify that the return value is not equal to DDI_SUCCESS. Incomplete checking for failure codes could result in inconsistent behavior among platforms. 07 Apr 2005 ddi_intr_get_nintrs(9F)
All times are GMT -4. The time now is 03:42 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy