HPE GreenLake Administration
- Community Home
 - >
 - Servers and Operating Systems
 - >
 - Operating Systems
 - >
 - Operating System - HP-UX
 - >
 - runq-sz not reporting in whole numbers with one cp...
 
Operating System - HP-UX
        1840133
        Members
    
    
        1860
        Online
    
    
        110161
        Solutions
    
Forums
        Categories
Company
Local Language
                
                  
                  back
                
        
                
        
                
        
                
        
        
        
                
        
                
        
        
        
                
        
              
              Forums
Discussions
Forums
- Data Protection and Retention
 - Entry Storage Systems
 - Legacy
 - Midrange and Enterprise Storage
 - Storage Networking
 - HPE Nimble Storage
 
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
                
                  
                  back
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
                
            
            
                
            
                
            
                
            
                
            
            
                
            
                
            
            
                
            
                
              
            Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
 - Appliance Servers
 - Alpha Servers
 - BackOffice Products
 - Internet Products
 - HPE 9000 and HPE e3000 Servers
 - Networking
 - Netservers
 - Secure OS Software for Linux
 - Server Management (Insight Manager 7)
 - Windows Server 2003
 - Operating System - Tru64 Unix
 - ProLiant Deployment and Provisioning
 - Linux-Based Community / Regional
 - Microsoft System Center Integration
 
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
        Information
        Community
Resources
Community Language
        Language
        Forums
Blogs
	
		
			
            
                
            Go to solution
        
            
		
		
			
            	
	
		
        
		
	
	
		Topic Options
			
				
					
	
			
		
	- Subscribe to RSS Feed
 - Mark Topic as New
 - Mark Topic as Read
 - Float this Topic for Current User
 - Bookmark
 - Subscribe
 - Printer Friendly Page
 
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
09-06-2002 08:42 AM
09-06-2002 08:42 AM
			
				
					
					
						10.20
E-Box
1 CPU
I have question regarding the output in the runq-sz column of the sar -q command.
In my mind I believe a system with only one CPU should only report whole numbers in the runq-sz column. Why? Because any whole number devided by one should be that number. The only thing that may change this is if there is a one and half process. Aren't you either a process or not a process?
Please look at this output:
@ccchpcis::root_ /> sar -qM 5 10
HP-UX ccchpcis B.10.20 E 9000/806 09/06/02
11:19:02 runq-sz %runocc swpq-sz %swpocc
11:19:07 1.0 20 0.0 0
11:19:12 2.0 20 0.0 0
11:19:17 0.0 0 0.0 0
11:19:22 1.7 60 0.0 0
11:19:27 0.0 0 0.0 0
11:19:32 1.0 60 0.0 0
11:19:37 1.7 60 0.0 0
11:19:42 0.0 0 0.0 0
11:19:47 1.5 40 0.0 0
11:19:52 1.0 20 0.0 0
Average 1.4 28 0.0 0
@ccchpcis::root_ />
If you read the man page on sar -q runq-sz it states, "Average length of the run queue(s) of processes in memory and runable.
Because it states average, I could understand non-whole numbers on a multiple CPU system (IE--3CPUs--1st with 2proc in queue 2nd with 5 proc in queue and 3rd with 3proc in queue-----10 divided by 3= 3.3), but not on a single CPU system.
Am I on to anything here?? Any insight would be appreciate.
Thanks
Kirk Reindl
	
			
				
		
			
			
			
			
			
			
		
		
		
	
	
	
E-Box
1 CPU
I have question regarding the output in the runq-sz column of the sar -q command.
In my mind I believe a system with only one CPU should only report whole numbers in the runq-sz column. Why? Because any whole number devided by one should be that number. The only thing that may change this is if there is a one and half process. Aren't you either a process or not a process?
Please look at this output:
@ccchpcis::root_ /> sar -qM 5 10
HP-UX ccchpcis B.10.20 E 9000/806 09/06/02
11:19:02 runq-sz %runocc swpq-sz %swpocc
11:19:07 1.0 20 0.0 0
11:19:12 2.0 20 0.0 0
11:19:17 0.0 0 0.0 0
11:19:22 1.7 60 0.0 0
11:19:27 0.0 0 0.0 0
11:19:32 1.0 60 0.0 0
11:19:37 1.7 60 0.0 0
11:19:42 0.0 0 0.0 0
11:19:47 1.5 40 0.0 0
11:19:52 1.0 20 0.0 0
Average 1.4 28 0.0 0
@ccchpcis::root_ />
If you read the man page on sar -q runq-sz it states, "Average length of the run queue(s) of processes in memory and runable.
Because it states average, I could understand non-whole numbers on a multiple CPU system (IE--3CPUs--1st with 2proc in queue 2nd with 5 proc in queue and 3rd with 3proc in queue-----10 divided by 3= 3.3), but not on a single CPU system.
Am I on to anything here?? Any insight would be appreciate.
Thanks
Kirk Reindl
Solved! Go to Solution.
		2 REPLIES 2
	
	            
            
		
		
			
            
                - Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
09-06-2002 08:58 AM
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
09-06-2002 11:31 AM
09-06-2002 11:31 AM
			
				
					
						
							Re: runq-sz not reporting in whole numbers with one cpu
						
					
					
				
			
		
	
			
	
	
	
	
	
			
				
					
					
						Kirk, 
It's the result of statistical averaging. The only way you would always get a whole number every time, even on a single processor machine, is if the sum of all the datapoints is always evenly divisible by the number of those datapoints. The probability of this occurring (those damned sadistics again...^o^) is so small as to be statistically insignificant. Hope this helps.
Keith
		
		
	
	
	
It's the result of statistical averaging. The only way you would always get a whole number every time, even on a single processor machine, is if the sum of all the datapoints is always evenly divisible by the number of those datapoints. The probability of this occurring (those damned sadistics again...^o^) is so small as to be statistically insignificant. Hope this helps.
Keith
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
		
	
	
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP