Sponsored Content
Full Discussion: Svhptdaemon
Operating Systems HP-UX Svhptdaemon Post 302989054 by bbbngowc on Friday 6th of January 2017 02:03:47 PM
Old 01-06-2017
Quote:
Originally Posted by jim mcnamara
How do you attribute the 50% sys usage to that one process? That is for all processes is it not? BTW - when ANY process runs it spends time in kernel code (sys) when invoking a syscall, .e.g. open(). That means vmstat and sar would normally show a summed % sys for all processes system wide.

Doesn't mean that the daemon is or is not using most of that %.
My mistake. I was trying to say the same thing you just did. The usage is around 50%.
 
priocntlset(2)							System Calls Manual						    priocntlset(2)

NAME
priocntlset - change scheduling property of a process or set of processes SYNOPSIS
#include <sys/types.h> #include <sys/procset.h> #include <sys/priocntl.h> #include <sys/rtpriocntl.h> #include <sys/tspriocntl.h> int priocntlset( procset_t *psp, int cmd, void *arg ); PARAMETERS
Specifies a pointer to a structure. The type of structure depends on the value you select for the cmd parameter. Specifies the functions to be performed. Specifies a pointer to a procset structure. DESCRIPTION
This function is used to change the scheduling properties of a running process or group of processes. While the priocntl(2) function per- forms the same tasks, this function enables you to specify the process or set of processes that will change in a less complicated manner. How the process changes depends on the value you select for the cmd parameter. The value of the arg parameter is dependent on the value you select for the cmd parameter. See the priocntl function for detailed information on these parameters. The psp parameter enables you to identify the process or set of processes that is to be affected by this call. This parameter points to a procset.h structure which defines the selection process. In the <sys/procset.h>, a setprocset macro is defined that displays a means of initializing the procset structure. For more information on this structure, see the procset(4) reference page. RETURN VALUE
This system call returns the same values as the priocntl function. ERRORS
This system call returns the same errors as priocntl function. SEE ALSO
Functions: priocntl(2) Files: procset(4) priocntlset(2)
All times are GMT -4. The time now is 06:40 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy